Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
8c4992ee
Commit
8c4992ee
authored
Mar 18, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
233563bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
17 deletions
+20
-17
supplier-form.vue
src/components/studyAbroad/supplier-form.vue
+20
-17
No files found.
src/components/studyAbroad/supplier-form.vue
View file @
8c4992ee
...
...
@@ -8,15 +8,15 @@
<div
class=
"text-caption q-mb-lg q-px-md text-grey-6"
>
供应商信息
</div>
<div
class=
"row wrap"
>
<q-input
filled
stack-label
maxlength=
"25"
:dense=
"false"
v-model=
"addMsg.Name"
ref=
"Name"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"供应商名称"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"供应商名称"
:rules=
"[val => !!val || '请填写供应商名称']"
/>
<q-input
filled
stack-label
maxlength=
"25"
:dense=
"false"
v-model=
"addMsg.LinkMan"
ref=
"LinkMan"
class=
"col-6 q-p
r-lg q-p
b-lg"
label=
"联系人"
/>
class=
"col-6 q-pb-lg"
label=
"联系人"
/>
<q-input
filled
stack-label
maxlength=
"25"
:dense=
"false"
v-model=
"addMsg.LinkTel"
ref=
"LinkTel"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"联系电话"
/>
<q-input
filled
stack-label
maxlength=
"100"
:dense=
"false"
v-model=
"addMsg.LinkAddress"
ref=
"LinkAddress"
class=
"col-6 q-p
r-lg q-p
b-lg"
label=
"地址"
/>
<q-input
filled
stack-label
maxlength=
"200"
:dense=
"false"
v-model=
"addMsg.Remark"
ref=
"Remark
"
class=
"col-
6 q-pr-lg q-pb-lg
"
label=
"备注"
/>
class=
"col-6 q-pb-lg"
label=
"地址"
/>
<q-input
filled
stack-label
:dense=
"false"
maxlength=
"200"
v-model=
"addMsg.Remark"
type=
"textarea
"
class=
"col-
12
"
label=
"备注"
/>
</div>
</q-card-section>
<q-separator
/>
...
...
@@ -95,19 +95,22 @@
},
//保存供应商
saveInfo
()
{
this
.
saveLoading
=
true
;
saveSupplier
(
this
.
addMsg
).
then
(
res
=>
{
this
.
saveLoading
=
false
this
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
timeout
:
2000
,
message
:
'数据保存成功!'
,
position
:
'top'
this
.
$refs
.
Name
.
validate
();
if
(
!
this
.
$refs
.
Name
.
hasError
)
{
this
.
saveLoading
=
true
;
saveSupplier
(
this
.
addMsg
).
then
(
res
=>
{
this
.
saveLoading
=
false
this
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
color
:
'accent'
,
timeout
:
2000
,
message
:
'数据保存成功!'
,
position
:
'top'
})
this
.
$emit
(
"success"
);
this
.
closeSaveForm
();
})
this
.
$emit
(
"success"
);
this
.
closeSaveForm
();
})
}
}
}
}
...
...
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