diff --git a/src/components/ArteryPrintTemplate/ArteryPrintTemplate.vue b/src/components/ArteryPrintTemplate/ArteryPrintTemplate.vue index d3990bf4..6d8b9659 100644 --- a/src/components/ArteryPrintTemplate/ArteryPrintTemplate.vue +++ b/src/components/ArteryPrintTemplate/ArteryPrintTemplate.vue @@ -1,127 +1,248 @@ diff --git a/src/views/waybill/WaybillOrderList.vue b/src/views/waybill/WaybillOrderList.vue index 3ad2999a..334d7d08 100644 --- a/src/views/waybill/WaybillOrderList.vue +++ b/src/views/waybill/WaybillOrderList.vue @@ -13,7 +13,11 @@ --> - + { submitData.documentMakingTimeEndStr = details.query.documentMakingTime[1]; } + if (getObjType(submitData.waybillNoList) === 'string' && submitData.waybillNoList) { + submitData.waybillNoList = submitData.waybillNoList.replaceAll(',', ',').split(','); + } else delete submitData.waybillNoList; + delete submitData.createTime; delete submitData.documentMakingTime; @@ -917,6 +925,24 @@ const handleExport = () => { const submitData = { ...details.query }; + // 创建时间 + if (getObjType(details.query.createTime) === 'array' && details.query.createTime.length > 0) { + submitData.createTimeStartStr = details.query.createTime[0]; + submitData.createTimeEndStr = details.query.createTime[1]; + } + + // 创建时间 + if ( + getObjType(details.query.documentMakingTime) === 'array' && + details.query.documentMakingTime.length > 0 + ) { + submitData.documentMakingTimeStartStr = details.query.documentMakingTime[0]; + submitData.documentMakingTimeEndStr = details.query.documentMakingTime[1]; + } + + delete submitData.createTime; + delete submitData.documentMakingTime; + const res = await postExport(submitData); console.log('res :>> ', res);