Commit 676911cc by caoyanzhi

update: 奥莱抵金券

parent b15a7c32
......@@ -518,9 +518,9 @@ export default {
formData.append('requestProject', 'marketing');
importCostStore(formData)
.then(res => {
const { importId, importCount, importSuccessCount, costStoreList } = res.result;
const { importId, importCount, importSuccessCount, importDuplicateCount, costStoreList } = res.result;
this.importCost.costStoreList = costStoreList;
this.$message.success(`上传${importCount}条数据,${importSuccessCount}条数据上传成功`);
this.$message.success(`上传${importCount}条数据,${importDuplicateCount > 0 ? `${importDuplicateCount}条数据重复,` : ''}${importSuccessCount}条数据上传成功`);
if (importCount - importSuccessCount > 0) {
this.importCost.options.downloadTemplate.splice(1, 1, {
url: `/api-marketing/download-cost-store-error?requestProject=marketing&importId=${importId}`,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment