Browse Source

部分问题修改

yangc 8 năm trước cách đây
mục cha
commit
9d9056742c
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      components/applyPurchase/BatchPublish.vue

+ 4 - 1
components/applyPurchase/BatchPublish.vue

@@ -585,10 +585,13 @@
       modifyItemByWord: function (index, param, type) {
         if (type === 'code') {
           this.bomList.content[index].code = param
+          this.requestModify(this.bomList.content[index])
         } else if (type === 'code') {
           this.bomList.content[index].brand = param
+          this.requestModify(this.bomList.content[index])
+        } else {
+          this.$message.error('修改失败')
         }
-        this.requestModify(this.bomList.content[index])
       },
       requestModify: function (item) {
         this.$http.put('/seek/updateSeekPurchaseByBatch', item)