Commit ba971f94 by 肖康

x

parent c25f1474
Showing with 14 additions and 1 deletions
...@@ -169,7 +169,20 @@ ...@@ -169,7 +169,20 @@
this.dialogVisible = true this.dialogVisible = true
}, },
submitUpdate() { submitUpdate() {
var arr_ = {
id:this.updateBranddata[0].id,
remark:this.updateBranddata[0].remark,
internal_standard_name:this.updateBranddata[0].internal_standard_name
}
this.$http('post', "/api/brand/update_brand", arr_).then(res => {
if (res.err_code == 0) {
Message("修改成功");
this.getData()
this.dialogVisible = false
} else {
Message(res.err_msg);
}
})
}, },
querySearchAsync2(queryString, cb) { querySearchAsync2(queryString, cb) {
this.$http('get', "/api/search/getbrand", { this.$http('get', "/api/search/getbrand", {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment