Browse Source

翻包bug修改

intex
叶佳兴 5 hours ago
parent
commit
5e83f6c68d
  1. 2
      src/views/wms/inventoryManage/package/package.data.ts
  2. 2
      src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRecordMain/packageoverRecordMain.data.ts
  3. 14
      src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue
  4. 58
      src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/packageoverRequestMain.data.ts

2
src/views/wms/inventoryManage/package/package.data.ts

@ -99,7 +99,7 @@ export const Package = useCrudSchemas(reactive<CrudSchema[]>([
}, },
{ {
label: '背番', label: '背番',
field: 'itemDesc1', field: 'backNumber',
sort: 'custom', sort: 'custom',
isSearch:true, isSearch:true,
table: { table: {

2
src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRecordMain/packageoverRecordMain.data.ts

@ -300,7 +300,7 @@ export const PackageoverDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
{ {
label: '背番', label: '背番',
field: 'itemDesc1', field: 'backNumber',
isSearch:true, isSearch:true,
sort: 'custom', sort: 'custom',
table: { table: {

14
src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue

@ -118,6 +118,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
newRow['uom'] = item['uom'] newRow['uom'] = item['uom']
newRow['qty'] = item['qty'] newRow['qty'] = item['qty']
newRow['batch'] = item['batch'] newRow['batch'] = item['batch']
newRow['backNumber'] = item['backNumber']
newRow['fromLocationCode'] = item['locationCode'] newRow['fromLocationCode'] = item['locationCode']
newRow['toLocationCode'] = item['locationCode'] newRow['toLocationCode'] = item['locationCode']
newRow['fromLocationGroupCode'] = item['locationGroupCode'] newRow['fromLocationGroupCode'] = item['locationGroupCode']
@ -156,6 +157,7 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => {
setV['uom'] = val[0]['uom'] setV['uom'] = val[0]['uom']
setV['qty'] = val[0]['qty'] setV['qty'] = val[0]['qty']
setV['batch'] = val[0]['batch'] setV['batch'] = val[0]['batch']
setV['backNumber'] = val[0]['backNumber']
setV['fromLocationCode'] = val[0]['locationCode'] setV['fromLocationCode'] = val[0]['locationCode']
setV['toLocationCode'] = val[0]['locationCode'] setV['toLocationCode'] = val[0]['locationCode']
setV['fromLocationGroupCode'] = val[0]['locationGroupCode'] setV['fromLocationGroupCode'] = val[0]['locationGroupCode']
@ -240,12 +242,12 @@ const butttondata = (row,$index) => {
return [] return []
} }
return [ return [
// defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:packageover-request-main:close'}), // defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']), hasPermi:'wms:packageover-request-main:close'}), //
// defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:packageover-request-main:reAdd'}), // defaultButtons.mainListReAddBtn({hide:isShowMainButton(row,['4','5']), hasPermi:'wms:packageover-request-main:reAdd'}), //
// defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:packageover-request-main:submit'}), // defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:packageover-request-main:submit'}), //
// defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:packageover-request-main:refused'}), // defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:packageover-request-main:refused'}), //
// defaultButtons.mainListApproveBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:packageover-request-main:agree'}), // defaultButtons.mainListApproveBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:packageover-request-main:agree'}), //
// defaultButtons.mainListHandleBtn({hide:isShowMainButton(row,['3']), hasPermi:'wms:packageover-request-main:handle'}), // defaultButtons.mainListHandleBtn({hide:isShowMainButton(row,['3']), hasPermi:'wms:packageover-request-main:handle'}), //
// defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:packageover-request-main:update'}), // // defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:packageover-request-main:update'}), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:issue-request-main:delete'}), // // defaultButtons.mainListDeleteBtn({hasPermi:'wms:issue-request-main:delete'}), //
] ]

58
src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/packageoverRequestMain.data.ts

@ -42,25 +42,25 @@ export const PackageoverRequestMain = useCrudSchemas(
isForm: false, isForm: false,
isSearch: true isSearch: true
}, },
// { {
// label: '状态', label: '状态',
// field: 'status', field: 'status',
// dictType: DICT_TYPE.REQUEST_STATUS, dictType: DICT_TYPE.REQUEST_STATUS,
// dictClass: 'string', dictClass: 'string',
// isSearch: true, isSearch: true,
// isTable: true, isTable: true,
// isForm: false, isForm: false,
// sort: 'custom', sort: 'custom',
// table: { table: {
// width: 150 width: 150
// }, },
// form: { form: {
// value: '1', value: '1',
// componentProps: { componentProps: {
// disabled: true disabled: true
// } }
// } }
// }, },
{ {
label: '申请时间', label: '申请时间',
field: 'requestTime', field: 'requestTime',
@ -487,15 +487,15 @@ export const PackageoverRequestMain = useCrudSchemas(
isTable: false, isTable: false,
isForm: false isForm: false
}, },
// { {
// label: '操作', label: '操作',
// field: 'action', field: 'action',
// isForm: false, isForm: false,
// table: { table: {
// width: 180, width: 180,
// fixed: 'right' fixed: 'right'
// } }
// } }
]) ])
) )
@ -589,7 +589,7 @@ export const PackageoverRequestDetail = useCrudSchemas(
}, },
{ {
label: '背番', label: '背番',
field: 'itemDesc1', field: 'backNumber',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150

Loading…
Cancel
Save