Forráskód Böngészése

随行就市价格类型问题

zhongtianhaoyuan 2 éve
szülő
commit
1ee3067216
1 módosított fájl, 4 hozzáadás és 0 törlés
  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) => {