diff --git a/src/views/canteen/superstore/shopMaterial/index.vue b/src/views/canteen/superstore/shopMaterial/index.vue
index 1d16b781..8fa94476 100644
--- a/src/views/canteen/superstore/shopMaterial/index.vue
+++ b/src/views/canteen/superstore/shopMaterial/index.vue
@@ -379,7 +379,7 @@ export default {
// 筛选节点 - 左侧树
filterNode(value, data) {
if (!value) return true;
- return data.materialTypeName.indexOf(value) !== -1;
+ return data.categoryName.indexOf(value) !== -1;
},
/** 查询新增页面-上级类型下拉树结构 */
getTreeData() {
diff --git a/src/views/foodManage/purchaseManage/contractList/edit.vue b/src/views/foodManage/purchaseManage/contractList/edit.vue
index 3c3899ba..35f720b0 100644
--- a/src/views/foodManage/purchaseManage/contractList/edit.vue
+++ b/src/views/foodManage/purchaseManage/contractList/edit.vue
@@ -451,7 +451,7 @@ export default {
let param = {
"pageSize": this.queryParams.pageSize,
"pageNum": this.queryParams.pageNum,
- "areaId": this.queryParams.areaId,
+ "areaId": this.baseInfo.areaId,
"materialName": this.queryParams.materialName,
"materialCode": this.queryParams.materialCode,
"materialTypeIds": this.queryParams.materialTypeIds,
diff --git a/src/views/foodManage/purchaseManage/goodsInquiry/checkPrice.vue b/src/views/foodManage/purchaseManage/goodsInquiry/checkPrice.vue
index 1667854a..dcc93601 100644
--- a/src/views/foodManage/purchaseManage/goodsInquiry/checkPrice.vue
+++ b/src/views/foodManage/purchaseManage/goodsInquiry/checkPrice.vue
@@ -15,6 +15,7 @@
未开始
进行中
已结束
+ 未决标
已取消
@@ -71,7 +72,7 @@
已选中
-
+
{
console.log('response',response);
-
+ this.getContractInfo()
});
},
diff --git a/src/views/foodManage/purchaseManage/goodsInquiry/index.vue b/src/views/foodManage/purchaseManage/goodsInquiry/index.vue
index fa2fc73e..d9c1dcdb 100644
--- a/src/views/foodManage/purchaseManage/goodsInquiry/index.vue
+++ b/src/views/foodManage/purchaseManage/goodsInquiry/index.vue
@@ -79,29 +79,30 @@
-
+
- --
- 进行中
+ 待提交
已决价
+ 进行中
+ 未决标
已取消
-
+
-
+
@@ -181,7 +181,7 @@
- (scope.row.dishesNum=v.replace(/[^\d]/g,''))"/>
+ (scope.row.dishesNum=v.replace(/[^\d]/g,''))"/>
@@ -833,7 +833,12 @@ export default {
if(param.productionPlanDetailVOList&¶m.productionPlanDetailVOList.length>0){
addList.forEach(item=>{
let index = param.productionPlanDetailVOList.findIndex(v=>(v.detailDate==item.detailDate&&v.mealtimeType==item.mealtimeType&&v.dishesId==item.dishesId))
- param.productionPlanDetailVOList[index].dishesNum = item.dishesNum
+ if(index>-1){
+ param.productionPlanDetailVOList[index].dishesNum = item.dishesNum
+ }else{
+ item.goodsType=1;
+ param.productionPlanDetailVOList.push(item)
+ }
})
param.productionPlanDetailAddList = param.productionPlanDetailVOList
}else{
@@ -944,11 +949,16 @@ export default {
}
}
console.log(addList)
- if(param.productionPlanDetailVOList&¶m.productionPlanDetailVOList.length>0){
+ if(param.productionPlanDetailVOList&¶m.productionPlanDetailVOList.length>0){
addList.forEach(item=>{
let index = param.productionPlanDetailVOList.findIndex(v=>(v.detailDate==item.detailDate&&v.mealtimeType==item.mealtimeType&&v.dishesId==item.dishesId))
- param.productionPlanDetailVOList[index].dishesNum = item.dishesNum
- })
+ if(index>-1){
+ param.productionPlanDetailVOList[index].dishesNum = item.dishesNum
+ }else{
+ item.goodsType=1;
+ param.productionPlanDetailVOList.push(item)
+ }
+ })
param.productionPlanDetailAddList = param.productionPlanDetailVOList
}else{
param.productionPlanDetailAddList = addList
diff --git a/src/views/foodManage/purchaseManage/purchaseInspection/index.vue b/src/views/foodManage/purchaseManage/purchaseInspection/index.vue
index 9f78ee4a..7e839e0c 100644
--- a/src/views/foodManage/purchaseManage/purchaseInspection/index.vue
+++ b/src/views/foodManage/purchaseManage/purchaseInspection/index.vue
@@ -69,7 +69,7 @@
-
+
-
+ -->
{{ (scope.row.orderAmount/100).toFixed(2) }}
diff --git a/src/views/foodManage/purchaseManage/purchasePlan/edit.vue b/src/views/foodManage/purchaseManage/purchasePlan/edit.vue
index 04cc1f1c..fba2e241 100644
--- a/src/views/foodManage/purchaseManage/purchasePlan/edit.vue
+++ b/src/views/foodManage/purchaseManage/purchasePlan/edit.vue
@@ -82,12 +82,12 @@
- (scope.row.unitPrice=v.replace(/[^\d.]/g, '').replace(/^(\d*\.\d{2}).*$/, '$1'))"/>
+ (scope.row.unitPrice=v.replace(/[^\d.]/g, '').replace(/^(\d*\.\d{2}).*$/, '$1'))"/>
- (scope.row.purchaseNum=v.replace(/[^\d.]/g, '').replace(/^(\d*\.\d{2}).*$/, '$1'))"/>
+ (scope.row.purchaseNum=v.replace(/[^\d.]/g, '').replace(/^(\d*\.\d{2}).*$/, '$1'))"/>
@@ -378,7 +378,7 @@ export default {
let param = {
"pageSize": this.queryParams.pageSize,
"pageNum": this.queryParams.pageNum,
- "areaId": this.queryParams.areaId,
+ "areaId": this.baseInfo.areaId,
"materialName": this.queryParams.materialName,
"materialCode": this.queryParams.materialCode,
"materialTypeIds": this.queryParams.materialTypeIds,
diff --git a/src/views/foodManage/stockManage/depotManage/index.vue b/src/views/foodManage/stockManage/depotManage/index.vue
index 14a10bc9..0696ffc4 100644
--- a/src/views/foodManage/stockManage/depotManage/index.vue
+++ b/src/views/foodManage/stockManage/depotManage/index.vue
@@ -239,7 +239,15 @@ export default {
],
warehouseCode: [
{ required: true, message: "仓库编码不能为空", trigger: "blur" }
- ]
+ ],
+ managerPhone: [
+ {
+ pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
+ message: '请输入正确的手机号码',
+ trigger: 'blur',
+ }
+ ],
+
}
};
},
diff --git a/src/views/foodManage/stockManage/totalStock/index.vue b/src/views/foodManage/stockManage/totalStock/index.vue
index cb3878bb..6b63c8a4 100644
--- a/src/views/foodManage/stockManage/totalStock/index.vue
+++ b/src/views/foodManage/stockManage/totalStock/index.vue
@@ -81,9 +81,9 @@
- 正常
- 即将缺货
- 超额
+ 正常
+ 即将缺货
+ 超额
diff --git a/src/views/foodManage/stockManage/warehouseIn/edit.vue b/src/views/foodManage/stockManage/warehouseIn/edit.vue
index 9093d402..0b53b054 100644
--- a/src/views/foodManage/stockManage/warehouseIn/edit.vue
+++ b/src/views/foodManage/stockManage/warehouseIn/edit.vue
@@ -101,12 +101,12 @@
- (scope.row.unitPrice=v.replace(/[^\d.]/g, '').replace(/^(\d*\.\d{2}).*$/, '$1'))"/>
+ (scope.row.unitPrice=v.replace(/[^\d.]/g, '').replace(/^(\d*\.\d{2}).*$/, '$1'))"/>
- (scope.row.purNum=v.replace(/[^\d]/g,''))"/>
+ (scope.row.purNum=v.replace(/[^\d]/g,''))"/>
diff --git a/src/views/foodManage/stockManage/warehouseOut/edit.vue b/src/views/foodManage/stockManage/warehouseOut/edit.vue
index d422f8dd..f5da1de8 100644
--- a/src/views/foodManage/stockManage/warehouseOut/edit.vue
+++ b/src/views/foodManage/stockManage/warehouseOut/edit.vue
@@ -74,7 +74,7 @@
-
+
diff --git a/src/views/foodManage/supplierManage/supplierList/index.vue b/src/views/foodManage/supplierManage/supplierList/index.vue
index f1aa9e8b..ac1b89a5 100644
--- a/src/views/foodManage/supplierManage/supplierList/index.vue
+++ b/src/views/foodManage/supplierManage/supplierList/index.vue
@@ -84,7 +84,7 @@
-