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 | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/views/operate/outEnterLibrary/index.vue b/src/views/operate/outEnterLibrary/index.vue index 9eb2e60..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> @@ -42,6 +43,7 @@ v-if="editConfig.visible" :edit-common-config="editConfig" :add-name="addName" + :workType="workType" /> </div> </template> @@ -77,11 +79,11 @@ }, params: {}, baseOperationTypeList:getDataByType("baseOperationTypeTwo"), + workType:-1 } }, created() { this.setTable() - console.log(this.$route.params) var paramsList = sessionStorage.getItem("paramsList") let params = {} if (paramsList) { @@ -91,7 +93,7 @@ sessionStorage.setItem("paramsList", JSON.stringify(params)) } this.params = params - console.log(this.params,'====111') + console.log(this.params,'璺敱鍙傛暟') this.getData() }, // 椤甸潰閿�姣佷箣鍓� @@ -145,11 +147,11 @@ }, { label: "涓氬姟绫诲瀷", - prop: "baseOperationType", + prop: "operationTypeName", isShowColumn: true, default: true, - conversion: true, - getStatus: this.getBaseOperationTypeList + // conversion: true, + // getStatus: this.getBaseOperationTypeList }, { label: "浠�", @@ -219,6 +221,7 @@ async getData() { if (this.params.name === "鎶ヨ〃") { await listByCondition({ + // condition:"", keyWord:this.params.keyWord, produceId:this.params.produceId, unit:this.params.unit, @@ -268,9 +271,13 @@ this.getData() }, tableRowClick(row,val) { + 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