Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
5f3417a0
Commit
5f3417a0
authored
Aug 08, 2023
by
wuchun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
地接供应商修改
parent
6d28e939
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
46 deletions
+26
-46
index.vue
src/components/dmc/manager/GroundSupplier/index.vue
+26
-46
No files found.
src/components/dmc/manager/GroundSupplier/index.vue
View file @
5f3417a0
...
...
@@ -47,12 +47,12 @@
maxlength=
"-1"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<
!--
<
el-col
:span=
"4"
>
<el-form-item
label=
"财务信息:"
>
<el-input
placeholder=
""
v-model=
"msg.FinanceMan"
maxlength=
"-1"
></el-input>
</el-form-item>
</el-col>
</el-col>
-->
<el-col
:span=
"4"
>
<el-form-item
label=
"分类:"
>
<el-select
filterable
v-model=
'msg.GroundingType'
class=
""
>
...
...
@@ -89,9 +89,9 @@
<el-table-column
prop=
"LinkMan"
label=
"供应商联系人"
></el-table-column>
<el-table-column
prop=
"LinkTel"
label=
"供应商电话"
></el-table-column>
<el-table-column
prop=
"LinkDuties"
label=
"供应商职务"
></el-table-column>
<el-table-column
prop=
"FinanceMan"
label=
"财务联系人"
></el-table-column>
<
!--
<
el-table-column
prop=
"FinanceMan"
label=
"财务联系人"
></el-table-column>
<el-table-column
prop=
"FinanceTel"
label=
"财务电话"
></el-table-column>
<el-table-column
prop=
"FinanceDuties"
label=
"财务职务"
></el-table-column>
<el-table-column
prop=
"FinanceDuties"
label=
"财务职务"
></el-table-column>
-->
<el-table-column
prop=
""
label=
"合同"
>
<template
slot-scope=
"scope"
>
<div
v-if=
"verificationFile(scope.row.ContractUrl,3)"
class=
"img-box"
>
...
...
@@ -195,8 +195,9 @@
</el-form-item>
</div>
<div
class=
"msgbox"
>
<el-form-item
label=
"供应商分类"
prop=
"GroundingType"
>
<el-select
filterable
v-model=
'form.GroundingType'
style=
"width: 100%;"
>
<el-form-item
label=
"供应商分类"
prop=
"GroundingTypeInfo"
>
<el-select
filterable
v-model=
'form.GroundingTypeInfo'
multiple
collapse-tags
style=
"width: 100%;"
>
<el-option
v-for=
"item in sortList"
:key=
"item.ID"
:value=
"item.ID"
:label=
"item.Name"
>
</el-option>
</el-select>
...
...
@@ -206,10 +207,16 @@
<el-form-item
label=
"供应商名称"
prop=
"Name"
>
<el-input
v-model=
"form.Name"
clearable
></el-input>
</el-form-item>
</div>
</div>
<div
class=
"msgbox"
>
<el-form-item
label=
"供应商地址"
prop=
"Address"
>
<el-input
v-model=
"form.Address"
clearable
></el-input>
<el-form-item
label=
"到期时间"
prop=
"ContractEndTime"
>
<el-date-picker
v-model=
"form.ContractEndTime"
type=
"date"
format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
placeholder=
"选择合同到期时间"
>
</el-date-picker>
</el-form-item>
</div>
<div
class=
"msgbox"
>
...
...
@@ -228,18 +235,8 @@
</el-form-item>
</div>
<div
class=
"msgbox"
>
<el-form-item
label=
"财务联系人"
prop=
"FinanceMan"
>
<el-input
v-model=
"form.FinanceMan"
clearable
></el-input>
</el-form-item>
</div>
<div
class=
"msgbox"
>
<el-form-item
label=
"财务电话"
prop=
"FinanceTel"
>
<el-input
v-model=
"form.FinanceTel"
clearable
></el-input>
</el-form-item>
</div>
<div
class=
"msgbox"
>
<el-form-item
label=
"财务职务"
prop=
"FinanceDuties"
>
<el-input
v-model=
"form.FinanceDuties"
clearable
></el-input>
<el-form-item
label=
"供应商地址"
prop=
"Address"
>
<el-input
v-model=
"form.Address"
clearable
></el-input>
</el-form-item>
</div>
<div
class=
"msgbox"
>
...
...
@@ -271,17 +268,7 @@
</div>
</el-form-item>
</div>
<div
class=
"msgbox"
>
<el-form-item
label=
"到期时间"
prop=
"ContractEndTime"
>
<el-date-picker
v-model=
"form.ContractEndTime"
type=
"date"
format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
placeholder=
"选择合同到期时间"
>
</el-date-picker>
</el-form-item>
</div>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"resetForm('form'),showVisible = false"
>
取 消
</el-button>
...
...
@@ -317,8 +304,7 @@
pageIndex
:
1
,
pageSize
:
10
,
Name
:
''
,
FinanceMan
:
''
,
GroundingType
:
'0'
,
GroundingType
:
''
,
LineInfo
:
''
,
LineId
:
'0'
},
...
...
@@ -333,25 +319,18 @@
LinkMan
:
''
,
LinkTel
:
''
,
LinkDuties
:
''
,
FinanceMan
:
''
,
FinanceTel
:
''
,
FinanceDuties
:
''
,
GroundingType
:
''
,
ContractUrl
:
''
,
LineInfo
:
''
,
LineId
:
[],
GroundingTypeInfo
:[],
ContractEndTime
:
''
},
rules
:{
Name
:
[{
required
:
true
,
message
:
'请输入供应商名称'
,
trigger
:
"blur"
}],
Address
:
[{
required
:
true
,
message
:
'请输入供应商地址'
,
trigger
:
"blur"
}],
LinkMan
:
[{
required
:
true
,
message
:
'请输入供应商联系人'
,
trigger
:
"blur"
}],
LinkTel
:
[{
required
:
true
,
message
:
'请输入供应商电话'
,
trigger
:
"blur"
}],
LinkDuties
:
[{
required
:
true
,
message
:
'请输入供应商职务'
,
trigger
:
"blur"
}],
FinanceMan
:
[{
required
:
true
,
message
:
'请输入财务联系人'
,
trigger
:
"blur"
}],
FinanceTel
:
[{
required
:
true
,
message
:
'请输入财务电话'
,
trigger
:
"blur"
}],
FinanceDuties
:
[{
required
:
true
,
message
:
'请输入财务职务'
,
trigger
:
"blur"
}],
GroundingType
:
[{
required
:
true
,
message
:
'请选择供应商类型'
,
trigger
:
"change"
}],
GroundingTypeInfo
:
[{
required
:
true
,
message
:
'请选择供应商类型'
,
trigger
:
"change"
}],
LineId
:
[{
required
:
true
,
message
:
'请选择路线'
,
trigger
:
"change"
}],
ContractUrl
:
[{
required
:
true
,
message
:
'请上传合同'
,
trigger
:
"buttom"
}],
ContractEndTime
:
[{
required
:
true
,
message
:
'请选择合同到期时间'
,
trigger
:
"change"
}],
...
...
@@ -390,6 +369,7 @@
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
form
=
res
.
data
.
data
this
.
form
.
LineId
=
res
.
data
.
data
.
LineInfo
.
split
(
','
).
map
(
x
=>
{
return
Number
(
x
)
})
this
.
form
.
GroundingTypeInfo
=
res
.
data
.
data
.
GroundingType
.
split
(
','
).
map
(
x
=>
{
return
Number
(
x
)
})
}
else
{
this
.
Error
(
res
.
data
.
message
)
}
...
...
@@ -415,6 +395,7 @@
// }
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
row
))
this
.
$set
(
this
.
form
,
'LineId'
,
row
.
LineInfo
.
split
(
','
).
map
(
x
=>
{
return
Number
(
x
)
}))
this
.
$set
(
this
.
form
,
'GroundingTypeInfo'
,
row
.
GroundingType
.
split
(
','
).
map
(
x
=>
{
return
Number
(
x
)
}))
}
this
.
showVisible
=
true
},
...
...
@@ -483,6 +464,7 @@
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
form
.
LineInfo
=
this
.
form
.
LineId
.
join
(
','
)
this
.
form
.
GroundingType
=
this
.
form
.
GroundingTypeInfo
.
join
(
','
)
this
.
submitLoading
=
true
this
.
apipost
(
'travel_get_SetGroundingSupplier'
,
this
.
form
,
...
...
@@ -511,13 +493,11 @@
LinkMan
:
''
,
LinkTel
:
''
,
LinkDuties
:
''
,
FinanceMan
:
''
,
FinanceTel
:
''
,
FinanceDuties
:
''
,
GroundingType
:
''
,
ContractUrl
:
''
,
LineInfo
:
''
,
LineId
:
[],
GroundingTypeInfo
:[],
ContractEndTime
:
''
}
this
.
$refs
[
formName
].
resetFields
();
...
...
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