|
@@ -27,7 +27,8 @@
|
|
|
</view>
|
|
|
<view v-if="pageType=='replenishmentSign'||pageType=='manualPrint'||pageType=='scanCodePrint'">
|
|
|
{{item.billState == 'FINISH'?'签收数量':'补货数量'}}:
|
|
|
- <text class="pnums">{{item.qty||item.qty==0?item.qty:'--'}}{{item.product&&item.product.unit?item.product.unit:'--'}}</text>
|
|
|
+ <text class="pnums" v-if="item.billState == 'FINISH'">{{item.putQty||item.putQty==0?item.putQty:'--'}}{{item.product&&item.product.unit?item.product.unit:'--'}}</text>
|
|
|
+ <text class="pnums" v-else>{{item.qty||item.qty==0?item.qty:'--'}}{{item.product&&item.product.unit?item.product.unit:'--'}}</text>
|
|
|
</view>
|
|
|
<view v-if="pageType=='replenishmentOut'">
|
|
|
补货数量<text class="pnums">{{item.qty||item.qty==0?item.qty:'--'}}{{item.product&&item.product.unit?item.product.unit:'--'}}</text>
|
|
@@ -74,7 +75,7 @@
|
|
|
<view class="pcurnums flex align_center" v-if="pageType=='manualPrint'">
|
|
|
<text>打印数量</text>
|
|
|
<view class="u-ninput">
|
|
|
- <u-number-box color="#000" :input-height="60" bg-color="#fff" v-model="item.printQty" :min="1" :max="item.confirmQty"></u-number-box>
|
|
|
+ <u-number-box color="#000" :input-height="60" bg-color="#fff" v-model="item.printQty" :min="1" :max="999999"></u-number-box>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -135,10 +136,10 @@
|
|
|
}else if(_this.pageType=='replenishmentOut'||_this.pageType=='sendOutGoods'){ // 补货出库
|
|
|
this.totalNums = this.totalNums + item.qty
|
|
|
}else if(_this.pageType=='manualPrint'){ // 补货-手动打印
|
|
|
- this.totalNums = this.totalNums + item.qty
|
|
|
+ this.totalNums = this.totalNums + (item.billState == 'FINISH' ? item.putQty : item.qty)
|
|
|
item.printQty = item.printQty ? item.printQty : 1
|
|
|
}else if(_this.pageType=='scanCodePrint'){ // 补货-扫码打印
|
|
|
- this.totalNums = this.totalNums + item.qty
|
|
|
+ this.totalNums = this.totalNums + (item.billState == 'FINISH' ? item.putQty : item.qty)
|
|
|
item.printQty = item.printQty ? item.printQty : 1
|
|
|
}else if(_this.pageType=='replenishmentDetail'){ // 补货详情-已完成
|
|
|
this.totalNums = this.totalNums + item.putQty
|