Browse Source

Merge remote-tracking branch 'origin/master_hella' into master_hella

hella_online_20240924
gaojs 2 months ago
parent
commit
eac2d86759
  1. 20
      src/api/wms/productreceiptRecordMain/index.ts
  2. 2
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts
  3. 1
      src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts
  4. 2
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue

20
src/api/wms/productreceiptRecordMain/index.ts

@ -102,6 +102,26 @@ export const exportProductreceiptRecordMain = async (params) => {
} }
} }
// 导出制品收货记录主 Excel
export const exportProductreceiptRecordScapMain = async (params) => {
// params.type = 'predict'
if (params.isSearch) {
// const cmd = {
// 'column':'type',
// 'action':'==',
// 'value':'predict'
// }
// params.filters.push(cmd)
delete params.isSearch
const data = {...params}
return await request.downloadPost({ url: '/wms/productreceipt-record-main/export-excel-senior-scrap', data })
} else {
return await request.download({ url: `/wms/productreceipt-record-main/export-excel-scrap`, params })
}
}
// 导出装配收货记录主 Excel // 导出装配收货记录主 Excel
export const exportProductreceiptRecordAssembleMain = async (params) => { export const exportProductreceiptRecordAssembleMain = async (params) => {
params.type = 'assemble' params.type = 'assemble'

2
src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts

@ -143,7 +143,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(
isConcatDetailSchemas: true, // 是否主子表合并 isConcatDetailSchemas: true, // 是否主子表合并
searchAllSchemas: DeliverRecordMain.allSchemas, // 查询弹窗所需类 searchAllSchemas: DeliverRecordMain.allSchemas, // 查询弹窗所需类
searchDetailSchemas: DeliverRecordDetail.allSchemas, // 查询弹窗所需类 searchDetailSchemas: DeliverRecordDetail.allSchemas, // 查询弹窗所需类
searchPage: DeliverRecordDetailApi.getDeliverRecordDetailPage, // 查询弹窗所需分页方法 searchPage: DeliverRecordDetailApi.getDeliverRecordDetailPageCustomerreturn, // 查询弹窗所需分页方法
searchCondition: [ searchCondition: [
{ {
key: 'available', key: 'available',

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

@ -566,7 +566,6 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
tableForm:{ tableForm:{
multiple:true, multiple:true,
disabled:true, disabled:true,
isShowTableFormSearch: true,
// isInpuFocusShow: true, // isInpuFocusShow: true,
searchListPlaceholder: '请选择物料代码', // 输入框占位文本 searchListPlaceholder: '请选择物料代码', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段

2
src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue

@ -290,7 +290,7 @@ const handleExport = async () => {
} }
tableObject.params.filters.push(cmd) tableObject.params.filters.push(cmd)
} }
const data = await ProductreceiptRecordMainApi.exportProductreceiptRecordMain(tableObject.params) const data = await ProductreceiptRecordMainApi.exportProductreceiptRecordScapMain(tableObject.params)
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`) download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch { } catch {
} finally { } finally {

Loading…
Cancel
Save