Browse Source

供应商发货申请导出没有创建时间的时候去掉创建时间参数

hella_online_20240819
zhang_li 3 months ago
parent
commit
ff35d8c149
  1. 6
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

6
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -1164,6 +1164,7 @@ const genRecords = async (id: number) => {
/** 导出按钮操作 */
const exportLoading = ref(false) //
const handleExport = async () => {
console.log(111)
let rows: any = []
selectionRows.value.forEach((item) => {
rows = [...rows, ...item.selectionRows.map((item1) => item1.number)]
@ -1179,7 +1180,12 @@ const handleExport = async () => {
} else {
paramsData = { ...paramsData, checkNums: rows }
}
console.log(tableObject.params)
console.log(paramsData)
console.log('批量导出', paramsData)
if (!paramsData.createTime || paramsData.createTime && paramsData.createTime.length == 0) {
delete paramsData.createTime
}
try {
//
await message.exportConfirm()

Loading…
Cancel
Save