From 1ad58ec2f9896a799df8d253f00bf8ac711f76d1 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Thu, 14 Nov 2024 18:04:57 +0800 Subject: [PATCH] =?UTF-8?q?11/14=20=E6=A7=BD=E4=BD=8D=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/workplace/workplaceQueue.vue | 139 ++++++++++++++++++- 1 file changed, 132 insertions(+), 7 deletions(-) diff --git a/src/views/basic/workplace/workplaceQueue.vue b/src/views/basic/workplace/workplaceQueue.vue index 14e43ac1..eace211d 100644 --- a/src/views/basic/workplace/workplaceQueue.vue +++ b/src/views/basic/workplace/workplaceQueue.vue @@ -18,11 +18,90 @@ + + + +
- 显示/隐藏搜索栏 + 高级搜索 维护绑定关系 @@ -45,8 +124,8 @@ - - + + @@ -57,14 +136,22 @@ - + @@ -150,6 +237,7 @@ 提交
+ @@ -165,6 +253,7 @@ import { bind, removeProduct } from '@/api/basic/workPlace/SysWorkplaceQueue' +import { executeFuc, getHead } from '@/utils/customConfig' const formJson = { site_id: "", @@ -177,7 +266,22 @@ export default { name: "workplaceQueue", data() { return { - showSearch: true, + //页面配置 + executeFuc(row, type, clickFuc, value) { + return executeFuc(this, row, type, clickFuc, value); + }, + executeEval(row, expression, defaultRet) { + if (expression) { + return eval(expression); + } + return defaultRet; + }, + tableObj: [], + queryList: [], + tableHeader: [], + fromList: [], + + showSearch: false, invList: [], list: [], total: 0, @@ -264,7 +368,8 @@ export default { ylqxzcrbarmc: null, zczbhhzbapzbh: null, page: 1, - limit: 20 + limit: 20, + keyWords:"" }, codeTotal: 0, codeDetailLoading: false, @@ -500,8 +605,20 @@ export default { onCodeReset() { this.codeQuery = { orderIdFk: null, + scanCode: null, + code: null, + orderId: null, + status: null, + invCode: null, + nameCode: null, + cpmctymc: null, + ggxh: null, + batchNo: null, + ylqxzcrbarmc: null, + zczbhhzbapzbh: null, page: 1, - limit: 20 + limit: 20, + keyWords:"" }; this.getCodeDetailList(); }, @@ -606,6 +723,13 @@ export default { }; }, created() { + getHead("workplaceQueue-cwgl", "1").then((re) => { + // 处理返回的数据 + this.tableObj = re.data; + this.tableHeader = re.data.tableList; + this.queryList = re.data.queryList; + this.fromList = re.data.fromList; + }); this.getCodeDetailList(); }, }; @@ -618,4 +742,5 @@ export default { .el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner { box-shadow: none !important; } +