|
@@ -493,11 +493,14 @@ export default {
|
|
|
},
|
|
|
// 全部或批量仓库设置确认
|
|
|
chooseWarehouseOk (sn) {
|
|
|
+ console.log('111111:', sn)
|
|
|
const _this = this
|
|
|
const snArr = []
|
|
|
- _this.rowSelectionInfo.selectedRows.forEach(item => {
|
|
|
- snArr.push(item.salesBillDetailSn)
|
|
|
- })
|
|
|
+ if (_this.rowSelectionInfo && _this.rowSelectionInfo.selectedRows && _this.rowSelectionInfo.selectedRows.length > 0) {
|
|
|
+ _this.rowSelectionInfo.selectedRows.forEach(item => {
|
|
|
+ snArr.push(item.salesBillDetailSn)
|
|
|
+ })
|
|
|
+ }
|
|
|
const ajax_data = {
|
|
|
warehouseSn: sn,
|
|
|
salesBillDetailSnList: snArr,
|