Browse Source

缺陷:HL-4998更新配置

hella_online_20241107
zhaoxuebing 1 month ago
parent
commit
20ee40b2a6
  1. 5
      src/api/wms/purchasereceiptJobMain/index.ts
  2. 11
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue

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

@ -139,3 +139,8 @@ export const acceptPurchasereceiptJobMain = (id: number) => {
export const refusalPurchasereceiptJobMain = (data) => {
return request.post({ url: '/wms/purchasereceipt-job-main/refusal',data})
}
// 更新任务配置
export const updatePurchasereceiptJobConfig = () => {
return request.put({ url: '/wms/purchasereceipt-job-main/updatePurchasereceiptJobConfig'})
}

11
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue

@ -189,7 +189,16 @@ const buttonBaseClick = (val, item) => {
handleExport()
}else if(val == 'updateTaskSetting'){
//
try {
// loading
loadStart()
PurchasereceiptJobMainApi.updatePurchasereceiptJobConfig()
buttonBaseClick('refresh',null)
message.success(t('更新成功'))
} catch {
} finally {
loadDone()
}
} else if (val == 'refresh') { //
if (tableObject.params.filters && tableObject.params.filters.length > 0 ) {
searchFormClick({

Loading…
Cancel
Save