Browse Source

0412 新看板

master
ruanqi 3 years ago
parent
commit
ed9ab5e901
  1. 4
      src/views/modules/production/scheduleForSOTask.vue
  2. 3
      src/views/modules/production/scheduleForShopOrder.vue

4
src/views/modules/production/scheduleForSOTask.vue

@ -631,9 +631,10 @@
}else { }else {
data.weight=Math.round( data.scheduleQty*this.schedulingModalData.weightFactor) data.weight=Math.round( data.scheduleQty*this.schedulingModalData.weightFactor)
} }
} }
this.schedulingModalTableData.push(data) this.schedulingModalTableData.push(data)
this.sumQty += this.schedulingModalData.scheduleQty
this.changeSum ();
}, },
changeSum () { changeSum () {
let sum = 0 let sum = 0
@ -718,6 +719,7 @@
flag=true; flag=true;
} }
} }
if(flag){ if(flag){
this.$confirm(`派工日期不是排产日期,是否继续`, '提示', { this.$confirm(`派工日期不是排产日期,是否继续`, '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',

3
src/views/modules/production/scheduleForShopOrder.vue

@ -700,9 +700,10 @@
}else { }else {
data.weight=Math.round( data.scheduleQty*this.schedulingModalData.weightFactor) data.weight=Math.round( data.scheduleQty*this.schedulingModalData.weightFactor)
} }
} }
this.schedulingModalTableData.push(data) this.schedulingModalTableData.push(data)
this.sumQty += this.schedulingModalData.scheduleQty
this.changeSum ();
}, },
changeSum () { changeSum () {
let sum = 0 let sum = 0

Loading…
Cancel
Save