Browse Source

YT-2686:《补料申请》增加新增功能

intex_online20250609
songguoqiang 3 weeks ago
parent
commit
1f7f889c28
  1. 3
      src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
  2. 22
      src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts

3
src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue

@ -224,7 +224,7 @@ const butttondata = (row,$index) => {
defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['1']), hasPermi:'wms:repleinsh-request-main:submit'}), //
defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:repleinsh-request-main:refused'}), //
defaultButtons.mainListApproveBtn({hide:isShowMainButton(row,['2']), hasPermi:'wms:repleinsh-request-main:handle'}), //
defaultButtons.mainListHandleBtn({hide:isShowMainButton(row,['3','7']), hasPermi:'wms:repleinsh-request-main:update'}), //
defaultButtons.mainListHandleBtn({hide:isShowMainButton(row,['3','7']), hasPermi:'wms:repleinsh-request-main:handle'}), //
defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:repleinsh-request-main:update'}), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:repleinsh-request-main:delete'}), //
]
@ -400,6 +400,7 @@ const submitForm = async (formType, submitData) => {
formRef.value.formLoading = true
try {
if (formType === 'create') {
data.sourceType = '临时补料'
await RepleinshRequestMainApi.createRepleinshRequestMain(data)
message.success(t('common.createSuccess'))
} else {

22
src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts

@ -606,17 +606,17 @@ export const RepleinshRequestMain = useCrudSchemas(
isTable: false,
isDetail: true,
isForm: false
}
// {
// label: '操作',
// field: 'action',
// isDetail: false,
// isForm: false,
// table: {
// width: 300,
// fixed: 'right'
// },
// },
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false,
table: {
width: 300,
fixed: 'right'
},
},
// {
// label: '包装规格',
// field: 'packUnit',

Loading…
Cancel
Save