ソースを参照

大中型报告应收款必填

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) {