From d68b036a3b3c67273b8effa3c9925ef3869a91ba Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期三, 07 二月 2024 13:56:50 +0800 Subject: [PATCH] wms项目 wms系统参数设置的页面开发+路由+是否显示表头配置 --- src/views/operate/outEnterLibrary/index.vue | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/views/operate/outEnterLibrary/index.vue b/src/views/operate/outEnterLibrary/index.vue index 315abca..03c0913 100644 --- a/src/views/operate/outEnterLibrary/index.vue +++ b/src/views/operate/outEnterLibrary/index.vue @@ -7,6 +7,7 @@ :placeholder="'璇锋牴鎹崟鍙枫�佷骇鍝併�佷笟鍔$被鍨嬭繘琛屾悳绱�'" :amount-view="false" @addCommonClick="addBtnClick" + :inputName="params.keyWord" @searchClick="getList" /> </div> @@ -83,7 +84,6 @@ }, created() { this.setTable() - console.log(this.$route.params) var paramsList = sessionStorage.getItem("paramsList") let params = {} if (paramsList) { @@ -93,7 +93,7 @@ sessionStorage.setItem("paramsList", JSON.stringify(params)) } this.params = params - console.log(this.params,'====111') + console.log(this.params,'璺敱鍙傛暟') this.getData() }, // 椤甸潰閿�姣佷箣鍓� @@ -147,11 +147,11 @@ }, { label: "涓氬姟绫诲瀷", - prop: "baseOperationType", + prop: "operationTypeName", isShowColumn: true, default: true, - conversion: true, - getStatus: this.getBaseOperationTypeList + // conversion: true, + // getStatus: this.getBaseOperationTypeList }, { label: "浠�", @@ -221,6 +221,7 @@ async getData() { if (this.params.name === "鎶ヨ〃") { await listByCondition({ + // condition:"", keyWord:this.params.keyWord, produceId:this.params.produceId, unit:this.params.unit, @@ -270,11 +271,13 @@ this.getData() }, tableRowClick(row,val) { - console.log(row,"鐪嬬湅") this.workType=row.baseOperationType this.editConfig.title = val getOperationInfo(row.operationId).then((res)=>{ - this.editConfig.infomation = { ...res.data } + this.editConfig.infomation = { + + ...res.data + } this.editConfig.visible = true }) // this.editConfig.visible = true -- Gitblit v1.8.0