Browse Source

批量添加花材

shish 3 years ago
parent
commit
1b0adf5541
1 changed files with 2 additions and 1 deletions
  1. 2 1
      ghs/src/views/item/import.vue

+ 2 - 1
ghs/src/views/item/import.vue

@@ -372,7 +372,6 @@ export default {
         checkList.forEach((item, index) => {
           item.select = 1
           item.Uselect = false
-          // this.rightItemList.splice(item, 1);
           let i = this.rightItemList.findIndex(val => val.id == item.id)
           this.rightItemList.splice(i, 1)
         })
@@ -421,6 +420,8 @@ export default {
         obj.itemId = item.id
         obj.classId = this.ptRightId
         obj.price = item.price
+        obj.skPrice = item.skPrice
+        obj.cost = item.cost
         obj.name = item.uname
         param.push(obj)
       })