Commit 7ee56290 by caoyanzhi

update: 奥莱抵金券

parent 01d70a0f
......@@ -521,11 +521,13 @@ export default {
const { importId, importCount, importSuccessCount, importDuplicateCount, costStoreList } = res.result;
this.importCost.costStoreList = costStoreList;
this.$message.success(`上传${importCount}条数据,${importDuplicateCount > 0 ? `${importDuplicateCount}条数据重复,` : ''}${importSuccessCount}条数据上传成功`);
if (importCount - importSuccessCount > 0) {
if (importCount - importSuccessCount - importDuplicateCount > 0) {
this.importCost.options.downloadTemplate.splice(1, 1, {
url: `/api-marketing/download-cost-store-error?requestProject=marketing&importId=${importId}`,
name: '下载错误数据'
});
} else {
this.importCost.options.downloadTemplate.splice(1, 1);
}
})
.finally(() => {
......
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