Browse Source

翻包bug修改

intex
叶佳兴 1 hour 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: '背番',
field: 'itemDesc1',
field: 'backNumber',
sort: 'custom',
isSearch:true,
table: {

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

@ -300,7 +300,7 @@ export const PackageoverDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
{
label: '背番',
field: 'itemDesc1',
field: 'backNumber',
isSearch:true,
sort: 'custom',
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['qty'] = item['qty']
newRow['batch'] = item['batch']
newRow['backNumber'] = item['backNumber']
newRow['fromLocationCode'] = item['locationCode']
newRow['toLocationCode'] = item['locationCode']
newRow['fromLocationGroupCode'] = item['locationGroupCode']
@ -156,6 +157,7 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => {
setV['uom'] = val[0]['uom']
setV['qty'] = val[0]['qty']
setV['batch'] = val[0]['batch']
setV['backNumber'] = val[0]['backNumber']
setV['fromLocationCode'] = val[0]['locationCode']
setV['toLocationCode'] = val[0]['locationCode']
setV['fromLocationGroupCode'] = val[0]['locationGroupCode']
@ -240,12 +242,12 @@ const butttondata = (row,$index) => {
return []
}
return [
// 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.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:packageover-request-main:submit'}), //
// 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.mainListHandleBtn({hide:isShowMainButton(row,['3']), hasPermi:'wms:packageover-request-main:handle'}), //
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.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:packageover-request-main:submit'}), //
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.mainListHandleBtn({hide:isShowMainButton(row,['3']), hasPermi:'wms:packageover-request-main:handle'}), //
// defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:packageover-request-main:update'}), //
// 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,
isSearch: true
},
// {
// label: '状态',
// field: 'status',
// dictType: DICT_TYPE.REQUEST_STATUS,
// dictClass: 'string',
// isSearch: true,
// isTable: true,
// isForm: false,
// sort: 'custom',
// table: {
// width: 150
// },
// form: {
// value: '1',
// componentProps: {
// disabled: true
// }
// }
// },
{
label: '状态',
field: 'status',
dictType: DICT_TYPE.REQUEST_STATUS,
dictClass: 'string',
isSearch: true,
isTable: true,
isForm: false,
sort: 'custom',
table: {
width: 150
},
form: {
value: '1',
componentProps: {
disabled: true
}
}
},
{
label: '申请时间',
field: 'requestTime',
@ -487,15 +487,15 @@ export const PackageoverRequestMain = useCrudSchemas(
isTable: false,
isForm: false
},
// {
// label: '操作',
// field: 'action',
// isForm: false,
// table: {
// width: 180,
// fixed: 'right'
// }
// }
{
label: '操作',
field: 'action',
isForm: false,
table: {
width: 180,
fixed: 'right'
}
}
])
)
@ -589,7 +589,7 @@ export const PackageoverRequestDetail = useCrudSchemas(
},
{
label: '背番',
field: 'itemDesc1',
field: 'backNumber',
sort: 'custom',
table: {
width: 150

Loading…
Cancel
Save