浏览代码

随行就市价格类型问题

zhongtianhaoyuan 2 年之前
父节点
当前提交
1ee3067216
共有 1 个文件被更改,包括 4 次插入0 次删除
  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.compId = this.compId
             this.deptBudgetList.contractType = 1
             this.deptBudgetList.contractType = 1
             this.deptBudgetList.goodsType = 1
             this.deptBudgetList.goodsType = 1
+            if(this.deptBudgetList.priceType == "随行就市"){
+              delete this.deptBudgetList.unitContractPrice
+              delete this.deptBudgetList.totalContractPrice
+            }
             addList(this.deptBudgetList)
             addList(this.deptBudgetList)
               .toPromise()
               .toPromise()
               .then((response) => {
               .then((response) => {