diff --git a/src/api/healthCenter/index.js b/src/api/healthCenter/index.js index e4946d57..4f3b783c 100644 --- a/src/api/healthCenter/index.js +++ b/src/api/healthCenter/index.js @@ -157,6 +157,8 @@ export function delHealthInfoApi(data) { data: data }) } + + // 模板-列表 export function getModelListApi() { return request({ @@ -190,6 +192,16 @@ export function addReportApi(data) { data: data }) } +export function getHealthReportPageApi(data) { + return request({ + url: '/smart-canteen/health_person_medical_report/list', + method: 'get', + headers: { + //"merchant-id":"378915229716713472", + }, + params:data + }) +} export function getReportApi(data) { return request({ url: '/smart-canteen/health_person_medical_report/getReportList', diff --git a/src/views/canteen/accountCenter/cardManage/cardList/index.vue b/src/views/canteen/accountCenter/cardManage/cardList/index.vue index d8cf7b6d..43a54082 100644 --- a/src/views/canteen/accountCenter/cardManage/cardList/index.vue +++ b/src/views/canteen/accountCenter/cardManage/cardList/index.vue @@ -7,6 +7,13 @@ + + + + + + + 搜索 重置 @@ -195,7 +202,7 @@ "pageSize": this.queryParams.pageSize, "serialNum": this.queryParams.serialNum, "userId": this.queryParams.userId, - "cardStatus":"1" + "cardStatus":this.queryParams.cardStatus // "accountStatusList": this.queryParams.accountStatusList, // "deptIdList": this.queryParams.deptIdList, // "walletType": this.queryParams.walletType, diff --git a/src/views/canteen/dish/dish/index.vue b/src/views/canteen/dish/dish/index.vue index d0eac851..b79b7861 100644 --- a/src/views/canteen/dish/dish/index.vue +++ b/src/views/canteen/dish/dish/index.vue @@ -950,7 +950,7 @@ appendTreeNode(data) { this.form={ "level": "0", - "parentId": "1", + "parentId": "0", } this.resetForm("form"); this.openType = true; diff --git a/src/views/foodManage/purchaseManage/purchaseInspection/edit.vue b/src/views/foodManage/purchaseManage/purchaseInspection/edit.vue index 775c5d11..6569d1f1 100644 --- a/src/views/foodManage/purchaseManage/purchaseInspection/edit.vue +++ b/src/views/foodManage/purchaseManage/purchaseInspection/edit.vue @@ -60,7 +60,7 @@ --> - + { - console.log(response); - if (response.rows) { - // 从接口返回的数据中提取用户选项 - this.contractPersonOptions = response.rows.map(user => ({ - value: user.userId, // 下拉框绑定的值 - label: user.userName, // 下拉框显示的文本 - })); + fetchUsers() { + let param = { + pageNum:1, + pageSize: 1000, + roleIds: 130, // 过滤角色 + } + fetchUsers(param).then((response) => { + console.log(response); + if (response.rows) { + // 从接口返回的数据中提取用户选项 + this.contractPersonOptions = response.rows.map(user => ({ + value: user.userId+'', // 下拉框绑定的值 + label: user.userName, // 下拉框显示的文本 + })); } - }); - }, + }); + }, // 返回列表页 jumpList() { const obj = { path: "foodManage/purchaseManage/inspectionEdit" }; diff --git a/src/views/foodManage/purchaseManage/purchasePlan/detail.vue b/src/views/foodManage/purchaseManage/purchasePlan/detail.vue index 2c3f8b1a..36452ec6 100644 --- a/src/views/foodManage/purchaseManage/purchasePlan/detail.vue +++ b/src/views/foodManage/purchaseManage/purchasePlan/detail.vue @@ -96,7 +96,7 @@ diff --git a/src/views/foodManage/stockManage/warehouseIn/edit.vue b/src/views/foodManage/stockManage/warehouseIn/edit.vue index 35f2111b..022adb92 100644 --- a/src/views/foodManage/stockManage/warehouseIn/edit.vue +++ b/src/views/foodManage/stockManage/warehouseIn/edit.vue @@ -455,16 +455,15 @@ export default { }, //添加货品 addMaterial(){ - if(this.baseInfo.areaId!=undefined){ + if(this.baseInfo.areaId!=undefined&&this.baseInfo.warehouseId!=undefined){ this.openDialog=true this.resetQuery() setTimeout(()=>{ this.$refs.multipleTable1.clearSelection() },300) }else{ - this.$modal.msgError("请先选择区域"); - } - + this.$modal.msgError("请先选择区域,仓库"); + } }, /** 搜索按钮操作 */ handleQuery() { @@ -558,7 +557,11 @@ export default { }) } if(this.noMaterial){ - this.$modal.msgError("表格数据请填写完整!"); + if(this.baseInfo.relateOrderGoodsId&&this.baseInfo.relateOrderGoodsId!=""){ + this.$modal.msgError("当前导入的采购订单无验收无法入库!"); + }else{ + this.$modal.msgError("表格数据请填写完整!"); + } }else{ this.noMaterial = true; if(this.materialList.length>0){ @@ -654,8 +657,8 @@ export default { }); }, //导入 - importPurchaseOrder(){ - if(this.baseInfo.areaId!=undefined||this.baseInfo.warehouseId!=undefined){ + importPurchaseOrder(){ + if(this.baseInfo.areaId!=undefined&&this.baseInfo.warehouseId!=undefined){ this.openImportDialog=true this.resetQuery2() // setTimeout(()=>{ diff --git a/src/views/foodManage/supplierFunction/supplierQuotation/edit.vue b/src/views/foodManage/supplierFunction/supplierQuotation/edit.vue index b9b96cae..a16d4b4a 100644 --- a/src/views/foodManage/supplierFunction/supplierQuotation/edit.vue +++ b/src/views/foodManage/supplierFunction/supplierQuotation/edit.vue @@ -58,7 +58,7 @@ }" @change="handleAreaChange"> --> - + {{ baseInfo.supplierName }}