Commit 6c9d76f4 by caoyanzhi

update: 奥莱抵金券

parent 600326de
......@@ -537,7 +537,11 @@ export default {
.then(res => {
const { importId, importCount, importSuccessCount, importDuplicateCount, costStoreList } = res.result;
this.importCost.costStoreList = costStoreList;
this.$message.success(`上传${importCount}条数据,${importDuplicateCount > 0 ? `${importDuplicateCount}条数据重复,` : ''}${importSuccessCount}条数据上传成功`);
if (importCount == importSuccessCount) {
this.$message.success(`${importSuccessCount}条数据上传成功`);
} else {
this.$message.success(`${importSuccessCount}条数据上传成功,${importCount - importSuccessCount}条数据上传失败`);
}
if (importCount - importSuccessCount - importDuplicateCount > 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