Commit bc193d38 by liwk

commit

1 parent ff9e2fee
...@@ -12,7 +12,6 @@ const request = (params = {}, url, method = RequestMethods.POST, noSignAttr = [] ...@@ -12,7 +12,6 @@ const request = (params = {}, url, method = RequestMethods.POST, noSignAttr = []
params.v = '1.0.0' params.v = '1.0.0'
params.format = 'json' params.format = 'json'
params.locale = 'zh_CN' params.locale = 'zh_CN'
console.log('开始')
let data = sign(params, noSignAttr) let data = sign(params, noSignAttr)
return GlAxios.post('router', data) return GlAxios.post('router', data)
} }
......
...@@ -399,7 +399,6 @@ export default { ...@@ -399,7 +399,6 @@ export default {
productId, productId,
supplier: 'HW' supplier: 'HW'
}).then(({ code, message, data }) => { }).then(({ code, message, data }) => {
if (code == 0) { if (code == 0) {
console.log(data) console.log(data)
this.ruleForm.brandName = data.brandName this.ruleForm.brandName = data.brandName
...@@ -459,6 +458,11 @@ export default { ...@@ -459,6 +458,11 @@ export default {
this.createGoods('updateGoods') this.createGoods('updateGoods')
return return
} }
this.brandNameList.map(e => {
if (e.brandId == this.ruleForm.brandId) this.ruleForm.brandName = e.brandName
})
console.log(this.ruleForm)
let { supplier, brandId, productId } = this.ruleForm let { supplier, brandId, productId } = this.ruleForm
orderApi.sameGoodsCheck({ orderApi.sameGoodsCheck({
supplier, supplier,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!