Browse Source

生产导出文件名修改

hella_online_20240819
zhang_li 3 months ago
parent
commit
a222f159b5
  1. 3
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue
  2. 3
      src/views/wms/productionManage/productredress/productredressJobMain/index.vue
  3. 3
      src/views/wms/productionManage/productredress/productredressRecordMain/index.vue
  4. 3
      src/views/wms/productionManage/productredress/productredressRequestMain/index.vue
  5. 3
      src/views/wms/productionManage/productrepair/productrepairRecordMain/index.vue
  6. 3
      src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue
  7. 3
      src/views/wms/productionManage/productscrap/productscrapJobMain/index.vue
  8. 3
      src/views/wms/productionManage/productscrap/productscrapRecordMain/index.vue
  9. 3
      src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue

3
src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue

@ -554,8 +554,9 @@ const handleExport = async () => {
await message.exportConfirm() await message.exportConfirm()
// //
exportLoading.value = true exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await ProductreceiptRequestMainApi.exportProductreceiptRequestMain(tableObject.params) const data = await ProductreceiptRequestMainApi.exportProductreceiptRequestMain(tableObject.params)
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`) download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false

3
src/views/wms/productionManage/productredress/productredressJobMain/index.vue

@ -195,8 +195,9 @@ const handleExport = async () => {
await message.exportConfirm() await message.exportConfirm()
// //
exportLoading.value = true exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await ProductredressJobMainApi.exportProductredressJobMain(tableObject.params) const data = await ProductredressJobMainApi.exportProductredressJobMain(tableObject.params)
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`) download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false

3
src/views/wms/productionManage/productredress/productredressRecordMain/index.vue

@ -139,8 +139,9 @@ const handleExport = async () => {
await message.exportConfirm() await message.exportConfirm()
// //
exportLoading.value = true exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await ProductredressRecordMainApi.exportProductredressRecordMain(tableObject.params) const data = await ProductredressRecordMainApi.exportProductredressRecordMain(tableObject.params)
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`) download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false

3
src/views/wms/productionManage/productredress/productredressRequestMain/index.vue

@ -382,8 +382,9 @@ const handleExport = async () => {
await message.exportConfirm() await message.exportConfirm()
// //
exportLoading.value = true exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await ProductredressRequestMainApi.exportProductredressRequestMain(tableObject.params) const data = await ProductredressRequestMainApi.exportProductredressRequestMain(tableObject.params)
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`) download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false

3
src/views/wms/productionManage/productrepair/productrepairRecordMain/index.vue

@ -265,8 +265,9 @@ const handleExport = async () => {
await message.exportConfirm() await message.exportConfirm()
// //
exportLoading.value = true exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await ProductrepairRecordMainApi.exportProductrepairRecordMain(tableObject.params) const data = await ProductrepairRecordMainApi.exportProductrepairRecordMain(tableObject.params)
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`) download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false

3
src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue

@ -575,8 +575,9 @@ const handleExport = async () => {
await message.exportConfirm() await message.exportConfirm()
// //
exportLoading.value = true exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await ProductrepairRequestMainApi.exportProductrepairRequestMain(tableObject.params) const data = await ProductrepairRequestMainApi.exportProductrepairRequestMain(tableObject.params)
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`) download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false

3
src/views/wms/productionManage/productscrap/productscrapJobMain/index.vue

@ -223,8 +223,9 @@ const handleExport = async () => {
await message.exportConfirm() await message.exportConfirm()
// //
exportLoading.value = true exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await ProductscrapJobMainApi.exportProductscrapJobMain(tableObject.params) const data = await ProductscrapJobMainApi.exportProductscrapJobMain(tableObject.params)
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`) download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false

3
src/views/wms/productionManage/productscrap/productscrapRecordMain/index.vue

@ -266,8 +266,9 @@ const handleExport = async () => {
await message.exportConfirm() await message.exportConfirm()
// //
exportLoading.value = true exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await ProductscrapRecordMainApi.exportProductscrapRecordMain(tableObject.params) const data = await ProductscrapRecordMainApi.exportProductscrapRecordMain(tableObject.params)
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`) download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false

3
src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue

@ -728,8 +728,9 @@ const handleExport = async () => {
await message.exportConfirm() await message.exportConfirm()
// //
exportLoading.value = true exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await ProductscrapRequestMainApi.exportProductscrapRequestMain(tableObject.params) const data = await ProductscrapRequestMainApi.exportProductscrapRequestMain(tableObject.params)
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`) download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch { } catch {
} finally { } finally {
exportLoading.value = false exportLoading.value = false

Loading…
Cancel
Save