Browse Source

修改发料提示

pda_nev
李俊城 10 months ago
parent
commit
7d81c4a941
  1. 3
      fe/PDA/pages/return/purchaseReturnRequestApprove_detail.vue
  2. 14
      fe/PDA/pages/task/assembleIssueJobDetailByQty.vue
  3. 18
      fe/PDA/pages/task/coatingIssuleJobDetailByQty.vue
  4. 14
      fe/PDA/pages/task/injectionIssueJobDetailByQty.vue
  5. 14
      fe/PDA/pages/task/kittingIssueJobDetailByQty.vue
  6. 13
      fe/PDA/pages/task/sparePartIssueJobDetailByQty.vue

3
fe/PDA/pages/return/purchaseReturnRequestApprove_detail.vue

@ -37,7 +37,8 @@
} from '@/api/index.js';
import {
navigateBack
navigateBack,
goHome
} from '@/common/basic.js';
import comRequestDetail from '@/mycomponents/comRequest/comRequestDetail.vue'

14
fe/PDA/pages/task/assembleIssueJobDetailByQty.vue

@ -142,6 +142,9 @@
getCountByItemCode,
getRecommendBalance
} from '@/api/index.js';
import {
calc
} from '@/common/calc.js';
import {
getJobStatuStyle,
getJobStatuDesc,
@ -464,7 +467,15 @@
this.showMessage('发料数量必须大于0');
return;
}
that.finsh();
if(that.details[0].tempHandledToQty>calc.sub(this.allCount,this.scanCount)){
showConfirmMsg("发料数量大于未发数量,是否提交?",res=>{
if(res){
that.finsh();
}
})
}else {
that.finsh();
}
},
@ -536,7 +547,6 @@
return;
}
item.tempHandledFromQty = value;
console.log('item', item.tempHandledFromQty);
this.$forceUpdate();
},

18
fe/PDA/pages/task/coatingIssuleJobDetailByQty.vue

@ -151,6 +151,9 @@
getCountByItemCode,
getRecommendBalance
} from '@/api/index.js';
import {
calc
} from '@/common/calc.js';
import {
getJobStatuStyle,
getJobStatuDesc,
@ -451,7 +454,7 @@
mask: true
})
getRecommendBalance(itemCode,productLine).then(res=>{
getRecommendBalance(itemCode,productLine,false).then(res=>{
uni.hideLoading()
if (res.length > 0) {
var list = [];
@ -511,7 +514,17 @@
this.showMessage('发料数量必须大于0');
return;
}
that.finsh();
if(that.details[0].tempHandledToQty>calc.sub(this.allCount,this.scanCount)){
showConfirmMsg("发料数量大于未发数量,是否提交?",res=>{
if(res){
that.finsh();
}
})
}else {
that.finsh();
}
},
@ -583,7 +596,6 @@
return;
}
item.tempHandledFromQty =value;
console.log('item', item.tempHandledFromQty);
this.$forceUpdate();
},

14
fe/PDA/pages/task/injectionIssueJobDetailByQty.vue

@ -141,6 +141,9 @@
getCountByItemCode,
getRecommendBalance
} from '@/api/index.js';
import {
calc
} from '@/common/calc.js';
import {
getJobStatuStyle,
getJobStatuDesc,
@ -460,7 +463,15 @@
this.showMessage('发料数量必须大于0');
return;
}
that.finsh();
if(that.details[0].tempHandledToQty>calc.sub(this.allCount,this.scanCount)){
showConfirmMsg("发料数量大于未发数量,是否提交?",res=>{
if(res){
that.finsh();
}
})
}else {
that.finsh();
}
},
@ -532,7 +543,6 @@
return;
}
item.tempHandledFromQty = value;
console.log('item', item.tempHandledFromQty);
this.$forceUpdate();
},

14
fe/PDA/pages/task/kittingIssueJobDetailByQty.vue

@ -141,6 +141,9 @@
getCountByItemCode,
getRecommendBalance
} from '@/api/index.js';
import {
calc
} from '@/common/calc.js';
import {
getJobStatuStyle,
getJobStatuDesc,
@ -463,7 +466,15 @@
this.showMessage('发料数量必须大于0');
return;
}
that.finsh();
if(that.details[0].tempHandledToQty>calc.sub(this.allCount,this.scanCount)){
showConfirmMsg("发料数量大于未发数量,是否提交?",res=>{
if(res){
that.finsh();
}
})
}else {
that.finsh();
}
},
@ -535,7 +546,6 @@
return;
}
item.tempHandledFromQty = value;
console.log('item', item.tempHandledFromQty);
this.$forceUpdate();
},

13
fe/PDA/pages/task/sparePartIssueJobDetailByQty.vue

@ -141,6 +141,10 @@
getCountByItemCode,
getRecommendBalance
} from '@/api/index.js';
import {
calc
} from '@/common/calc.js';
import {
getJobStatuStyle,
getJobStatuDesc,
@ -460,7 +464,15 @@
this.showMessage('发料数量必须大于0');
return;
}
if(that.details[0].tempHandledToQty>calc.sub(this.allCount,this.scanCount)){
showConfirmMsg("发料数量大于未发数量,是否提交?",res=>{
if(res){
that.finsh();
}
})
}else {
that.finsh();
}
},
@ -532,7 +544,6 @@
return;
}
item.tempHandledFromQty = value;
console.log('item', item.tempHandledFromQty);
this.$forceUpdate();
},

Loading…
Cancel
Save