From 79c559abb3fac091338cce0fa0f6d2476fc99ec9 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Wed, 6 Aug 2025 15:22:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pickManage/materialPicking/edit.vue | 8 +++ .../pickManage/materialPicking/index.vue | 4 ++ .../purchaseManage/contractList/edit.vue | 4 ++ .../purchaseManage/contractList/index.vue | 4 ++ .../purchaseManage/goodsInquiry/edit.vue | 6 +- .../purchaseManage/goodsInquiry/index.vue | 16 ++++-- .../purchaseManage/materialBidPrice/index.vue | 4 ++ .../purchaseManage/productionPlan/edit.vue | 6 +- .../purchaseManage/productionPlan/index.vue | 4 ++ .../purchaseInspection/edit.vue | 8 +++ .../purchaseInspection/index.vue | 4 ++ .../purchaseManage/purchaseOrder/edit.vue | 10 +++- .../purchaseManage/purchaseOrder/index.vue | 4 ++ .../purchaseManage/purchasePlan/edit.vue | 4 ++ .../purchaseManage/purchasePlan/index.vue | 4 ++ .../correlationReport/index.vue | 4 ++ .../procureOrderReport/index.vue | 8 +++ .../procurePlanReport/index.vue | 4 ++ .../productionPlanReport/index.vue | 4 ++ .../returnManage/materialReturn/edit.vue | 4 ++ .../returnManage/materialReturn/index.vue | 4 ++ .../depotManage/batchStockDetail.vue | 4 ++ .../stockManage/goodsTransfer/edit.vue | 10 +++- .../stockManage/goodsTransfer/index.vue | 4 ++ .../stockManage/inventoryCount/edit.vue | 4 ++ .../stockManage/inventoryCount/index.vue | 4 ++ .../stockManage/warehouseIn/edit.vue | 8 +++ .../stockManage/warehouseIn/index.vue | 4 ++ .../stockManage/warehouseOut/edit.vue | 8 +++ .../stockManage/warehouseOut/index.vue | 4 ++ .../stockReport/expiredWarning/index.vue | 4 ++ .../stockReport/inoutDetails/index.vue | 8 +++ .../stockReport/stockWarning/index.vue | 4 ++ .../supplierQuotation/edit.vue | 6 +- .../supplierManage/goodsSupplier/index.vue | 27 +++++---- .../supplierManage/supplierList/index.vue | 56 ++++++++++++++----- .../supplierManage/supplierRating/index.vue | 4 ++ .../supplierManage/supplyStatistics/index.vue | 4 ++ 38 files changed, 242 insertions(+), 39 deletions(-) diff --git a/src/views/foodManage/pickManage/materialPicking/edit.vue b/src/views/foodManage/pickManage/materialPicking/edit.vue index da91d09a..2dcf7d6d 100644 --- a/src/views/foodManage/pickManage/materialPicking/edit.vue +++ b/src/views/foodManage/pickManage/materialPicking/edit.vue @@ -493,6 +493,10 @@ export default { }, /** 重置按钮操作 */ resetQuery() { + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, @@ -648,6 +652,10 @@ export default { /** 重置按钮操作 */ resetQuery2() { this.dateRange = this.defaultDateRange() + this.queryParams2 = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm2"); this.handleQuery2(); }, diff --git a/src/views/foodManage/pickManage/materialPicking/index.vue b/src/views/foodManage/pickManage/materialPicking/index.vue index e59b920c..34bf37ac 100644 --- a/src/views/foodManage/pickManage/materialPicking/index.vue +++ b/src/views/foodManage/pickManage/materialPicking/index.vue @@ -292,6 +292,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/purchaseManage/contractList/edit.vue b/src/views/foodManage/purchaseManage/contractList/edit.vue index c871886d..3c3899ba 100644 --- a/src/views/foodManage/purchaseManage/contractList/edit.vue +++ b/src/views/foodManage/purchaseManage/contractList/edit.vue @@ -438,6 +438,10 @@ export default { }, /** 重置按钮操作 */ resetQuery() { + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/purchaseManage/contractList/index.vue b/src/views/foodManage/purchaseManage/contractList/index.vue index 889064e7..5f6e16e3 100644 --- a/src/views/foodManage/purchaseManage/contractList/index.vue +++ b/src/views/foodManage/purchaseManage/contractList/index.vue @@ -251,6 +251,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/purchaseManage/goodsInquiry/edit.vue b/src/views/foodManage/purchaseManage/goodsInquiry/edit.vue index a43f4db4..4647fe13 100644 --- a/src/views/foodManage/purchaseManage/goodsInquiry/edit.vue +++ b/src/views/foodManage/purchaseManage/goodsInquiry/edit.vue @@ -41,7 +41,7 @@ - + - - + + - + + @@ -270,6 +270,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = [] + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/purchaseManage/materialBidPrice/index.vue b/src/views/foodManage/purchaseManage/materialBidPrice/index.vue index 1123e028..15585e12 100644 --- a/src/views/foodManage/purchaseManage/materialBidPrice/index.vue +++ b/src/views/foodManage/purchaseManage/materialBidPrice/index.vue @@ -193,6 +193,10 @@ export default { }, /** 重置按钮操作 */ resetQuery() { + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/purchaseManage/productionPlan/edit.vue b/src/views/foodManage/purchaseManage/productionPlan/edit.vue index 9e6d2c8a..764e7f34 100644 --- a/src/views/foodManage/purchaseManage/productionPlan/edit.vue +++ b/src/views/foodManage/purchaseManage/productionPlan/edit.vue @@ -96,7 +96,7 @@
{{dish.dishesName}} -
@@ -181,7 +181,7 @@ @@ -215,7 +215,7 @@ export default { data() { return { dialogType:1,//页面传参 - ifRepeat:1,//页面传参 + ifRepeat:'1',//页面传参 productionPlanRowData:{},//页面传参 loading:false, loadingBtn:false, diff --git a/src/views/foodManage/purchaseManage/productionPlan/index.vue b/src/views/foodManage/purchaseManage/productionPlan/index.vue index e78a8319..7d90c954 100644 --- a/src/views/foodManage/purchaseManage/productionPlan/index.vue +++ b/src/views/foodManage/purchaseManage/productionPlan/index.vue @@ -335,6 +335,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/purchaseManage/purchaseInspection/edit.vue b/src/views/foodManage/purchaseManage/purchaseInspection/edit.vue index 1f25c3c3..e5707750 100644 --- a/src/views/foodManage/purchaseManage/purchaseInspection/edit.vue +++ b/src/views/foodManage/purchaseManage/purchaseInspection/edit.vue @@ -510,6 +510,10 @@ export default { }, /** 重置按钮操作 */ resetQuery() { + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, @@ -702,6 +706,10 @@ export default { }, /** 重置按钮操作 */ resetQuery2() { + this.queryParams2 = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm2"); this.handleQuery2(); }, diff --git a/src/views/foodManage/purchaseManage/purchaseInspection/index.vue b/src/views/foodManage/purchaseManage/purchaseInspection/index.vue index c303dcae..9f78ee4a 100644 --- a/src/views/foodManage/purchaseManage/purchaseInspection/index.vue +++ b/src/views/foodManage/purchaseManage/purchaseInspection/index.vue @@ -241,6 +241,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/purchaseManage/purchaseOrder/edit.vue b/src/views/foodManage/purchaseManage/purchaseOrder/edit.vue index 1083cb8c..2a114805 100644 --- a/src/views/foodManage/purchaseManage/purchaseOrder/edit.vue +++ b/src/views/foodManage/purchaseManage/purchaseOrder/edit.vue @@ -143,7 +143,7 @@ @@ -593,6 +593,10 @@ export default { }, /** 重置按钮操作 */ resetQuery() { + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, @@ -777,6 +781,10 @@ export default { /** 重置按钮操作 */ resetQuery2() { this.dateRange = this.defaultDateRange() + this.queryParams2 = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm2"); this.handleQuery2(); }, diff --git a/src/views/foodManage/purchaseManage/purchaseOrder/index.vue b/src/views/foodManage/purchaseManage/purchaseOrder/index.vue index 1f9462bf..6bbe574d 100644 --- a/src/views/foodManage/purchaseManage/purchaseOrder/index.vue +++ b/src/views/foodManage/purchaseManage/purchaseOrder/index.vue @@ -329,6 +329,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/purchaseManage/purchasePlan/edit.vue b/src/views/foodManage/purchaseManage/purchasePlan/edit.vue index 2bd94325..04cc1f1c 100644 --- a/src/views/foodManage/purchaseManage/purchasePlan/edit.vue +++ b/src/views/foodManage/purchaseManage/purchasePlan/edit.vue @@ -365,6 +365,10 @@ export default { }, /** 重置按钮操作 */ resetQuery() { + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/purchaseManage/purchasePlan/index.vue b/src/views/foodManage/purchaseManage/purchasePlan/index.vue index 8a746744..7b69dd0e 100644 --- a/src/views/foodManage/purchaseManage/purchasePlan/index.vue +++ b/src/views/foodManage/purchaseManage/purchasePlan/index.vue @@ -290,6 +290,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/purchaseReport/correlationReport/index.vue b/src/views/foodManage/purchaseReport/correlationReport/index.vue index e1f6d408..0c36e92c 100644 --- a/src/views/foodManage/purchaseReport/correlationReport/index.vue +++ b/src/views/foodManage/purchaseReport/correlationReport/index.vue @@ -253,6 +253,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/purchaseReport/procureOrderReport/index.vue b/src/views/foodManage/purchaseReport/procureOrderReport/index.vue index 8bc7c038..1de43df4 100644 --- a/src/views/foodManage/purchaseReport/procureOrderReport/index.vue +++ b/src/views/foodManage/purchaseReport/procureOrderReport/index.vue @@ -221,6 +221,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, @@ -274,6 +278,10 @@ export default { /** 重置按钮操作 */ resetQuery2() { this.dateRange2 = this.defaultDateRange() + this.queryParams2 = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm2"); this.handleQuery2(); }, diff --git a/src/views/foodManage/purchaseReport/procurePlanReport/index.vue b/src/views/foodManage/purchaseReport/procurePlanReport/index.vue index 251e0954..ec00da79 100644 --- a/src/views/foodManage/purchaseReport/procurePlanReport/index.vue +++ b/src/views/foodManage/purchaseReport/procurePlanReport/index.vue @@ -137,6 +137,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/purchaseReport/productionPlanReport/index.vue b/src/views/foodManage/purchaseReport/productionPlanReport/index.vue index 595ca8e2..ba857647 100644 --- a/src/views/foodManage/purchaseReport/productionPlanReport/index.vue +++ b/src/views/foodManage/purchaseReport/productionPlanReport/index.vue @@ -130,6 +130,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/returnManage/materialReturn/edit.vue b/src/views/foodManage/returnManage/materialReturn/edit.vue index ec2f25e8..70cc0f0c 100644 --- a/src/views/foodManage/returnManage/materialReturn/edit.vue +++ b/src/views/foodManage/returnManage/materialReturn/edit.vue @@ -362,6 +362,10 @@ export default { }, /** 重置按钮操作 */ resetQuery() { + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/returnManage/materialReturn/index.vue b/src/views/foodManage/returnManage/materialReturn/index.vue index d9c5ab20..b69c56a5 100644 --- a/src/views/foodManage/returnManage/materialReturn/index.vue +++ b/src/views/foodManage/returnManage/materialReturn/index.vue @@ -257,6 +257,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/stockManage/depotManage/batchStockDetail.vue b/src/views/foodManage/stockManage/depotManage/batchStockDetail.vue index 5e981d25..bb6ee58c 100644 --- a/src/views/foodManage/stockManage/depotManage/batchStockDetail.vue +++ b/src/views/foodManage/stockManage/depotManage/batchStockDetail.vue @@ -183,6 +183,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/stockManage/goodsTransfer/edit.vue b/src/views/foodManage/stockManage/goodsTransfer/edit.vue index dd89f9ca..36ce0aa3 100644 --- a/src/views/foodManage/stockManage/goodsTransfer/edit.vue +++ b/src/views/foodManage/stockManage/goodsTransfer/edit.vue @@ -385,6 +385,10 @@ export default { }, /** 重置按钮操作 */ resetQuery() { + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, @@ -561,7 +565,11 @@ export default { }, /** 重置按钮操作 */ resetQuery2() { - this.resetForm("queryForm2"); + this.queryParams2 = { + pageNum: 1, + pageSize: 10, + } + this.resetForm("queryForm2"); this.handleQuery2(); }, /** 查询列表 */ diff --git a/src/views/foodManage/stockManage/goodsTransfer/index.vue b/src/views/foodManage/stockManage/goodsTransfer/index.vue index 3ac87c6c..d38e10b3 100644 --- a/src/views/foodManage/stockManage/goodsTransfer/index.vue +++ b/src/views/foodManage/stockManage/goodsTransfer/index.vue @@ -221,6 +221,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/stockManage/inventoryCount/edit.vue b/src/views/foodManage/stockManage/inventoryCount/edit.vue index 40daef73..16582aa1 100644 --- a/src/views/foodManage/stockManage/inventoryCount/edit.vue +++ b/src/views/foodManage/stockManage/inventoryCount/edit.vue @@ -387,6 +387,10 @@ export default { }, /** 重置按钮操作 */ resetQuery() { + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/stockManage/inventoryCount/index.vue b/src/views/foodManage/stockManage/inventoryCount/index.vue index 9a5d852a..f14eb8a0 100644 --- a/src/views/foodManage/stockManage/inventoryCount/index.vue +++ b/src/views/foodManage/stockManage/inventoryCount/index.vue @@ -232,6 +232,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/stockManage/warehouseIn/edit.vue b/src/views/foodManage/stockManage/warehouseIn/edit.vue index ec3c949c..9093d402 100644 --- a/src/views/foodManage/stockManage/warehouseIn/edit.vue +++ b/src/views/foodManage/stockManage/warehouseIn/edit.vue @@ -457,6 +457,10 @@ export default { }, /** 重置按钮操作 */ resetQuery() { + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, @@ -637,6 +641,10 @@ export default { }, /** 重置按钮操作 */ resetQuery2() { + this.queryParams2 = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm2"); this.handleQuery2(); }, diff --git a/src/views/foodManage/stockManage/warehouseIn/index.vue b/src/views/foodManage/stockManage/warehouseIn/index.vue index 5fec6bcd..341e41ca 100644 --- a/src/views/foodManage/stockManage/warehouseIn/index.vue +++ b/src/views/foodManage/stockManage/warehouseIn/index.vue @@ -275,6 +275,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/stockManage/warehouseOut/edit.vue b/src/views/foodManage/stockManage/warehouseOut/edit.vue index 9040e714..d422f8dd 100644 --- a/src/views/foodManage/stockManage/warehouseOut/edit.vue +++ b/src/views/foodManage/stockManage/warehouseOut/edit.vue @@ -392,6 +392,10 @@ export default { }, /** 重置按钮操作 */ resetQuery() { + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, @@ -563,6 +567,10 @@ export default { }, /** 重置按钮操作 */ resetQuery2() { + this.queryParams2 = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm2"); this.handleQuery2(); }, diff --git a/src/views/foodManage/stockManage/warehouseOut/index.vue b/src/views/foodManage/stockManage/warehouseOut/index.vue index 5de0e215..36714d7e 100644 --- a/src/views/foodManage/stockManage/warehouseOut/index.vue +++ b/src/views/foodManage/stockManage/warehouseOut/index.vue @@ -280,6 +280,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/stockReport/expiredWarning/index.vue b/src/views/foodManage/stockReport/expiredWarning/index.vue index 6b7fd4ba..33752605 100644 --- a/src/views/foodManage/stockReport/expiredWarning/index.vue +++ b/src/views/foodManage/stockReport/expiredWarning/index.vue @@ -184,6 +184,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/stockReport/inoutDetails/index.vue b/src/views/foodManage/stockReport/inoutDetails/index.vue index 82da2010..70681d46 100644 --- a/src/views/foodManage/stockReport/inoutDetails/index.vue +++ b/src/views/foodManage/stockReport/inoutDetails/index.vue @@ -287,6 +287,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, @@ -319,6 +323,10 @@ export default { }, /** 重置按钮操作 */ resetQuery2() { + this.queryParams2 = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm2"); this.handleQuery2(); }, diff --git a/src/views/foodManage/stockReport/stockWarning/index.vue b/src/views/foodManage/stockReport/stockWarning/index.vue index 2d5c3ecf..33a9a9bc 100644 --- a/src/views/foodManage/stockReport/stockWarning/index.vue +++ b/src/views/foodManage/stockReport/stockWarning/index.vue @@ -173,6 +173,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange = this.defaultDateRange() + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/supplierFunction/supplierQuotation/edit.vue b/src/views/foodManage/supplierFunction/supplierQuotation/edit.vue index 78ad44b2..99d7e119 100644 --- a/src/views/foodManage/supplierFunction/supplierQuotation/edit.vue +++ b/src/views/foodManage/supplierFunction/supplierQuotation/edit.vue @@ -92,7 +92,7 @@ @@ -375,6 +375,10 @@ export default { }, /** 重置按钮操作 */ resetQuery() { + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/supplierManage/goodsSupplier/index.vue b/src/views/foodManage/supplierManage/goodsSupplier/index.vue index 5e3994cc..ec62b765 100644 --- a/src/views/foodManage/supplierManage/goodsSupplier/index.vue +++ b/src/views/foodManage/supplierManage/goodsSupplier/index.vue @@ -41,7 +41,7 @@ - + --> - + - + - - - - - - + + + + + - + @@ -240,7 +240,7 @@ - + @@ -300,7 +300,7 @@ - + @@ -314,23 +314,23 @@ - + - + - - @@ -392,7 +392,7 @@ :file-list="item.fileList" list-type="picture-card" accept=".png, .jpg, .jpeg" - :class="{ disabled: item.imgUrl!=''}" + :class="{ disabled:item.isShowUpload }" :on-preview="handlePictureCardPreview" :on-remove="handleRemoveMain(index)" > @@ -514,7 +514,28 @@ export default { ], categoryIdList: [ { required: true, message: "主要供应类别不能为空", trigger: "change" } - ] + ], + telephone: [ + { + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur', + } + ], + linkmanPhone: [ + { + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur', + } + ], + standbyPhone: [ + { + pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, + message: '请输入正确的手机号码', + trigger: 'blur', + } + ] }, fileList1: [], idCardImgZ: [],//身份证正图片 @@ -572,7 +593,7 @@ export default { }, uploadDisabled2() { return this.idCardImgF.length > 0 - }, + } }, created() { this.getTypeTreeData(); @@ -601,6 +622,10 @@ export default { }, /** 重置按钮操作 */ resetQuery() { + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, @@ -842,9 +867,10 @@ export default { imgUpLoadMain(param,index){ param.type = 'canteen' imgUpLoadTwo(param).then((res) => { - if (res.code == 200) { - console.log(index) - this.mainQualificationList[index].imgUrl = res.data.url + if (res.code == 200) { + this.mainQualificationList[index].imgUrl = res.data.url; + this.mainQualificationList[index].isShowUpload = true; + this.$forceUpdate() } else { this.$modal.msgError(res.msg) } @@ -854,7 +880,9 @@ export default { }) }, handleRemoveMain(index) { - this.mainQualificationList[index].imgUrl=""; + this.mainQualificationList[index].imgUrl=""; + this.mainQualificationList[index].isShowUpload = false; + this.$forceUpdate() }, //附件上传 diff --git a/src/views/foodManage/supplierManage/supplierRating/index.vue b/src/views/foodManage/supplierManage/supplierRating/index.vue index f34728ec..16810235 100644 --- a/src/views/foodManage/supplierManage/supplierRating/index.vue +++ b/src/views/foodManage/supplierManage/supplierRating/index.vue @@ -377,6 +377,10 @@ export default { }, /** 重置按钮操作 */ resetQuery() { + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); }, diff --git a/src/views/foodManage/supplierManage/supplyStatistics/index.vue b/src/views/foodManage/supplierManage/supplyStatistics/index.vue index 9ac99545..3140e484 100644 --- a/src/views/foodManage/supplierManage/supplyStatistics/index.vue +++ b/src/views/foodManage/supplierManage/supplyStatistics/index.vue @@ -200,6 +200,10 @@ export default { /** 重置按钮操作 */ resetQuery() { this.dateRange=[new Date(),new Date()] + this.queryParams = { + pageNum: 1, + pageSize: 10, + } this.resetForm("queryForm"); this.handleQuery(); },