|
...
|
...
|
@@ -107,9 +107,9 @@ class _ApplyOutStorePageState extends State<ApplyOutStorePage> { |
|
|
|
// break outerloop;
|
|
|
|
// }
|
|
|
|
|
|
|
|
if (element.checkAmount != null &&
|
|
|
|
if (element.checkAmount != null && element.checkAmount != '0'&&
|
|
|
|
element.checkAmount != '' &&
|
|
|
|
int.parse(element.checkAmount) > 0) {
|
|
|
|
int.parse(element.checkAmount ) > 0) {
|
|
|
|
//有输入数量
|
|
|
|
WineCheckModel sunMoveModel = WineCheckModel();
|
|
|
|
sunMoveModel.wineName = element.wineName;
|
|
...
|
...
|
@@ -314,6 +314,8 @@ class _ApplyOutStorePageState extends State<ApplyOutStorePage> { |
|
|
|
itemBuilder: (context, index) {
|
|
|
|
WineManageSunMoveModel wineManageModel =
|
|
|
|
widget.wineManageDetail.wineDataMove[index];
|
|
|
|
|
|
|
|
|
|
|
|
return ApplyOutStoreItemPage(
|
|
|
|
wineManageSunModel: wineManageModel,
|
|
|
|
controller: _controller,
|
|
...
|
...
|
@@ -369,7 +371,7 @@ class _ApplyOutStorePageState extends State<ApplyOutStorePage> { |
|
|
|
// }
|
|
|
|
|
|
|
|
if (element.wineNumC.text != null &&
|
|
|
|
element.wineNumC.text.trim().length > 0) {
|
|
|
|
element.wineNumC.text.trim().length > 0 &&element.wineNumC.text != '0') {
|
|
|
|
//有一个输入数量即可提交出库申请
|
|
|
|
can = true;
|
|
|
|
break outerloop;
|
...
|
...
|
|