Browse Source

BUG修改

master
rui_li 5 years ago
parent
commit
95e69f4f64
  1. 9
      src/views/modules/yieldReport/com_merge_roll.vue

9
src/views/modules/yieldReport/com_merge_roll.vue

@ -131,6 +131,7 @@ export default {
this.pageData.operatorId = operatorData.operatorId; this.pageData.operatorId = operatorData.operatorId;
this.pageData.newRollNo = ''; this.pageData.newRollNo = '';
this.pageData.newRollQty = 0; this.pageData.newRollQty = 0;
this.pageData.totalQty = 0;
//执行获取页面参数的功能 //执行获取页面参数的功能
this.refreshPageData(); this.refreshPageData();
//自动获取焦点 //自动获取焦点
@ -201,7 +202,13 @@ export default {
this.pageData.newRollQty = 0;//重新赋值 this.pageData.newRollQty = 0;//重新赋值
return false; return false;
} }
debugger;
//判断卷号是否相同
if (this.pageData.rollNo === this.pageData.newRollNo) {
this.$message.error('相同卷号无法合并!');
this.pageData.newRollNo = '';
return false;
}
let requestData = { let requestData = {
'site': this.pageData.site, 'site': this.pageData.site,
'orderNo': this.pageData.orderNo, 'orderNo': this.pageData.orderNo,

Loading…
Cancel
Save