Browse Source

备件领用修改

master_hella_20240701
zhaoxuebing 7 months ago
parent
commit
5d642ea50b
  1. 3
      src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue
  2. 1
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue

3
src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue

@ -345,7 +345,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await UnplannedissueRequestMainApi.exportUnplannedissueRequestMain(tableObject.params)
download.excel(data, '计划外出库申请主.xlsx')
download.excel(data, '备件领用申请.xlsx')
} catch {
} finally {
exportLoading.value = false
@ -396,6 +396,7 @@ const submitForm = async (formType, data) => {
await UnplannedissueRequestMainApi.createUnplannedissueRequestMain(data)
message.success(t('common.createSuccess'))
} else {
data.dataType='2'
await UnplannedissueRequestMainApi.updateUnplannedissueRequestMain(data)
message.success(t('common.updateSuccess'))
}

1
src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue

@ -396,6 +396,7 @@ const submitForm = async (formType, data) => {
await UnplannedissueRequestMainApi.createUnplannedissueRequestMain(data)
message.success(t('common.createSuccess'))
} else {
data.dataType='1'
await UnplannedissueRequestMainApi.updateUnplannedissueRequestMain(data)
message.success(t('common.updateSuccess'))
}

Loading…
Cancel
Save