|
|
|
@ -236,6 +236,36 @@
|
|
|
|
|
</el-pagination> |
|
|
|
|
</div> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
<el-tab-pane label="冻结明细" name="FreezeDetails"> |
|
|
|
|
<tablecmt |
|
|
|
|
class="tableNode" |
|
|
|
|
:columnList="columnListarrs.FreezeDetails" |
|
|
|
|
:tableData="data4" |
|
|
|
|
:loading="loading" |
|
|
|
|
@inputTxt="inputsc" |
|
|
|
|
@timeCheck="timesc" |
|
|
|
|
@btnCheck="btnsc" |
|
|
|
|
@selectCheck="selectsc" |
|
|
|
|
@selection="selectionChange" |
|
|
|
|
> |
|
|
|
|
<template #default="slotProps"> |
|
|
|
|
</template> |
|
|
|
|
</tablecmt> |
|
|
|
|
<!-- <div class="avue-crud__pagination" style="width: 100%"> |
|
|
|
|
<el-pagination |
|
|
|
|
align="right" |
|
|
|
|
background |
|
|
|
|
@size-change="sizeChange" |
|
|
|
|
@current-change="currentChange" |
|
|
|
|
:current-page="page4.currentPage" |
|
|
|
|
:page-sizes="[200, 250, 300, 500]" |
|
|
|
|
:page-size="page3.pageSize" |
|
|
|
|
layout="total, sizes, prev, pager, next, jumper" |
|
|
|
|
:total="page3.total" |
|
|
|
|
> |
|
|
|
|
</el-pagination> |
|
|
|
|
</div> --> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
<!-- <el-tab-pane label="拆包记录" name="unpacking"> |
|
|
|
|
<el-table ref="table" v-loading="loading" |
|
|
|
|
@selection-change="selectionChange" |
|
|
|
@ -314,6 +344,7 @@ import {
|
|
|
|
|
showInventorySourcePackageCode, |
|
|
|
|
$_cancelAddStockListByPackage, |
|
|
|
|
$_stockListUnpackDetail, |
|
|
|
|
$_planDetail, |
|
|
|
|
$_cancelUnpack, |
|
|
|
|
$_showInventoryPackgeCodes, |
|
|
|
|
} from '@/api/distribution/distributionStockList'; |
|
|
|
@ -332,7 +363,83 @@ export default {
|
|
|
|
|
locations: 0, //货位总数 |
|
|
|
|
isShowPrint: false, |
|
|
|
|
html: '', |
|
|
|
|
|
|
|
|
|
columnListarrs: { |
|
|
|
|
|
|
|
|
|
// 冻结明细 |
|
|
|
|
FreezeDetails:[ |
|
|
|
|
{ |
|
|
|
|
prop: '', |
|
|
|
|
label: '复选框', |
|
|
|
|
type: 0, |
|
|
|
|
width: 55, |
|
|
|
|
fixed: true, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: '', |
|
|
|
|
label: '序号', |
|
|
|
|
type: 12, |
|
|
|
|
values: '', |
|
|
|
|
width: 55, |
|
|
|
|
fixed: true, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'consignee', |
|
|
|
|
label: '收货人', |
|
|
|
|
type: 1, |
|
|
|
|
values: '', |
|
|
|
|
width: '150', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'packageCode', |
|
|
|
|
label: '包条码', |
|
|
|
|
type: 1, |
|
|
|
|
values: '', |
|
|
|
|
width: '150', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'planNum', |
|
|
|
|
label: '计划数量', |
|
|
|
|
type: 1, |
|
|
|
|
values: '', |
|
|
|
|
width: '150', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
isshowSummary: true, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'reservationCode', |
|
|
|
|
label: '任务单号', |
|
|
|
|
type: 1, |
|
|
|
|
values: '', |
|
|
|
|
width: '150', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'scanUser', |
|
|
|
|
label: '备货人', |
|
|
|
|
type: 1, |
|
|
|
|
values: '', |
|
|
|
|
width: '150', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
//入库明细 |
|
|
|
|
columnWarehousing: [ |
|
|
|
|
{ |
|
|
|
@ -917,6 +1024,11 @@ export default {
|
|
|
|
|
pageSize: 200, |
|
|
|
|
total: 0, |
|
|
|
|
}, |
|
|
|
|
page4: { |
|
|
|
|
currentPage: 1, |
|
|
|
|
pageSize: 200, |
|
|
|
|
total: 0, |
|
|
|
|
}, |
|
|
|
|
// 表单数据 |
|
|
|
|
form: {}, |
|
|
|
|
// 选择行 |
|
|
|
@ -928,6 +1040,7 @@ export default {
|
|
|
|
|
data1: [], |
|
|
|
|
data2: [], |
|
|
|
|
data3: [], |
|
|
|
|
data4: [], |
|
|
|
|
leibiao: '', |
|
|
|
|
loadingObj: { |
|
|
|
|
pageLoading: false, |
|
|
|
@ -1100,10 +1213,35 @@ export default {
|
|
|
|
|
console.log('拆包明细'); |
|
|
|
|
// this.getOnChai(this.page2); |
|
|
|
|
this.getunpacking(this.page3); |
|
|
|
|
}else if (this.leibiao == 'FreezeDetails') { |
|
|
|
|
this.getFreezeDetails(this.page4); |
|
|
|
|
} |
|
|
|
|
const _node = document.querySelectorAll('.tableNode'); |
|
|
|
|
setNodeHeight(_node, '', true); |
|
|
|
|
}, |
|
|
|
|
getFreezeDetails(page){ |
|
|
|
|
let data = { |
|
|
|
|
stockListId: this.$route.query.id, |
|
|
|
|
// current: page.currentPage, |
|
|
|
|
// size: page.pageSize, |
|
|
|
|
}; |
|
|
|
|
this.loading = true; |
|
|
|
|
$_planDetail(data) |
|
|
|
|
.then(res => { |
|
|
|
|
console.log(res, '拆单明细'); |
|
|
|
|
if (res.data.code == 200) { |
|
|
|
|
this.data4 = res.data.data; |
|
|
|
|
// this.page4.total = res.data.data.total; |
|
|
|
|
console.log(this.page4, ' this.page4'); |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
.catch(res => { |
|
|
|
|
console.log(res, '错误'); |
|
|
|
|
}) |
|
|
|
|
.finally(() => { |
|
|
|
|
this.loading = false; |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
// 查询拆包 |
|
|
|
|
getunpacking(page) { |
|
|
|
|
let data = { |
|
|
|
|