| | |
| | | console.log(this.$route.params,"路由参数") |
| | | if(this.$route.params.supplierId){ |
| | | this.editConfig.visible = true |
| | | this.editConfig.infomation.supplierId=this.$route.params.supplierId |
| | | this.editConfig.infomation.supplierName=this.$route.params.supplierName |
| | | this.editConfig.infomation = { |
| | | productList: [], |
| | | purchaseTypeId: "", |
| | | supplierId: this.$route.params.supplierId||'', |
| | | supplierName: this.$route.params.supplierName||'', |
| | | orderSource: "手动创建", |
| | | name: "", |
| | | contact: "", |
| | | phone: "", |
| | | signingDate: "", |
| | | deliveryDate: "", |
| | | remark: "", |
| | | wholeDiscountType: null, |
| | | wholeDiscount: 0, |
| | | priceAdjustmentType: null, |
| | | priceAdjustment: 0, |
| | | realTotalPrice: 0 |
| | | } |
| | | } |
| | | this.setTable() |
| | | this.getData() |