Browse Source

修改导出api

master_hella_20240701
TengXF 5 months ago
parent
commit
075c642d5c
  1. 6
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue

6
src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue

@ -76,7 +76,7 @@
/>
<!-- 导入 -->
<ImportForm ref="importFormRef" url="/wms/deliver-plan-main/import" :importTemplateData="importTemplateData"
<ImportForm ref="importFormRef" url="/wms/deliver-plan-main/import" :importTemplateData="importTemplateData"
@success="importSuccess" :updateIsDisable="true" :coverIsDisable="true" :mode="2" :extend= "businessType"/>
</template>
@ -162,7 +162,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
})
}
// if(formField == 'itemCode') {
// row['uom'] = val[0]['customerUom']
// row['uom'] = val[0]['customerUom']
// }
//
row[formField] = val[0][searchField]
@ -414,7 +414,7 @@ const handleExport = async () => {
const data = await DeliverPlanMainApi.exportDeliverPlanMain(tableObject.params)
download.excel(data, '发货计划主.xlsx')
}else{
const data = await DeliverRequestMainApi.exportZZBJDeliverPlanMain(tableObject.params)
const data = await DeliverPlanMainApi.exportZZBJDeliverPlanMain(tableObject.params)
download.excel(data, '自制备件发货计划主.xlsx')
}
} catch {

Loading…
Cancel
Save