|
|
|
@ -1274,11 +1274,11 @@ export default {
|
|
|
|
|
this.$message.warning(item.orderCode + ' - 已预约,无法转为库存品!!!'); |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
if (item.typeService == 3) { |
|
|
|
|
/* if (item.typeService == 3) { |
|
|
|
|
console.log('2 :>> ', 2); |
|
|
|
|
this.$message.warning(item.orderCode + ' - 为自提单,无法转为库存品!!!'); |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
} */ |
|
|
|
|
if (item.freezeStatus == '30') { |
|
|
|
|
console.log('3 :>> ', 3); |
|
|
|
|
this.$message.warning(item.orderCode + ' - 为冻结单,无法转为库存品!!!'); |
|
|
|
@ -1304,6 +1304,12 @@ export default {
|
|
|
|
|
if (!isReturn) return; |
|
|
|
|
//查询库存数据 |
|
|
|
|
|
|
|
|
|
if (this.selectionList.length === 1) { |
|
|
|
|
console.log('111>>>>>>>>>>>>>>', this.selectionList[0]); |
|
|
|
|
return this.$router.push( |
|
|
|
|
'/distribution/inventory/distributionStockArticleFrom?id=' + this.selectionList[0].id |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
const res = await getListOwn(this.page.currentPage, this.page.pageSize, { |
|
|
|
|
stockArticleIds: ids.join(','), |
|
|
|
|
parcelType: '2', |
|
|
|
@ -1322,13 +1328,6 @@ export default {
|
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (this.selectionList.length === 1) { |
|
|
|
|
console.log('111>>>>>>>>>>>>>>', this.selectionList[0]); |
|
|
|
|
return this.$router.push( |
|
|
|
|
'/distribution/inventory/distributionStockArticleFrom?id=' + this.selectionList[0].id |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.getSock(); |
|
|
|
|
}, |
|
|
|
|
getSock() { |
|
|
|
|