Browse Source

包装号改成按批次

intex_online20241111
yufei_wang 4 weeks ago
parent
commit
7ed4d58c2f
  1. 4
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue
  2. 19
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

4
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue

@ -54,7 +54,7 @@
<BasicForm
ref="formRef"
:isOpenSearchTable="true"
fieldTableColumn="packingNumber"
fieldTableColumn="batch"
@success="getList"
:rules="ScrapRequestMainRules"
:formAllSchemas="ScrapRequestMain.allSchemas"
@ -179,7 +179,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
// tableData.value.push(newRow)
// })
//
if (formField == 'packingNumber') {
if (formField == 'batch') {
val = val.filter(
(item) =>
!tableData.value.find(

19
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts

@ -963,22 +963,11 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
tableForm: {
disabled: true
}
},
{
label: '包装号',
field: 'packingNumber',
sort: 'custom',
table: {
width: 150
},
tableForm:{
multiple:true,
isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择包装号',
searchField: 'packingNumber',
searchListPlaceholder: '请选择批次',
searchField: 'batch',
searchTitle: '库存余额信息',
searchAllSchemas: Balance.allSchemas,
searchPage: BalanceApi.getBalanceItemPage,
@ -1009,8 +998,8 @@ export const ScrapRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
// labelMessage: '信息提示说明!!!',
componentProps: {
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择包装号',
searchField: 'packingNumber',
searchListPlaceholder: '请选择批次',
searchField: 'batch',
searchTitle: '库存余额信息',
searchAllSchemas: Balance.allSchemas,
searchPage: BalanceApi.getBalanceItemPage,

Loading…
Cancel
Save