Browse Source

Merge branch 'master' of http://git.zthymaoyi.com/gdc/yiliangyiyun-pc

gjy 2 years ago
parent
commit
c6d70ea793
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/views/contractManagement/salesContractAdd.vue

+ 4 - 0
src/views/contractManagement/salesContractAdd.vue

@@ -1436,6 +1436,10 @@
             this.deptBudgetList.compId = this.compId
             this.deptBudgetList.contractType = 1
             this.deptBudgetList.goodsType = 1
+            if(this.deptBudgetList.priceType == "随行就市"){
+              delete this.deptBudgetList.unitContractPrice
+              delete this.deptBudgetList.totalContractPrice
+            }
             addList(this.deptBudgetList)
               .toPromise()
               .then((response) => {