修改付款限制

product
杨世强 2 years ago
parent b49d493de7
commit 768087461d

@ -412,11 +412,15 @@
},
fukuanHandle(id, flowState, isSubmit, isStop) {
var flag = true;
this.list.poundlistEntityList.forEach((item,index) => {
if (item.isInvoicing == '0' || (item.advance == '0' && item.isCollection == '0')){
this.list.forEach((item,index) => {
if (item.id == id) {
item.poundlistEntityList.forEach((item1, index) => {
if (item1.isInvoicing == '0' || (item1.advance == '0' && item1.isCollection == '0')) {
flag = false;
}
})
}
})
if (!flag){
this.$message({
type: 'error',

Loading…
Cancel
Save