xiaodai2022 před 2 roky
rodič
revize
cca10e2905

+ 1 - 1
src/views/goodStore/active/components/baseForm.vue

@@ -530,7 +530,7 @@ export default {
       let list = JSON.parse(JSON.stringify(e));
       let list = JSON.parse(JSON.stringify(e));
       let oldList = JSON.parse(JSON.stringify(this.ruleForm.good_list));
       let oldList = JSON.parse(JSON.stringify(this.ruleForm.good_list));
       list.forEach((e, ei) => {
       list.forEach((e, ei) => {
-        let index = oldList.findIndex((a) => e.skucode === a.skucode);
+        let index = oldList.findIndex((a) => e.skuCode === a.skuCode);
         if (index === -1) {
         if (index === -1) {
           let item = JSON.parse(JSON.stringify(list[ei]));
           let item = JSON.parse(JSON.stringify(list[ei]));
           item.activity_stock = "1";
           item.activity_stock = "1";