戴艳蓉 před 3 roky
rodič
revize
a75ca7f792

+ 1 - 2
src/views/goodStore/goodsCost/components/baseForm.vue

@@ -1364,7 +1364,7 @@ export default {
       let ffindex = -1;
       this.spec_tableData.forEach((i, findex) => {
         if (i.spec_id === spec_id) {
-          ffindex === findex;
+          ffindex = findex;
           this.spec_tableData[findex].id = id;
           this.spec_tableData[findex].spec_id = spec_id;
           this.spec_tableData[findex].spec_value = spec_value;
@@ -1380,7 +1380,6 @@ export default {
     //阶梯成本修改
     costrefreshEdit(e) {
       let item = JSON.parse(JSON.stringify(e));
-      console.log(item);
       const { index, id, cost_fee, delivery_fee, min_num, nake_fee } = item;
       let ffindex = -1;
       this.ladder_tableData.forEach((i, findex) => {