控制台信息去除

yangwl
wws 1 year ago
parent 647a6b6108
commit 4497c32128

@ -765,7 +765,6 @@ export default {
// -
resetMaterielQuery() {
// TODO
console.log("进行了物料重置")
},
// -
handleImport() {
@ -867,7 +866,6 @@ export default {
},
// -
changeRoute(routeCode) {
console.log("点击了拆分-选择工艺")
//
getProEquipment(routeCode).then(response => {
this.eRouteOptions = response.data

@ -537,8 +537,6 @@ export default {
})
return
}
console.log("这里是物料信息");
console.log(this.materiel[0]);
this.form.productId = this.materiel[0].productId;
this.form.prodCode = this.materiel[0].productCode;
this.form.prodDesc = this.materiel[0].productDescZh;
@ -682,8 +680,6 @@ export default {
shiftId: this.selectList[0].shiftId
}
if (this.bmsList != null || this.bmsList === undefined) {
console.log("这里this.bmsList")
console.log(this.bmsList)
for (let i = 0; i < this.bmsList.length; i++) {
if (bms.shiftId == this.bmsList[i].shiftId && bms.bucketId == this.bmsList[i].bucketId && bms.materialId != this.bmsList[i].materialId) {
this.$message({
@ -698,8 +694,6 @@ export default {
//
//
var bucket
console.log("这里this.selectBucketList")
console.log(this.selectBucketList)
for (let i = 0; i < this.selectBucketList.length; i++) {
if (this.form.bucketId == this.selectBucketList[i].bucketId) {
bucket = this.selectBucketList[i]
@ -707,8 +701,6 @@ export default {
}
//
var material
console.log("这里this.selectProductList")
console.log(this.selectProductList)
for (let i = 0; i < this.selectProductList.length; i++) {
if (this.form.productId == this.selectProductList[i].productId) {
material = this.selectProductList[i]
@ -896,8 +888,6 @@ export default {
getBMSList(productDate).then(response => {
if (response.data !== undefined) {
this.bmsList = response.data
console.log("级联信息")
console.log(this.bmsList)
}
})
//

@ -878,7 +878,6 @@ export default {
// -
changeRoute(routeCode) {
console.log("点击了拆分-选择工艺")
//
getProEquipment(routeCode).then(response => {
this.eRouteOptions = response.data
@ -924,7 +923,6 @@ export default {
},
// -
handleUpdate(row) {
console.log("点击了拆分按钮")
//
//
@ -948,12 +946,9 @@ export default {
// 3.
// 4.
getSplitInfo(row).then(response => {
console.log(response.data)
this.workShift = response.data.proShiftList;
this.routes = response.data.routeList;
console.log("工艺list")
console.log(this.routes)
this.splitData = response.data.proOrderWorkorderList;
this.productData.push(response.data.proOrderList[0]);
@ -978,11 +973,9 @@ export default {
},
// -
handleImport() {
console.log("点击了导入按钮")
},
//
handleExport() {
console.log("点击了导出")
this.download('/plan/whiteOrder/export', {
...this.queryParams
}, `whiteOrder_${new Date().getTime()}.xlsx`)
@ -1003,7 +996,6 @@ export default {
},
// --
subMateriel() {
console.log("点击了物料-确定")
if (this.selectMaterielList.length < 1) {
this.$message({
message: '至少选择一个物料!',
@ -1011,7 +1003,6 @@ export default {
})
return
}
console.log(this.form.prodCode == '')
// if(this.form.prodCode == '' ){
// this.selectMaterielListtag = this.selectMaterielList
// }
@ -1041,8 +1032,6 @@ export default {
},
// -
handleSelectionChange(select) {
console.log("选择物料")
console.log(select)
this.selectMaterielList = select;
},
// -list
@ -1057,13 +1046,11 @@ export default {
},
// -
handleMaterielQuery() {
console.log("点击了物料搜索按钮")
this.materielQueryParams.pageNum = 1;
this.getMaterielList();
},
// -
changeCarNum(num) {
console.log("车数数量改变")
//
if (this.splitForm.splitNum == null) {
this.$message({
@ -1092,7 +1079,6 @@ export default {
},
// -
addQuantity(num) {
console.log("订单数量改变")
//
if (num <= 0) {
this.$message({
@ -1104,7 +1090,6 @@ export default {
},
// -
selectMateriel() {
console.log("点击了选择物料");
this.materielQueryParams = {
productCode: undefined,
productDescZh: '白坯',
@ -1115,7 +1100,6 @@ export default {
},
// -
handleAdd(row) {
console.log("点击了新增按钮");
// TODO
this.materielQueryParams = {
productCode: null,
@ -1136,7 +1120,6 @@ export default {
},
// -
submitForm() {
console.log("点击了提交按钮",this.form);
//
if (this.form.prodCode == '') {
this.$message({

@ -612,8 +612,6 @@ export default {
methods: {
// -
changeCarNum(num) {
console.log("车数数量改变")
console.log(num)
//
if (this.splitForm.splitNum == null) {
@ -630,8 +628,6 @@ export default {
message: '车数不能超过拆分数量!',
type: 'warning'
})
console.log("拆分数量")
console.log(this.splitForm.splitNum)
num = this.splitForm.splitNum
this.splitForm.carNum = num;
}
@ -811,7 +807,6 @@ export default {
},
// -
splitNumChange(e) {
console.log(this.productData)
//
if (e <= 0) {
e = 1
@ -819,7 +814,6 @@ export default {
}
//
if (this.productData[0].prodType != 'white') {
console.log("成品逻辑")
//
let max = Number(this.productData[0].quantity) - Number(this.productData[0].quantitySplit)
//
@ -860,7 +854,6 @@ export default {
}
//
if (this.productData[0].prodType == 'white') {
console.log("白坯逻辑")
//
let max = Number(this.productData[0].quantity) - Number(this.productData[0].quantitySplit)
//

Loading…
Cancel
Save