|
|
|
@ -157,18 +157,21 @@
|
|
|
|
|
> |
|
|
|
|
<template #default="slotProps"> |
|
|
|
|
<template |
|
|
|
|
v-if="slotProps.scope.column.label === '配送件数' || '装车件数' || '司机签收数'" |
|
|
|
|
v-if="slotProps.scope.column.label === '配送件数' || '装车件数' || '签收数'|| '未签收数'|| '未装车件数'" |
|
|
|
|
> |
|
|
|
|
<el-text @click="InformationViewing(slotProps.scope)"> |
|
|
|
|
<!-- {{slotProps.scope.row.reservationNum}} --> |
|
|
|
|
|
|
|
|
|
{{ |
|
|
|
|
slotProps.scope.column.label === '配送件数' |
|
|
|
|
? slotProps.scope.row.reservationNum |
|
|
|
|
: slotProps.scope.column.label === '装车件数' |
|
|
|
|
? slotProps.scope.row.loadedNumber |
|
|
|
|
: slotProps.scope.column.label === '司机签收数' |
|
|
|
|
: slotProps.scope.column.label === '签收件数' |
|
|
|
|
? slotProps.scope.row.receivedQuantity |
|
|
|
|
:slotProps.scope.column.label === '未签收件数' |
|
|
|
|
? slotProps.scope.row.unreceivedQuantity |
|
|
|
|
:slotProps.scope.column.label === '未装车件数' |
|
|
|
|
? slotProps.scope.row.unloadedNumber |
|
|
|
|
: '' |
|
|
|
|
}} |
|
|
|
|
</el-text> |
|
|
|
@ -503,6 +506,29 @@
|
|
|
|
|
<!-- </span>--> |
|
|
|
|
<!-- </template>--> |
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog |
|
|
|
|
:title="numberTitle" |
|
|
|
|
v-model="numberDetailDialogVisible" |
|
|
|
|
width="70%" |
|
|
|
|
> |
|
|
|
|
<tablecmt |
|
|
|
|
:columnList="numberDetailColumnList" |
|
|
|
|
:tableData="numberDetailData" |
|
|
|
|
:loading="loading" |
|
|
|
|
@inputTxt="inputsc" |
|
|
|
|
@timeCheck="timesc" |
|
|
|
|
@btnCheck="btnsc" |
|
|
|
|
@selectCheck="selectsc" |
|
|
|
|
@selection="selectionsc" |
|
|
|
|
> |
|
|
|
|
</tablecmt> |
|
|
|
|
|
|
|
|
|
<el-button @click="numberDetailDialogVisible = false">取 消</el-button> |
|
|
|
|
<el-button type="primary" @click="numberDetailDialogVisible = false">确 定</el-button> |
|
|
|
|
</el-dialog> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
@ -516,7 +542,7 @@ import {
|
|
|
|
|
getstatistics, |
|
|
|
|
loadingAbnormalPackageListDetail, |
|
|
|
|
loadingAbnormalPackageListAuditing, |
|
|
|
|
getSignforExport, |
|
|
|
|
getSignforExport, numberDetail |
|
|
|
|
} from '@/api/distribution/distributionSignfor'; |
|
|
|
|
import { update as updatesign } from '@/api/distribution/distributionSignfor'; |
|
|
|
|
import option from '@/option/distribution/distributionSignfor'; |
|
|
|
@ -542,6 +568,8 @@ export default {
|
|
|
|
|
dialogVisibleC: false, |
|
|
|
|
dialogVisibleD: false, |
|
|
|
|
dialogVisibleE: false, |
|
|
|
|
numberDetailDialogVisible:false, |
|
|
|
|
numberTitle:'', |
|
|
|
|
TcForm: {}, //弹窗表单 |
|
|
|
|
// 上门照 |
|
|
|
|
DoorstepPhoto: [], |
|
|
|
@ -841,9 +869,29 @@ export default {
|
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'unloadedNumber', |
|
|
|
|
label: '未装车件数', |
|
|
|
|
type: 6, |
|
|
|
|
values: '', |
|
|
|
|
width: '130', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'receivedQuantity', |
|
|
|
|
label: '司机签收数', |
|
|
|
|
label: '签收件数', |
|
|
|
|
type: 6, |
|
|
|
|
values: '', |
|
|
|
|
width: '130', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'unreceivedQuantity', |
|
|
|
|
label: '未签收件数', |
|
|
|
|
type: 6, |
|
|
|
|
values: '', |
|
|
|
|
width: '130', |
|
|
|
@ -902,6 +950,195 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
// 更多列的配置... |
|
|
|
|
], |
|
|
|
|
numberDetailColumnList: [ |
|
|
|
|
// { |
|
|
|
|
// prop: '', |
|
|
|
|
// label: '序号', |
|
|
|
|
// type: 0, |
|
|
|
|
// values: '', |
|
|
|
|
// width: 55, |
|
|
|
|
// checkarr: [], |
|
|
|
|
// fixed: true, |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// prop: 'number', |
|
|
|
|
// label: '编号', |
|
|
|
|
// type: 2, |
|
|
|
|
// values: '', |
|
|
|
|
// width: '150', |
|
|
|
|
// checkarr: [], |
|
|
|
|
// fixed: true, |
|
|
|
|
// sortable: true, |
|
|
|
|
// head: false, |
|
|
|
|
// }, |
|
|
|
|
{ |
|
|
|
|
prop: 'waybillNumber', |
|
|
|
|
label: '运单号', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '160', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'serviceNumber', |
|
|
|
|
label: '服务号', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '160', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'orderCode', |
|
|
|
|
label: '订单自编码', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '130', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'orderPackageCode', |
|
|
|
|
label: '包条码', |
|
|
|
|
type: 1, |
|
|
|
|
values: '', |
|
|
|
|
width: '130', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'cargoNumber', |
|
|
|
|
label: '物料编码', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '130', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'marketName', |
|
|
|
|
label: '商场名称', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '130', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'descriptionGoods', |
|
|
|
|
label: '产品名称', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '130', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'stockupStatusName', |
|
|
|
|
label: '备货状态', |
|
|
|
|
type: 4, |
|
|
|
|
values: '', |
|
|
|
|
width: '130', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'stockupTime', |
|
|
|
|
label: '备货时间', |
|
|
|
|
type: 4, |
|
|
|
|
values: '', |
|
|
|
|
width: '130', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'conditionsName', |
|
|
|
|
label: '货物类型', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '130', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'loadingStatusName', |
|
|
|
|
label: '装车状态', |
|
|
|
|
type: 4, |
|
|
|
|
values: '', |
|
|
|
|
width: '130', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'loadingTime', |
|
|
|
|
label: '装车时间', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '200', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'signingStatusName', |
|
|
|
|
label: '签收状态', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '130', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
prop: 'signingTime', |
|
|
|
|
label: '签收时间', |
|
|
|
|
type: 2, |
|
|
|
|
values: '', |
|
|
|
|
width: '130', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
|
head: false, |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
prop: '', |
|
|
|
|
label: '操作', |
|
|
|
|
type: 6, |
|
|
|
|
values: '', |
|
|
|
|
width: '200', |
|
|
|
|
checkarr: [], |
|
|
|
|
fixed: 'right', |
|
|
|
|
hide: true, |
|
|
|
|
}, |
|
|
|
|
// 更多列的配置... |
|
|
|
|
], |
|
|
|
|
numberDetailData:[], |
|
|
|
|
// 表单配置 |
|
|
|
|
signoption: { |
|
|
|
|
height: 'auto', |
|
|
|
@ -1554,6 +1791,40 @@ export default {
|
|
|
|
|
InformationViewing(val) { |
|
|
|
|
console.log(val, '点击数字接收的值'); |
|
|
|
|
console.log('12312312'); |
|
|
|
|
const row = val; |
|
|
|
|
|
|
|
|
|
let type = 0; |
|
|
|
|
switch (row.column.label) { |
|
|
|
|
case '配送件数': |
|
|
|
|
this.numberTitle = '配送包件详情列表'; |
|
|
|
|
type = 1; |
|
|
|
|
console.log('查看配送件数'); |
|
|
|
|
break; |
|
|
|
|
case '装车件数': |
|
|
|
|
type = 2; |
|
|
|
|
this.numberTitle = '装车详情列表'; |
|
|
|
|
break; |
|
|
|
|
case '未装车件数': |
|
|
|
|
type = 3; |
|
|
|
|
this.numberTitle = '未装车详情列表'; |
|
|
|
|
break; |
|
|
|
|
case '签收件数': |
|
|
|
|
type = 4; |
|
|
|
|
this.numberTitle = '签收详情列表'; |
|
|
|
|
break; |
|
|
|
|
case '未签收件数': |
|
|
|
|
type = 5; |
|
|
|
|
this.numberTitle = '未签收详情列表'; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
numberDetail(row.row.id,type).then(res=>{ |
|
|
|
|
this.numberDetailDialogVisible = true; |
|
|
|
|
const data = res.data.data; |
|
|
|
|
this.numberDetailData = data; |
|
|
|
|
console.log('res--------->',res); |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
handlePictureCardPreview(uploadFile) { |
|
|
|
|
console.log(uploadFile); |
|
|
|
|