调整样式和部分逻辑
This commit is contained in:
parent
1c8b4c0da8
commit
fd78596eff
@ -11,7 +11,7 @@
|
|||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</div>
|
</div>
|
||||||
<el-input
|
<el-input
|
||||||
v-model="queryParams.packCode"
|
v-model="queryParams.packNo"
|
||||||
:placeholder="$t('多个合包号逗号可换行隔开')"
|
:placeholder="$t('多个合包号逗号可换行隔开')"
|
||||||
clearable
|
clearable
|
||||||
type="textarea"
|
type="textarea"
|
||||||
@ -181,7 +181,7 @@
|
|||||||
</XdTable>
|
</XdTable>
|
||||||
|
|
||||||
<el-dialog :title="titleForm" :visible.sync="openForm" width="80%" :destroy-on-close="true" @close="handleCancelCo" v-dialogDrag append-to-body>
|
<el-dialog :title="titleForm" :visible.sync="openForm" width="80%" :destroy-on-close="true" @close="handleCancelCo" v-dialogDrag append-to-body>
|
||||||
<el-form ref="formCo" size="mini" :model="coData" label-width="100px">
|
<el-form ref="formCo" size="mini" :model="coData" label-width="100px" class="overflowhidden" >
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="16">
|
<el-col :span="16">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
@ -329,17 +329,29 @@
|
|||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
<el-table-column :label="$t('运单号')" align="center" prop="billCode" min-width="100" />
|
<el-table-column :label="$t('运单号')" align="center" prop="billCode" min-width="100" />
|
||||||
<el-table-column :label="$t('订单号')" align="center" prop="orderSn" min-width="100" />
|
<el-table-column :label="$t('订单号')" align="center" prop="orderSn" min-width="100" />
|
||||||
<el-table-column :label="$t('进仓单号')" align="center" prop="intoWarehouseCode" min-width="100" />
|
<el-table-column :label="$t('进仓单号')" align="center" prop="warehouseInNo" min-width="100" />
|
||||||
<el-table-column :label="$t('扫描状态')" align="center" prop="waybillStatus" min-width="100">
|
<el-table-column :label="$t('扫描状态')" align="center" prop="waybillStatus" min-width="100">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.waybillStatus == "1" ? "是" : "否" }}</span>
|
<span>{{ scope.row.waybillStatus == "1" ? "是" : "否" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :label="$t('扫描时间')" align="center" prop="xxx" min-width="100" />
|
<el-table-column :label="$t('扫描时间')" align="center" prop="xxx" min-width="100">
|
||||||
<el-table-column :label="$t('状态')" align="center" prop="xxx" min-width="100" />
|
<template slot-scope="scope">
|
||||||
<el-table-column :label="$t('当前网点')" align="center" prop="currentSiteCode" min-width="100" />
|
<span>{{ parseTime(coData.scanDate) }}</span>
|
||||||
<el-table-column :label="$t('下一网点')" align="center" prop="nextSiteCode" min-width="100" />
|
</template>
|
||||||
<el-table-column :label="$t('国家')" align="center" prop="destinationCounty" min-width="100" />
|
</el-table-column>
|
||||||
|
<el-table-column :label="$t('状态')" align="center" prop="emis_pack_status" min-width="100">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<dict-tag :options="dict.type.emis_pack_status" :value="coData.packStatus"/>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column :label="$t('当前网点')" align="center" prop="currentSiteName" min-width="100" />
|
||||||
|
<el-table-column :label="$t('下一网点')" align="center" prop="nextSiteName" min-width="100" />
|
||||||
|
<el-table-column :label="$t('国家')" align="center" prop="destinationCounty" min-width="100">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ coData.destCountryName }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column :label="$t('线路')" align="center" prop="transLineType" min-width="100" />
|
<el-table-column :label="$t('线路')" align="center" prop="transLineType" min-width="100" />
|
||||||
<el-table-column :label="$t('产品类型')" align="center" prop="productType" min-width="100" />
|
<el-table-column :label="$t('产品类型')" align="center" prop="productType" min-width="100" />
|
||||||
<el-table-column :label="$t('预计到达时间')" align="center" prop="estimateDate" min-width="100" />
|
<el-table-column :label="$t('预计到达时间')" align="center" prop="estimateDate" min-width="100" />
|
||||||
@ -362,7 +374,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<el-dialog :title="titleWayBill" :visible.sync="openWayBillForm" width="70%" @close="handleCloseWayBill" :destroy-on-close="true" v-dialogDrag append-to-body>
|
<el-dialog :title="titleWayBill" :visible.sync="openWayBillForm" width="70%" @close="handleCloseWayBill" :destroy-on-close="true" v-dialogDrag append-to-body>
|
||||||
<el-form ref="formCo" size="mini" :model="wayBillData" label-width="100px">
|
<el-form ref="formCo" size="mini" :model="wayBillData" label-width="100px" class="overflowhidden" >
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="" prop="billCode">
|
<el-form-item label="" prop="billCode">
|
||||||
@ -454,8 +466,8 @@
|
|||||||
<el-table-column :label="$t('进仓单号')" align="center" prop="intoWarehouseCode" min-width="100" />
|
<el-table-column :label="$t('进仓单号')" align="center" prop="intoWarehouseCode" min-width="100" />
|
||||||
<el-table-column :label="$t('运单状态')" align="center" prop="waybillStatus" min-width="100" />
|
<el-table-column :label="$t('运单状态')" align="center" prop="waybillStatus" min-width="100" />
|
||||||
<el-table-column :label="$t('物流信息')" align="center" prop="xxx" min-width="100" />
|
<el-table-column :label="$t('物流信息')" align="center" prop="xxx" min-width="100" />
|
||||||
<el-table-column :label="$t('当前网点')" align="center" prop="currentSiteCode" min-width="100" />
|
<el-table-column :label="$t('当前网点')" align="center" prop="currentSiteName" min-width="100" />
|
||||||
<el-table-column :label="$t('下一网点')" align="center" prop="nextSiteCode" min-width="100" />
|
<el-table-column :label="$t('下一网点')" align="center" prop="nextSiteName" min-width="100" />
|
||||||
<el-table-column :label="$t('国家')" align="center" prop="destinationCounty" min-width="100" />
|
<el-table-column :label="$t('国家')" align="center" prop="destinationCounty" min-width="100" />
|
||||||
<el-table-column :label="$t('线路')" align="center" prop="transLineType" min-width="100" />
|
<el-table-column :label="$t('线路')" align="center" prop="transLineType" min-width="100" />
|
||||||
<el-table-column :label="$t('产品类型')" align="center" prop="productType" min-width="100" />
|
<el-table-column :label="$t('产品类型')" align="center" prop="productType" min-width="100" />
|
||||||
@ -969,6 +981,8 @@ export default {
|
|||||||
;
|
;
|
||||||
this.emisCoPackDetail.push(resList.rows[p].waybillDetail);
|
this.emisCoPackDetail.push(resList.rows[p].waybillDetail);
|
||||||
}
|
}
|
||||||
|
this.coData.packStatus = this.tempCoPackInfo.packStatus;
|
||||||
|
this.coData.scanDate = this.tempCoPackInfo.scanDate;
|
||||||
this.computeTotal();
|
this.computeTotal();
|
||||||
this.currentId=null;
|
this.currentId=null;
|
||||||
this.openForm= true;
|
this.openForm= true;
|
||||||
@ -1074,4 +1088,7 @@ export default {
|
|||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.overflowhidden{
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -169,7 +169,7 @@
|
|||||||
<el-table-column :label="$t('上传图片')" align="center" prop="picUrls" width="200" >
|
<el-table-column :label="$t('上传图片')" align="center" prop="picUrls" width="200" >
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<!-- <span class="ellipsis">{{scope.row.picUrl}}</span> -->
|
<!-- <span class="ellipsis">{{scope.row.picUrl}}</span> -->
|
||||||
<ImagePreview v-for="pic in scope.row.picUrls" :key="pic" :src="pic" ></ImagePreview>
|
<ImagePreview height="50px" v-for="pic in scope.row.picUrls" :key="pic" :src="pic" ></ImagePreview>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :label="$t('上传网点')" align="center" prop="scanSite" min-width="100" >
|
<el-table-column :label="$t('上传网点')" align="center" prop="scanSite" min-width="100" >
|
||||||
|
|||||||
@ -189,7 +189,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :label="$t('签收图片')" align="center" prop="picUrl" min-width="100">
|
<el-table-column :label="$t('签收图片')" align="center" prop="picUrl" min-width="100">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<ImagePreview v-for="pic in (scope.row.picUrl||'').split(',')" :key="pic" :src="pic" ></ImagePreview>
|
<ImagePreview height="50px" v-for="pic in (scope.row.picUrl||'').split(',')" :key="pic" :src="pic" ></ImagePreview>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</xd-table>
|
</xd-table>
|
||||||
|
|||||||
@ -158,7 +158,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :label="$t('签收图片')" align="center" prop="picUrl" min-width="100">
|
<el-table-column :label="$t('签收图片')" align="center" prop="picUrl" min-width="100">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<ImagePreview v-for="pic in (scope.row.picUrl||'').split(',')" :key="pic" :src="pic" ></ImagePreview>
|
<ImagePreview height="50px" v-for="pic in (scope.row.picUrl||'').split(',')" :key="pic" :src="pic" ></ImagePreview>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</xd-table>
|
</xd-table>
|
||||||
|
|||||||
@ -87,10 +87,18 @@
|
|||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
|
|
||||||
<el-table-column :label="$t('运单编号')" align="center" prop="billCode" min-width="150" />
|
<el-table-column :label="$t('运单编号')" align="center" prop="billCode" min-width="150" />
|
||||||
<el-table-column :label="$t('图片类型')" align="center" prop="attachType" min-width="100" />
|
<el-table-column :label="$t('图片类型')" align="center" prop="attachType" min-width="100">
|
||||||
<el-table-column :label="$t('图片URL')" align="center" prop="fileUrl" min-width="100" />
|
<template slot-scope="scope">
|
||||||
<el-table-column :label="$t('上传网点')" align="center" prop="createSiteName" min-width="100" />
|
<span>{{ (attachType[scope.row.attachType]) }}</span>
|
||||||
<el-table-column :label="$t('上传人')" align="center" prop="createByName" min-width="100" />
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column :label="$t('图片URL')" align="center" prop="fileUrl" min-width="100">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<ImagePreview height="50px" v-for="pic in (scope.row.fileUrl||'').split(',')" :key="pic" :src="pic" ></ImagePreview>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column :label="$t('上传网点')" align="center" prop="createSite" min-width="100" />
|
||||||
|
<el-table-column :label="$t('上传人')" align="center" prop="createBy" min-width="100" />
|
||||||
<el-table-column :label="$t('上传时间')" align="center" prop="createTime" min-width="170" >
|
<el-table-column :label="$t('上传时间')" align="center" prop="createTime" min-width="170" >
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ parseTime(scope.row.createTime) }}</span>
|
<span>{{ parseTime(scope.row.createTime) }}</span>
|
||||||
@ -145,6 +153,11 @@ export default {
|
|||||||
|
|
||||||
dataMap:new Map(),
|
dataMap:new Map(),
|
||||||
|
|
||||||
|
attachType:{
|
||||||
|
"1":"寄件底单",
|
||||||
|
"2":"签收底单"
|
||||||
|
},
|
||||||
|
|
||||||
// 弹出展示层
|
// 弹出展示层
|
||||||
currentId:null,
|
currentId:null,
|
||||||
id:null,
|
id:null,
|
||||||
@ -211,6 +224,13 @@ export default {
|
|||||||
this.tableHeight = window.innerHeight - tableH;
|
this.tableHeight = window.innerHeight - tableH;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
mounted() {
|
||||||
|
const end = new Date()
|
||||||
|
const start = new Date()
|
||||||
|
start.setHours(0,0,0,0)
|
||||||
|
end.setHours(23,59,59,0)
|
||||||
|
this.dateTimeRange=[start,end];
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
/** 查询扫描记录列表 */
|
/** 查询扫描记录列表 */
|
||||||
getList() {
|
getList() {
|
||||||
|
|||||||
@ -146,7 +146,7 @@ export default {
|
|||||||
record.createTime=getDateTimeToString(new Date());
|
record.createTime=getDateTimeToString(new Date());
|
||||||
record.remark = "";
|
record.remark = "";
|
||||||
record.fileName="寄件底单";
|
record.fileName="寄件底单";
|
||||||
record.attachType="2";
|
record.attachType="1";
|
||||||
record.dataFrom="pc";
|
record.dataFrom="pc";
|
||||||
for(let name in size){
|
for(let name in size){
|
||||||
if(name.indexOf(billCode) > -1){
|
if(name.indexOf(billCode) > -1){
|
||||||
|
|||||||
@ -146,7 +146,7 @@ export default {
|
|||||||
record.createTime=getDateTimeToString(new Date());
|
record.createTime=getDateTimeToString(new Date());
|
||||||
record.remark = "";
|
record.remark = "";
|
||||||
record.fileName="签收底单";
|
record.fileName="签收底单";
|
||||||
record.attachType="3";
|
record.attachType="2";
|
||||||
record.dataFrom="pc";
|
record.dataFrom="pc";
|
||||||
for(let name in size){
|
for(let name in size){
|
||||||
if(name.indexOf(billCode) > -1){
|
if(name.indexOf(billCode) > -1){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user