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
c2883dda
Commit
c2883dda
authored
Oct 28, 2024
by
1483922988@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into test
parents
e247cee4
c74be372
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
19 deletions
+4
-19
edit.vue
src/views/ecw/offer/edit.vue
+3
-18
logListCommon.vue
src/views/ecw/offer/logListCommon.vue
+1
-1
No files found.
src/views/ecw/offer/edit.vue
View file @
c2883dda
...
@@ -752,20 +752,6 @@ export default {
...
@@ -752,20 +752,6 @@ export default {
}
}
if
(
this
.
form
.
relation
==
1
)
{
if
(
this
.
form
.
relation
==
1
)
{
rules
.
consignorId
=
[{
required
:
true
,
message
:
this
.
$t
(
"
发货人不能为空
"
)
}]
rules
.
consignorId
=
[{
required
:
true
,
message
:
this
.
$t
(
"
发货人不能为空
"
)
}]
// if(this.$route.query.type ==1){
// if(this.$route.query.customer.defaultContactName==null){
// rules.consignorId = [{ required: true, message: this.$t("发货人不能为空")}]
// }else{
// // rules.consignorId = [{ required: true, message: ''}]
// }
// }else {
// rules.consignorId = [{ required: true, message: this.$t("发货人不能为空")}]
// }
// else if(this.$route.query.type !=='1'){
// rules.consignorId = [{ required: true, message: this.$t("发货人不能为空")}]
// }
}
}
if
(
this
.
form
.
relation
==
2
)
{
if
(
this
.
form
.
relation
==
2
)
{
rules
.
consigneeId
=
[{
required
:
true
,
message
:
this
.
$t
(
"
收货人不能为空
"
)
}]
rules
.
consigneeId
=
[{
required
:
true
,
message
:
this
.
$t
(
"
收货人不能为空
"
)
}]
...
@@ -966,7 +952,6 @@ export default {
...
@@ -966,7 +952,6 @@ export default {
// this.form.standard = this.computedStandard
// this.form.standard = this.computedStandard
if
(
this
.
$route
.
query
.
type
==
1
)
{
if
(
this
.
$route
.
query
.
type
==
1
)
{
let
customer
=
this
.
customer
let
customer
=
this
.
customer
console
.
log
(
customer
,
"
zs
"
)
switch
(
this
.
form
.
relation
)
{
switch
(
this
.
form
.
relation
)
{
case
1
:
case
1
:
if
(
customer
.
name
!=
null
)
{
if
(
customer
.
name
!=
null
)
{
...
@@ -988,6 +973,7 @@ export default {
...
@@ -988,6 +973,7 @@ export default {
this
.
form
.
consignorEmail
=
customer
.
email
this
.
form
.
consignorEmail
=
customer
.
email
this
.
form
.
consigneeEmail
=
""
this
.
form
.
consigneeEmail
=
""
}
}
console
.
log
(
customer
,
this
.
form
,
"
zs
"
)
return
return
case
2
:
case
2
:
...
@@ -1354,11 +1340,8 @@ export default {
...
@@ -1354,11 +1340,8 @@ export default {
console
.
log
(
JSON
.
stringify
(
this
.
contactsList
))
console
.
log
(
JSON
.
stringify
(
this
.
contactsList
))
data
=
Object
.
assign
({},
this
.
form
,
{
data
=
Object
.
assign
({},
this
.
form
,
{
prodCreateReqVOList
:
this
.
getProductListWithDefaultValue
(),
prodCreateReqVOList
:
this
.
getProductListWithDefaultValue
(),
consignorId
:
this
.
customer
.
defaultContactId
,
status
status
})
})
// data.consignorId = contacts.customerContactsId
}
else
{
}
else
{
data
=
Object
.
assign
({},
this
.
form
,
{
data
=
Object
.
assign
({},
this
.
form
,
{
prodCreateReqVOList
:
this
.
getProductListWithDefaultValue
(),
prodCreateReqVOList
:
this
.
getProductListWithDefaultValue
(),
...
@@ -1366,6 +1349,8 @@ export default {
...
@@ -1366,6 +1349,8 @@ export default {
})
})
}
}
console
.
log
(
data
)
// 添加的提交
// 添加的提交
createOffer
(
data
).
then
((
response
)
=>
{
createOffer
(
data
).
then
((
response
)
=>
{
// 重置表单内容
// 重置表单内容
...
...
src/views/ecw/offer/logListCommon.vue
View file @
c2883dda
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
"
"
>
{{
$t
(
"
重置
"
)
}}
>
{{
$t
(
"
重置
"
)
}}
</el-button>
</el-button>
<el-button
type=
"success"
@
click=
"
customerFollowFn('follow'
)"
v-hasPermi=
"['ecw:customer:follow-create']"
>
{{
$t
(
"
新增
"
)
}}
</el-button>
<el-button
type=
"success"
@
click=
"
$refs['customerFollow'].handleAdd(
)"
v-hasPermi=
"['ecw:customer:follow-create']"
>
{{
$t
(
"
新增
"
)
}}
</el-button>
<el-button
type=
"warning"
@
click=
"handleExport"
v-hasPermi=
"['ecw:customer:follow-export']"
>
<el-button
type=
"warning"
@
click=
"handleExport"
v-hasPermi=
"['ecw:customer:follow-export']"
>
{{
$t
(
"
导出
"
)
}}
{{
$t
(
"
导出
"
)
}}
</el-button>
</el-button>
...
...
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