Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
1d24e683
Commit
1d24e683
authored
Sep 29, 2022
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户信息修改失败
http://zentao.jdshangmen.com/bug-view-683.html
parent
249d6ae6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
edit.vue
src/views/ecw/customer/edit.vue
+6
-3
No files found.
src/views/ecw/customer/edit.vue
View file @
1d24e683
...
@@ -381,7 +381,7 @@
...
@@ -381,7 +381,7 @@
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"开票电话"
prop=
"billingTell"
>
<el-form-item
label=
"开票电话"
prop=
"billingTell"
>
<el-input
v-model=
"form.billingTell"
placeholder=
"请输入开票电话"
/>
<el-input
v-model=
"form.billingTell"
placeholder=
"请输入开票电话"
maxlength=
"50"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
...
@@ -589,13 +589,16 @@ export default {
...
@@ -589,13 +589,16 @@ export default {
this
.
$modal
.
msgError
(
"
至少填写一个联系人信息
"
);
this
.
$modal
.
msgError
(
"
至少填写一个联系人信息
"
);
return
return
}
}
const
form
=
{...
this
.
form
,
type
:
this
.
form
.
type
?.
join
(
'
,
'
),
taxRate
:
Number
(
this
.
form
.
taxRate
)}
// 修改的提交
// 修改的提交
if
(
this
.
form
.
id
!=
null
)
{
if
(
this
.
form
.
id
!=
null
)
{
this
.
form
.
customerContacts
.
forEach
(
e
=>
{
this
.
form
.
customerContacts
.
forEach
(
e
=>
{
e
.
customerId
=
this
.
customerId
e
.
customerId
=
this
.
customerId
})
})
updateCustomer
(
this
.
form
).
then
(
response
=>
{
updateCustomer
(
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"
修改成功
"
);
this
.
$modal
.
msgSuccess
(
"
修改成功
"
);
this
.
open
=
false
;
this
.
open
=
false
;
// this.getList();
// this.getList();
...
@@ -607,7 +610,7 @@ export default {
...
@@ -607,7 +610,7 @@ export default {
return
;
return
;
}
}
// 添加的提交
// 添加的提交
createCustomer
(
this
.
form
).
then
(
response
=>
{
createCustomer
(
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"
新增成功
"
);
this
.
$modal
.
msgSuccess
(
"
新增成功
"
);
this
.
open
=
false
;
this
.
open
=
false
;
// this.getList();
// this.getList();
...
...
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