Browse Source

缺陷:HL-5834申请导入修改

hella_online_20240924
zhaoxuebing 2 months ago
parent
commit
53e6ba8563
  1. 5
      src/api/wms/purchasereturnRequestMain/index.ts
  2. 4
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMOrderTypeMain/index.vue

5
src/api/wms/purchasereturnRequestMain/index.ts

@ -126,6 +126,11 @@ export const importTemplateNew = () => {
return request.download({ url: '/wms/purchasereturn-request-main/get-import-template-new' })
}
// 下载用户导入模板(新)
export const importTemplateMorderType = () => {
return request.download({ url: '/wms/purchasereturn-request-main/get-import-template-mordertype' })
}
// 关闭采购退货申请主 Excel
export const closePurchasereturnRequestMain = async (id) => {
return await request.put({ url: `/wms/purchasereturn-request-main/close?id=` + id })

4
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMOrderTypeMain/index.vue

@ -144,7 +144,7 @@
<!-- 导入 -->
<ImportForm
ref="importFormRef"
url="/wms/purchasereturn-request-main/importNew"
url="/wms/purchasereturn-request-main/importMorderType"
:importTemplateData="importTemplateData"
@success="importSuccess"
:updateIsDisable="true"
@ -1130,6 +1130,6 @@ const showLabelSuccess = async (formField, searchField, val, formRef, type, row)
/** 初始化 **/
onMounted(async () => {
getList()
importTemplateData.templateUrl = await PurchasereturnRequestMainApi.importTemplateNew()
importTemplateData.templateUrl = await PurchasereturnRequestMainApi.importTemplateMorderType()
})
</script>

Loading…
Cancel
Save