|
@@ -48,6 +48,10 @@ export default {
|
|
|
itemSn: {
|
|
|
type: String,
|
|
|
default: ''
|
|
|
+ },
|
|
|
+ showStock: {
|
|
|
+ type: Boolean,
|
|
|
+ default: false
|
|
|
}
|
|
|
},
|
|
|
components: { dealerSubareaScopeList },
|
|
@@ -100,7 +104,7 @@ export default {
|
|
|
chooseRow = _this.dealerList.filter(item => item.dealerSn == _this.chooseVal)
|
|
|
}
|
|
|
_this.confirmLoading = true
|
|
|
- queryTransferDealerStock({ salesBillSn: _this.itemSn, transferDealerSn: _this.chooseVal === 'a1' ? _this.selectDealerSn : _this.chooseVal }).then(res => {
|
|
|
+ queryTransferDealerStock({ salesBillSn: _this.itemSn, transferDealerSn: _this.chooseVal === 'a1' ? _this.selectDealerSn : _this.chooseVal, showStock: _this.showStock }).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
_this.confirmLoading = false
|
|
|
_this.cancel()
|