From 7ebe57db56f4b1a45fd5ec73bc3253760abb95c4 Mon Sep 17 00:00:00 2001 From: chenfang Date: Mon, 27 May 2024 14:04:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=89=A9=E6=96=99=E9=99=8D?= =?UTF-8?q?=E7=BA=A7=E7=AD=9B=E9=80=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../relegateRequestMain.data.ts | 43 +++++++------------ .../wms/inventoryManage/balance/index.vue | 22 +++++----- 2 files changed, 27 insertions(+), 38 deletions(-) diff --git a/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/relegateRequestMain.data.ts b/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/relegateRequestMain.data.ts index 31dbe345f..edbb02d2a 100644 --- a/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/relegateRequestMain.data.ts +++ b/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/relegateRequestMain.data.ts @@ -536,33 +536,6 @@ export const RelegateRequestDetail = useCrudSchemas(reactive([ width: 120 }, }, - { - label: '到库位代码', - field: 'toLocationCode', - sort: 'custom', - tableForm:{ - isInpuFocusShow: true, // 开启查询弹窗 - searchListPlaceholder: '请选择到库位代码', - searchField: 'code', - searchTitle: '库位信息', - searchAllSchemas: Location.allSchemas, - searchPage: LocationApi.selectBusinessTypeToLocation, - }, - form: { - // labelMessage: '信息提示说明!!!', - componentProps: { - isSearchList: true, // 开启查询弹窗 - searchListPlaceholder: '请选择到库位代码', - searchField: 'code', - searchTitle: '库位信息', - searchAllSchemas: Location.allSchemas, - searchPage: LocationApi.selectBusinessTypeToLocation, - } - }, - table: { - width: 120 - }, - }, { label: '包装规格', field: 'packUnit', @@ -574,6 +547,14 @@ export const RelegateRequestDetail = useCrudSchemas(reactive([ searchTitle: '包装规格', searchAllSchemas: Itempackaging.allSchemas, searchPage: ItempackageApi.getItempackagingPage, + searchCondition:[ + { + key: 'itemCode', + value: 'downItemCode', + message: "请选择降级物料代码", + isMainValue: true + } + ] }, form: { // labelMessage: '信息提示说明!!!', @@ -584,6 +565,14 @@ export const RelegateRequestDetail = useCrudSchemas(reactive([ searchTitle: '包装规格', searchAllSchemas: Itempackaging.allSchemas, searchPage: ItempackageApi.getItempackagingPage, + searchCondition:[ + { + key: 'itemCode', + value: 'downItemCode', + message: "请选择降级物料代码", + isMainValue: true + } + ] } }, table: { diff --git a/src/views/wms/inventoryManage/balance/index.vue b/src/views/wms/inventoryManage/balance/index.vue index 93e3a6943..ea82cd331 100644 --- a/src/views/wms/inventoryManage/balance/index.vue +++ b/src/views/wms/inventoryManage/balance/index.vue @@ -189,17 +189,17 @@ const handleSelectionPoint = async ()=>{ } // 列表-操作按钮 const butttondata = [ - // { - // label: '标签信息', - // name: 'bqxx', - // hide: false, - // type: 'primary', - // icon: '', - // color: '', - // link: true, - // float:'right', - // hasPermi: '' - // }, + { + label: '标签信息', + name: 'bqxx', + hide: false, + type: 'primary', + icon: '', + color: '', + link: true, + float:'right', + hasPermi: '' + }, defaultButtons.mainListPointBtn(null), // 标签打印 // defaultButtons.mainListEditBtn({hasPermi:'wms:balance:update'}), // 编辑 // defaultButtons.mainListDeleteBtn({hasPermi:'wms:balance:delete'}), // 删除