{{dish.dishesName}}
- (dish.dishesNum=v.replace(/[^\d]/g,''))" style="width: 100px;"/>
@@ -181,7 +181,7 @@
- (scope.row.dishesNum=v.replace(/[^\d]/g,''))"/>
+ (scope.row.dishesNum=v.replace(/[^\d]/g,''))"/>
@@ -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 @@
- {{ scope.row.orderNum*scope.row.singlePrice }}
+ {{ scope.row.orderNum*scope.row.singlePrice }}
@@ -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 @@
- {{ (scope.row.purNum*scope.row.singlePrice).toFixed(4) }}
+ {{ (scope.row.purNum*scope.row.singlePrice).toFixed(2) }}
@@ -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 @@
-
+
@@ -61,7 +61,7 @@
-->
-
+
-
+
-
+
-
-
-
-
-
- {{ (scope.row.lastOrderGoodsPrice/100).toFixed(2) }}
-
-
+
+
+
+
+
+
+
-
+
@@ -240,7 +240,7 @@
-
+
@@ -300,7 +300,7 @@
-
+
@@ -314,23 +314,23 @@
-
+
-
+
- (form.lastYearOperatingIncome=v.replace(/[^\d.]/g, '').replace(/^(\d*\.\d{2}).*$/, '$1'))"/>
- (form.beforeYearOperatingIncome=v.replace(/[^\d.]/g, '').replace(/^(\d*\.\d{2}).*$/, '$1'))"/>
@@ -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();
},