|
@@ -2,7 +2,7 @@
|
|
<view class="partList-box">
|
|
<view class="partList-box">
|
|
<view class="partList-title flex align_center justify_between">
|
|
<view class="partList-title flex align_center justify_between">
|
|
<text>{{title}}</text>
|
|
<text>{{title}}</text>
|
|
- <view>{{list.length}}款,共<text>{{totalNums}}</text>件</view>
|
|
|
|
|
|
+ <view>{{list.length}}款,{{pageType=='shuntBackDetail'?'实退':'共'}}<text>{{totalNums}}</text>件</view>
|
|
</view>
|
|
</view>
|
|
<view class="partList-list">
|
|
<view class="partList-list">
|
|
<view class="partList-list-box" v-for="item in partList" :key="item.id">
|
|
<view class="partList-list-box" v-for="item in partList" :key="item.id">
|
|
@@ -29,6 +29,10 @@
|
|
实发<text class="pnums">{{item.confirmQty||item.confirmQty==0?item.confirmQty:'--'}}</text>
|
|
实发<text class="pnums">{{item.confirmQty||item.confirmQty==0?item.confirmQty:'--'}}</text>
|
|
签收<text class="pnums">{{item.putQty||item.putQty==0?item.putQty:'--'}}</text>
|
|
签收<text class="pnums">{{item.putQty||item.putQty==0?item.putQty:'--'}}</text>
|
|
</view>
|
|
</view>
|
|
|
|
+ <view v-if="pageType=='sendOutGoods'">
|
|
|
|
+ 实发:<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:'--'}}</text>
|
|
|
|
+ </view>
|
|
<view v-if="pageType=='replenishmentDetailc'">
|
|
<view v-if="pageType=='replenishmentDetailc'">
|
|
<text class="pnums">{{item.qty||item.qty==0?item.qty:'--'}}</text>
|
|
<text class="pnums">{{item.qty||item.qty==0?item.qty:'--'}}</text>
|
|
{{item.product&&item.product.unit?item.product.unit:'--'}}
|
|
{{item.product&&item.product.unit?item.product.unit:'--'}}
|
|
@@ -37,6 +41,14 @@
|
|
调回数量:<text class="pnums">{{item.qty||item.qty==0?item.qty:'--'}}</text>
|
|
调回数量:<text class="pnums">{{item.qty||item.qty==0?item.qty:'--'}}</text>
|
|
{{item.product&&item.product.unit?item.product.unit:'--'}}
|
|
{{item.product&&item.product.unit?item.product.unit:'--'}}
|
|
</view>
|
|
</view>
|
|
|
|
+ <view v-if="pageType=='shuntBackDetail'">
|
|
|
|
+ 调回:<text class="pnums">{{item.qty||item.qty==0?item.qty:'--'}}{{item.product&&item.product.unit?item.product.unit:'--'}}</text>
|
|
|
|
+ /实退:<text class="pnums">{{item.confirmQty||item.confirmQty==0?item.confirmQty:'--'}}</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view v-if="pageType=='shuntBackDetailc'">
|
|
|
|
+ <text class="pnums">{{item.qty||item.qty==0?item.qty:'--'}}</text>
|
|
|
|
+ {{item.product&&item.product.unit?item.product.unit:'--'}}
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -97,7 +109,7 @@
|
|
type: String,
|
|
type: String,
|
|
default: 'checkbox'
|
|
default: 'checkbox'
|
|
},
|
|
},
|
|
- // 那个功能页面调用,展示不同的字段,recall: 调回退库,replenishmentSign:补货签收,replenishmentOut:补货出库,manualPrint:手动打印,replenishmentDetail:补货详情-已完成,replenishmentDetailc:补货详情-已取消,scanCodePrint:扫码打印
|
|
|
|
|
|
+ // 那个功能页面调用,展示不同的字段,recall: 调回退库,调回详情-已完成:shuntBackDetail,调回详情-已取消:shuntBackDetailc,replenishmentSign:补货签收,replenishmentOut:补货出库,manualPrint:手动打印,sendOutGoods:发货出库,replenishmentDetail:补货详情-已完成,replenishmentDetailc:补货详情-已取消,scanCodePrint:扫码打印
|
|
fromPage: {
|
|
fromPage: {
|
|
type: String,
|
|
type: String,
|
|
default: ''
|
|
default: ''
|
|
@@ -120,6 +132,8 @@
|
|
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'){ // 调回详情-已完成
|
|
|
|
+ this.totalNums = this.totalNums + item.confirmQty
|
|
}else{
|
|
}else{
|
|
this.totalNums = this.totalNums + item.qty
|
|
this.totalNums = this.totalNums + item.qty
|
|
}
|
|
}
|