Selaa lähdekoodia

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

gjy 2 vuotta sitten
vanhempi
commit
c6d70ea793
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  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) => {