|
|
@ -583,7 +583,7 @@ |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
import {queryFileId} from "@/api/qc/qc.js" |
|
|
import {queryFileId} from "@/api/qc/qc.js" |
|
|
import {previewExcel,saveEcssCoDelNotifyByExcel,getCustomerList,getCustomers,getCustomerAdd,getCustomerTemplateList,updateCustomerTemplate} from '@/api/ecss/ecss.js' |
|
|
|
|
|
|
|
|
import {previewExcel,saveEcssCoDelNotifyByExcel,getCustomerList,getCustomers,getCustomerAdd,getCustomerTemplateList,saveExcelImportTemplate} from '@/api/ecss/ecss.js' |
|
|
import {downLoadObjectFile} from '@/api/eam/eam_object_list.js' |
|
|
import {downLoadObjectFile} from '@/api/eam/eam_object_list.js' |
|
|
import {getBuList}from '@/api/factory/site.js' |
|
|
import {getBuList}from '@/api/factory/site.js' |
|
|
export default { |
|
|
export default { |
|
|
@ -1686,7 +1686,7 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
try { |
|
|
try { |
|
|
const { data } = await updateCustomerTemplate(templateData) |
|
|
|
|
|
|
|
|
const { data } = await saveExcelImportTemplate(templateData) |
|
|
|
|
|
|
|
|
if (data && data.code === 0) { |
|
|
if (data && data.code === 0) { |
|
|
// 判断是新增还是修改,给出不同的成功提示 |
|
|
// 判断是新增还是修改,给出不同的成功提示 |
|
|
|