|
@@ -27,18 +27,18 @@
|
|
</view>
|
|
</view>
|
|
<view v-if="pageType=='replenishmentSign'||pageType=='manualPrint'||pageType=='scanCodePrint'">
|
|
<view v-if="pageType=='replenishmentSign'||pageType=='manualPrint'||pageType=='scanCodePrint'">
|
|
{{item.billState == 'FINISH'?'签收数量':'补货数量'}}:
|
|
{{item.billState == 'FINISH'?'签收数量':'补货数量'}}:
|
|
- <text class="pnums">{{item.confirmQty||item.confirmQty==0?item.confirmQty:'--'}}{{item.product&&item.product.unit?item.product.unit:'--'}}</text>
|
|
|
|
|
|
+ <text class="pnums">{{item.qty||item.qty==0?item.qty:'--'}}{{item.product&&item.product.unit?item.product.unit:'--'}}</text>
|
|
</view>
|
|
</view>
|
|
<view v-if="pageType=='replenishmentOut'">
|
|
<view v-if="pageType=='replenishmentOut'">
|
|
- 补货数量<text class="pnums">{{item.confirmQty||item.confirmQty==0?item.confirmQty:'--'}}{{item.product&&item.product.unit?item.product.unit:'--'}}</text>
|
|
|
|
|
|
+ 补货数量<text class="pnums">{{item.qty||item.qty==0?item.qty:'--'}}{{item.product&&item.product.unit?item.product.unit:'--'}}</text>
|
|
</view>
|
|
</view>
|
|
<view v-if="pageType=='replenishmentDetail'">
|
|
<view v-if="pageType=='replenishmentDetail'">
|
|
- 补货<text class="pnums">{{item.confirmQty||item.confirmQty==0?item.confirmQty:'--'}}</text>/
|
|
|
|
|
|
+ 补货<text class="pnums">{{item.qty||item.qty==0?item.qty:'--'}}</text>/
|
|
签收<text class="pnums">{{item.putQty||item.putQty==0?item.putQty:'--'}}</text>
|
|
签收<text class="pnums">{{item.putQty||item.putQty==0?item.putQty:'--'}}</text>
|
|
({{item.product&&item.product.unit?item.product.unit:'--'}})
|
|
({{item.product&&item.product.unit?item.product.unit:'--'}})
|
|
</view>
|
|
</view>
|
|
<view v-if="pageType=='sendOutGoods'">
|
|
<view v-if="pageType=='sendOutGoods'">
|
|
- 补货<text class="pnums">{{item.confirmQty||item.confirmQty==0?item.confirmQty:'--'}}</text>
|
|
|
|
|
|
+ 补货<text class="pnums">{{item.qty||item.qty==0?item.qty:'--'}}</text>
|
|
/已扫<text class="pnums">{{item.scanQty||item.scanQty==0?item.scanQty:'--'}}</text>
|
|
/已扫<text class="pnums">{{item.scanQty||item.scanQty==0?item.scanQty:'--'}}</text>
|
|
({{item.product&&item.product.unit?item.product.unit:'--'}})
|
|
({{item.product&&item.product.unit?item.product.unit:'--'}})
|
|
</view>
|
|
</view>
|
|
@@ -131,21 +131,21 @@
|
|
this.pageType = this.fromPage
|
|
this.pageType = this.fromPage
|
|
newValue.map(item => {
|
|
newValue.map(item => {
|
|
if(_this.pageType=='replenishmentSign'){ // 补货签收
|
|
if(_this.pageType=='replenishmentSign'){ // 补货签收
|
|
- this.totalNums = this.totalNums + item.confirmQty
|
|
|
|
|
|
+ this.totalNums = this.totalNums + item.qty
|
|
}else if(_this.pageType=='replenishmentOut'||_this.pageType=='sendOutGoods'){ // 补货出库
|
|
}else if(_this.pageType=='replenishmentOut'||_this.pageType=='sendOutGoods'){ // 补货出库
|
|
- this.totalNums = this.totalNums + item.confirmQty
|
|
|
|
|
|
+ this.totalNums = this.totalNums + item.qty
|
|
}else if(_this.pageType=='manualPrint'){ // 补货-手动打印
|
|
}else if(_this.pageType=='manualPrint'){ // 补货-手动打印
|
|
- this.totalNums = this.totalNums + item.confirmQty
|
|
|
|
|
|
+ this.totalNums = this.totalNums + item.qty
|
|
item.printQty = item.printQty ? item.printQty : 1
|
|
item.printQty = item.printQty ? item.printQty : 1
|
|
}else if(_this.pageType=='scanCodePrint'){ // 补货-扫码打印
|
|
}else if(_this.pageType=='scanCodePrint'){ // 补货-扫码打印
|
|
- this.totalNums = this.totalNums + item.confirmQty
|
|
|
|
|
|
+ this.totalNums = this.totalNums + item.qty
|
|
item.printQty = item.printQty ? item.printQty : 1
|
|
item.printQty = item.printQty ? item.printQty : 1
|
|
}else if(_this.pageType=='replenishmentDetail'){ // 补货详情-已完成
|
|
}else if(_this.pageType=='replenishmentDetail'){ // 补货详情-已完成
|
|
this.totalNums = this.totalNums + item.putQty
|
|
this.totalNums = this.totalNums + item.putQty
|
|
}else if(_this.pageType=='replenishmentDetailc'){ // 补货详情-已取消
|
|
}else if(_this.pageType=='replenishmentDetailc'){ // 补货详情-已取消
|
|
this.totalNums = this.totalNums + item.qty
|
|
this.totalNums = this.totalNums + item.qty
|
|
}else if(_this.pageType=='shuntBackDetail'){ // 调回详情-已完成
|
|
}else if(_this.pageType=='shuntBackDetail'){ // 调回详情-已完成
|
|
- this.totalNums = this.totalNums + item.confirmQty
|
|
|
|
|
|
+ this.totalNums = this.totalNums + item.qty
|
|
}else{
|
|
}else{
|
|
this.totalNums = this.totalNums + item.qty
|
|
this.totalNums = this.totalNums + item.qty
|
|
}
|
|
}
|