Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
4e5feb6b
Commit
4e5feb6b
authored
Jan 02, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed
parent
93362a6a
Pipeline
#4422
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
sales-info.vue
src/pages/contractCreate/sales-info.vue
+14
-1
No files found.
src/pages/contractCreate/sales-info.vue
View file @
4e5feb6b
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment