Commit 4e5feb6b authored by linxin's avatar linxin

fixed

parent 93362a6a
Pipeline #4422 canceled with stages
......@@ -144,6 +144,7 @@ export default {
office_name: '', // 办事处
factory_name: '',
business: '',
factoty: '', // 主机厂列表
showModal: false,
showLists: [],
user_bp_type: '', // 客户类型
......@@ -168,6 +169,18 @@ export default {
}
},
watch: {
'salesInfo.factory': {
handler (newVal, oldVal) {
this.factoty.forEach(i => {
if (i.bp_factory_id === this.salesInfo['factory']) {
this.inflow_line = i.inflow_line
this.inflow_used = i.inflow_used
this.inflow_reset = i.inflow_reset
}
})
},
immediate: true,
},
},
activated () {
......@@ -309,7 +322,7 @@ export default {
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
console.log('主机厂', res)
vm.factoty = res.lists
if (res.result === 'S') {
vm.factoryLists = res.lists.map(item => {
return {
......
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 to comment