Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 60fb2a61
authored
Jul 05, 2024
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
精品升级补录订单 从客户档案选择客户带有太阳膜商品 提交工单时添加校验
1 parent
125e5ca3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
tabWorkOrder/pages/additionRecordOrder/additionRecordOrder.js
tabWorkOrder/pages/additionRecordOrder/additionRecordOrder.js
View file @
60fb2a6
...
@@ -559,7 +559,8 @@ Page({
...
@@ -559,7 +559,8 @@ Page({
number
:
e
.
count
,
number
:
e
.
count
,
// merchantGoodsId: e.id
// merchantGoodsId: e.id
// merchantGoodsId: e.merchantGoodsId
// merchantGoodsId: e.merchantGoodsId
merchantGoodsId
:
e
.
id
||
e
.
merchantGoodsId
merchantGoodsId
:
e
.
id
||
e
.
merchantGoodsId
,
upgradeGoodsType
:
e
.
upgradeGoodsType
// 商品分类
}
}
if
(
e
.
price
<
e
.
shopMinPrice
)
priceDisabled
=
false
if
(
e
.
price
<
e
.
shopMinPrice
)
priceDisabled
=
false
subOrderList
.
push
(
obj
)
subOrderList
.
push
(
obj
)
...
@@ -613,7 +614,11 @@ Page({
...
@@ -613,7 +614,11 @@ Page({
}
}
console
.
log
(
orderObj
)
console
.
log
(
orderObj
)
// return
// return
// 校验商品类型 精品补录 出现太阳膜商品
if
(
this
.
data
.
filmOrder
==
1
)
{
let
obj
=
orderObj
?.
subOrderList
?.
find
(
v
=>
v
.
upgradeGoodsType
==
1
)
||
{}
if
(
Object
.
keys
(
obj
).
length
)
return
this
.
showToast
(
'客户档案不匹配补单产品类型'
)
}
this
.
showLoading
(
'提交中...'
)
this
.
showLoading
(
'提交中...'
)
this
.
setData
({
this
.
setData
({
disabled
:
true
disabled
:
true
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment