From 09542900534645e28c23f16caa94aa8a2c20cc5b Mon Sep 17 00:00:00 2001 From: payne <bzrlw2012@163.com> Date: 周五, 03 5月 2024 16:10:02 +0800 Subject: [PATCH] 往来单位助记码功能调整为 中文名称输入立即调用接口实现 --- iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabItem/WmsControlRule/index.vue | 69 ++++++++++++++++++++++++---------- 1 files changed, 49 insertions(+), 20 deletions(-) diff --git a/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabItem/WmsControlRule/index.vue b/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabItem/WmsControlRule/index.vue index e0ad10c..fe74e81 100644 --- a/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabItem/WmsControlRule/index.vue +++ b/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsMaterial/tabItem/WmsControlRule/index.vue @@ -56,17 +56,17 @@ </a-col> <a-col :md="8" :sm="24"> - <a-form-item label="鍒涘缓鑰呭悕绉�"> - <a-input v-model="queryParam.createdUserName" allow-clear placeholder="璇疯緭鍏ュ垱寤鸿�呭悕绉�" /> + <a-form-item label="鍒涘缓浜�"> + <a-input v-model="queryParam.createdUserName" allow-clear placeholder="璇疯緭鍏ュ垱寤轰汉" /> </a-form-item> </a-col> <a-col :md="8" :sm="24"> - <a-form-item label="淇敼鑰呭悕绉�"> - <a-input v-model="queryParam.updatedUserName" allow-clear placeholder="璇疯緭鍏ヤ慨鏀硅�呭悕绉�" /> + <a-form-item label="淇敼浜�"> + <a-input v-model="queryParam.updatedUserName" allow-clear placeholder="璇疯緭鍏ヤ慨鏀逛汉" /> </a-form-item> </a-col> </template> - + <a-col :md="8" :sm="24"> <span class="table-page-search-submitButtons"> <a-button type="primary" @click="$refs.table.refresh(true)">鏌ヨ</a-button> @@ -84,7 +84,7 @@ </div> <a-card :bordered="false"> <s-table ref="table" :columns="columns" :data="loadData" :alert="true" @changeTablePage="pageInfo = $event" - :scroll="{ x: true}" :rowKey="record => record.id" + :scroll="{ x: true }" :rowKey="record => record.id" :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"> <template class="table-operator" slot="operator" v-if="hasPerm('WmsControlRule:add')"> <!-- <div ref="actionBar" class="actionBar"> @@ -109,22 +109,31 @@ > </div> --> </template> - <span slot="isDisabledscopedSlots" slot-scope="text"> - <div v-if="text === true"> - <a-tag color="green">鏄�</a-tag> - </div> - <div v-else-if="text == false"> - <a-tag color="volcano">鍚�</a-tag> - </div> - <div v-else=""></div> - </span> + <span slot="isNotChekscopedSlots" slot-scope="text"> + <div v-if="text===true "> + <a-tag color="green">鏄�</a-tag> + </div> + <div v-else-if="text==false"> + <a-tag color="volcano">鍚�</a-tag> + </div> + <div v-else=""></div> + </span> + <span slot="isDisabledscopedSlots" slot-scope="text"> + <div v-if="text===true "> + <a-tag color="green">鏄�</a-tag> + </div> + <div v-else-if="text==false"> + <a-tag color="volcano">鍚�</a-tag> + </div> + <div v-else=""></div> + </span> + <!-- <span slot="action" slot-scope="text, record"> <a v-if="hasPerm('WmsControlRule:getdetail')" @click="$refs.detailForm.edit(record)">璇︽儏</a> </a-popconfirm> </span> --> </s-table> - </a-card> </div> </template> @@ -144,7 +153,7 @@ export default { // mixins: [setTableHtMixin], components: { - STable, + STable }, data() { return { @@ -174,12 +183,32 @@ customCell: () => { return { style: { - 'min-width': '120px'//鏈�灏忓垪瀹借缃� + 'min-width': '150px'//鏈�灏忓垪瀹借缃� } } }, sorter: true, dataIndex: 'ruleCode' + }, + { + title: '鎺у埗灞炴�ц鍒欏悕绉�', + align: 'center', + customHeaderCell: () => { + return { + style: { + 'min-width': '150px'//鏈�灏忓垪瀹借缃� + } + } + }, + customCell: () => { + return { + style: { + 'min-width': '150px'//鏈�灏忓垪瀹借缃� + } + } + }, + sorter: true, + dataIndex: 'ruleName' }, { title: '鏈�楂樺簱瀛�', @@ -384,7 +413,7 @@ dataIndex: 'updatedTime' }, { - title: '鍒涘缓鑰呭悕绉�', + title: '鍒涘缓浜�', align: 'center', customHeaderCell: () => { return { @@ -404,7 +433,7 @@ dataIndex: 'createdUserName' }, { - title: '淇敼鑰呭悕绉�', + title: '淇敼浜�', align: 'center', customHeaderCell: () => { return { -- Gitblit v1.9.3