From f9512a0896752ef3e4c17a05c871f315041be111 Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期一, 27 十一月 2023 11:24:37 +0800 Subject: [PATCH] 采购订单按钮显隐 --- src/views/purchaseManage/purchase/index.vue | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/views/purchaseManage/purchase/index.vue b/src/views/purchaseManage/purchase/index.vue index 485d218..9b5c385 100644 --- a/src/views/purchaseManage/purchase/index.vue +++ b/src/views/purchaseManage/purchase/index.vue @@ -122,8 +122,24 @@ 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() -- Gitblit v1.8.0