|
@@ -745,7 +745,7 @@ Page({
|
|
|
if (this.data.item == Constants.billType.sale) {
|
|
if (this.data.item == Constants.billType.sale) {
|
|
|
return this.excute(this.data.commonService, this.data.commonService.getGoodsForOrderByPage, params);
|
|
return this.excute(this.data.commonService, this.data.commonService.getGoodsForOrderByPage, params);
|
|
|
} else if (this.data.item == Constants.billType.out || this.data.item == Constants.billType.purReturn || this.data.item == Constants.billType.inventory) {
|
|
} else if (this.data.item == Constants.billType.out || this.data.item == Constants.billType.purReturn || this.data.item == Constants.billType.inventory) {
|
|
|
- params.invQtyFlag = true
|
|
|
|
|
|
|
+ // params.invQtyFlag = true //bug7629 盘点要能查到0库存
|
|
|
return this.excute(this.data.inventoryService, this.data.inventoryService.selectByCond, params);
|
|
return this.excute(this.data.inventoryService, this.data.inventoryService.selectByCond, params);
|
|
|
} else if (this.data.item == Constants.billType.saleOut || this.data.item == Constants.billType.saleOutReturn) {
|
|
} else if (this.data.item == Constants.billType.saleOut || this.data.item == Constants.billType.saleOutReturn) {
|
|
|
return this.excute(this.data.commonService, this.data.commonService.getGoodsForOrder, params);
|
|
return this.excute(this.data.commonService, this.data.commonService.getGoodsForOrder, params);
|