|
|
@@ -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)
|