gjy 3 年之前
父節點
當前提交
bf3e456f8a
共有 2 個文件被更改,包括 34 次插入22 次删除
  1. 15 11
      src/views/contractManagement/purchaseContractAdd.vue
  2. 19 11
      src/views/contractManagement/salesContractAdd.vue

+ 15 - 11
src/views/contractManagement/purchaseContractAdd.vue

@@ -691,17 +691,21 @@
         this.deptBudgetList.totalContractPrice = e * this.deptBudgetList.weight
         this.deptBudgetList.totalContractPrice = e * this.deptBudgetList.weight
       },
       },
       returnsales() {
       returnsales() {
-        this.deptBudgetList = {
-                  deliverType: '1',
-                  agreementType: '采购合同',
-                  finalTradingVolume: 0,
-                  totalContractPrice: 0,
-                  contractGoodsInfo: {
-                    goodsName: '',
-                  },
-                  contractProcessInfo: {},
-                  addressUrl: '',
-                }
+        this.deptBudgetList =  {
+          deliverType: '1',
+          sourceGoods:'',
+          placeDelivery:'',
+          agreementType: '采购合同',
+          addressUrl: '',
+          sellerPhone:'',
+          finalTradingVolume: 0,
+          totalContractPrice: 0,
+          contractGoodsInfo: {
+            goodsName: '',
+          },
+          contractProcessInfo: {},
+          settlementWeightMethod: '1',
+        }
         this.$router.push({
         this.$router.push({
           path: 'buyContract'
           path: 'buyContract'
         })
         })

+ 19 - 11
src/views/contractManagement/salesContractAdd.vue

@@ -608,16 +608,20 @@
       },
       },
       returnsales() {
       returnsales() {
         this.deptBudgetList = {
         this.deptBudgetList = {
-                  deliverType: '1',
-                  agreementType: '采购合同',
-                  finalTradingVolume: 0,
-                  totalContractPrice: 0,
-                  contractGoodsInfo: {
-                    goodsName: '',
-                  },
-                  contractProcessInfo: {},
-                  addressUrl: '',
-                }
+          deliverType: '1',
+          agreementType: '销售合同',
+          finalTradingVolume: 0,
+          totalContractPrice: 0,
+          contractGoodsInfo: {
+            goodsName: '',
+          },
+          buyerPhone:'',
+          contractProcessInfo: {},
+          addressUrl: '',
+          sourceGoods: '',
+          placeDelivery: '',
+          settlementWeightMethod: '1',
+        }
         this.$router.push({
         this.$router.push({
           path: 'salesContract',
           path: 'salesContract',
         })
         })
@@ -1413,10 +1417,14 @@
                   contractGoodsInfo: {
                   contractGoodsInfo: {
                     goodsName: '',
                     goodsName: '',
                   },
                   },
+                  buyerPhone:'',
                   contractProcessInfo: {},
                   contractProcessInfo: {},
+                  addressUrl: '',
+                  sourceGoods: '',
+                  placeDelivery: '',
+                  settlementWeightMethod: '1',
                 }
                 }
 
 
-
                 this.$router.push({
                 this.$router.push({
                   path: 'salesContract',
                   path: 'salesContract',
                 })
                 })