diff --git a/src/views/plan/order/index.vue b/src/views/plan/order/index.vue index f5e7367..d4ed8eb 100644 --- a/src/views/plan/order/index.vue +++ b/src/views/plan/order/index.vue @@ -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 diff --git a/src/views/plan/plan/index.vue b/src/views/plan/plan/index.vue index 7aef716..50d2e09 100644 --- a/src/views/plan/plan/index.vue +++ b/src/views/plan/plan/index.vue @@ -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) } }) // 一会完成下方数据同步 diff --git a/src/views/plan/whiteOrder/index.vue b/src/views/plan/whiteOrder/index.vue index 222640c..87a36ef 100644 --- a/src/views/plan/whiteOrder/index.vue +++ b/src/views/plan/whiteOrder/index.vue @@ -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({ diff --git a/src/views/plan/workorder/index.vue b/src/views/plan/workorder/index.vue index 5aeae24..8d07da4 100644 --- a/src/views/plan/workorder/index.vue +++ b/src/views/plan/workorder/index.vue @@ -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) // 超过最大值,给用户提醒