Переглянути джерело

大中型报告应收款必填

wucl 1 місяць тому
батько
коміт
4be3781d16
1 змінених файлів з 10 додано та 0 видалено
  1. 10 0
      src/views/major/myOrder.vue

+ 10 - 0
src/views/major/myOrder.vue

@@ -937,6 +937,16 @@ export default {
             }
           } else {
             //设置产品应收款
+            console.log(this.fund)
+            if (this.fund.shouldAmount==0 && this.fund.productionType != 'STATEMENT'){
+              this.$notify({
+                    title: '失败',
+                    message: '非意见书必须设置应收款金额',
+                    type: 'error',
+                    duration: 2000
+                  });
+                  return;
+            }
             this.fund.productionShouldAmount = this.fund.shouldAmount;
             this.fund.id = this.fund.productionFundId;
             if (this.fund.id) {