This website works better with JavaScript.
Home
Explore
Help
Sign In
BWPB3
/
WxXuSaleEmployeeRole
Watch
9
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Activity
Browse Source
订单提交主辅数量判断不能都为空
master
chenxuhui
7 years ago
parent
85dcb0d64c
commit
90ffa921eb
2 changed files
with
4 additions
and
4 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
pages/order/detail/detail.js
+2
-2
pages/order/newBill/newBill.js
+ 2
- 2
pages/order/detail/detail.js
View File
@ -545,9 +545,9 @@ Page({
}
)
}
)
return
;
return
;
}
}
if
(
dmo
.
Details
[
i
]
.
UnitNum
==
null
)
{
if
(
dmo
.
Details
[
i
]
.
UnitNum
==
null
&&
dmo
.
Details
[
i
]
.
SecondNumber
==
null
)
{
wx
.
showToast
(
{
wx
.
showToast
(
{
title
:
'
报货数量不能为空
'
,
title
:
'
请输入报货数量/重量
'
,
}
)
}
)
return
;
return
;
}
}
+ 2
- 2
pages/order/newBill/newBill.js
View File
@ -464,9 +464,9 @@ Page({
}
)
}
)
return
;
return
;
}
}
if
(
dmo
.
Details
[
i
]
.
UnitNum
==
null
)
{
if
(
dmo
.
Details
[
i
]
.
UnitNum
==
null
&&
dmo
.
Details
[
i
]
.
SecondNumber
==
null
)
{
wx
.
showToast
(
{
wx
.
showToast
(
{
title
:
'
报货数量不能为空
'
,
title
:
'
请输入报货数量/重量
'
,
}
)
}
)
return
;
return
;
}
}
Write
Preview
Loading…
Cancel
Save