|
|
@ -247,9 +247,14 @@ |
|
|
|
}) |
|
|
|
} else if (datas.length == 1) { |
|
|
|
let balance = datas[0]; |
|
|
|
if(balance.qty>0){ |
|
|
|
this.packCallBack(balance); |
|
|
|
}else { |
|
|
|
this.showErrorMessage(this.getQueryCondition() + '<br>查找到库存记录数量为['+balance.qty+"],<br>不可以进行操作", res => { |
|
|
|
this.packGetFocus(); |
|
|
|
}) |
|
|
|
} |
|
|
|
} else { |
|
|
|
|
|
|
|
this.showBalanceSelect(datas); |
|
|
|
} |
|
|
|
}, |
|
|
@ -259,7 +264,13 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
selectBalanceItem(balance) { |
|
|
|
if(balance.qty>0){ |
|
|
|
this.packCallBack(balance); |
|
|
|
}else { |
|
|
|
this.showErrorMessage(this.getQueryCondition() + '<br>查找到库存记录数量为['+balance.qty+"],不可以进行操作", res => { |
|
|
|
this.packGetFocus(); |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
packCallBack(item) { |
|
|
|