gjy 3 vuotta sitten
vanhempi
commit
bf3e456f8a

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

@@ -691,17 +691,21 @@
         this.deptBudgetList.totalContractPrice = e * this.deptBudgetList.weight
       },
       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({
           path: 'buyContract'
         })

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

@@ -608,16 +608,20 @@
       },
       returnsales() {
         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({
           path: 'salesContract',
         })
@@ -1413,10 +1417,14 @@
                   contractGoodsInfo: {
                     goodsName: '',
                   },
+                  buyerPhone:'',
                   contractProcessInfo: {},
+                  addressUrl: '',
+                  sourceGoods: '',
+                  placeDelivery: '',
+                  settlementWeightMethod: '1',
                 }
 
-
                 this.$router.push({
                   path: 'salesContract',
                 })