|
@@ -494,9 +494,7 @@ export const exportWordHandler = async (type: EXPORT_WORD_ENUM, data: Record<any
|
|
|
case EXPORT_WORD_ENUM.COLLECTION_INVENTORY:
|
|
|
temp = {
|
|
|
...temp,
|
|
|
- year: date.format('YYYY'),
|
|
|
- month: date.format('MM'),
|
|
|
- day: date.format('DD')
|
|
|
+ sonNum2: dayjs(temp.date).format('YYYY') + temp.num
|
|
|
}
|
|
|
temp.goods.forEach((i: any) => {
|
|
|
i.checker = i.cusForm[`${i.id}-checker`]
|
|
@@ -538,7 +536,8 @@ export const exportWordHandler = async (type: EXPORT_WORD_ENUM, data: Record<any
|
|
|
temp = {
|
|
|
...temp,
|
|
|
sonSource: resJiLianFu(temp.sonSource),
|
|
|
- createTime: dayjs(temp.createTime).format('YYYY年MM月DD日')
|
|
|
+ sonNum2: dayjs(temp.date).format('YYYY') + temp.num,
|
|
|
+ date: dayjs(temp.date).format('YYYY年MM月DD日')
|
|
|
}
|
|
|
break
|
|
|
case EXPORT_WORD_ENUM.COLLECTION_RELOCATION:
|