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

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

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

Loading…
Cancel
Save