This commit is contained in:
linfso 2024-08-09 21:37:55 +08:00
parent 27a53f252c
commit 43e9df183d
5 changed files with 53 additions and 32 deletions

View File

@ -203,7 +203,7 @@ export default {
} }
// 转单扫描 // 转单扫描
else if(scanType=="80"){ else if(scanType=="80"){
content='转单,快件在网点 <span class="siteOrManHighlight" >['+scanRecord.scanSite+']</span>,转件人<span class="siteOrManHighlight" >['+scanRecord.scanMan+']</span>'; content='转单,快件在网点 <span class="siteOrManHighlight" >['+scanRecord.scanSite+']</span>,转件人<span class="siteOrManHighlight" >['+scanRecord.scanMan+']</span>'+scanRecord.remark;
} }
// 转件第三方物流信息,拼接三方公司物流轨迹 // 转件第三方物流信息,拼接三方公司物流轨迹
else if(scanType=="81"){ else if(scanType=="81"){

View File

@ -113,7 +113,7 @@
v-hasPermi="['emis:emisSettleBill:export']" v-hasPermi="['emis:emisSettleBill:export']"
>导出</el-button> >导出</el-button>
</el-col> --> </el-col> -->
<el-col :span="1.5" > <el-col :span="1.5" v-if="confirmStatus==0">
<el-button <el-button
type="primary" type="primary"
plain plain
@ -122,6 +122,15 @@
@click="handleConfirmBySite" @click="handleConfirmBySite"
>确认账单</el-button> >确认账单</el-button>
</el-col> </el-col>
<!-- <el-col :span="1.5" v-if="confirmStatus==1">
<el-button
type="danger"
plain
size="mini"
:disabled="multiple"
@click="handleCancelConfirmBySite"
>取消确认</el-button>
</el-col> -->
<!-- <el-col :span="1.5" v-if="activeTab=='waitConfirm'"> <!-- <el-col :span="1.5" v-if="activeTab=='waitConfirm'">
<el-button <el-button
type="primary" type="primary"
@ -133,16 +142,7 @@
>确认不出账</el-button> >确认不出账</el-button>
</el-col> --> </el-col> -->
<!-- <el-col :span="1.5" v-if="activeTab!='waitConfirm'">
<el-button
type="danger"
plain
size="mini"
:disabled="multiple"
@click="handleCancelConfirmBySite"
v-hasPermi="['emis:emisSettleSubBill:cancelConfirmBillBySite']"
>取消确认</el-button>
</el-col> -->
<el-col :span="1.5"> <el-col :span="1.5">
<el-button <el-button
type="warning" type="warning"
@ -391,6 +391,15 @@ export default {
}); });
}, },
handleConfirmBySite(row) {
const ids = row.id || this.ids;
this.$modal.confirm('请仔细确认,确认后不可撤销').then(function() {
return confirmSettleBillBySite(ids);
}).then(() => {
this.getList();
this.$modal.msgSuccess("操作成功");
}).catch(() => {});
},
handleConfirmBySite(row) { handleConfirmBySite(row) {
const ids = row.id || this.ids; const ids = row.id || this.ids;
this.$modal.confirm('请仔细确认,确认后不可撤销').then(function() { this.$modal.confirm('请仔细确认,确认后不可撤销').then(function() {

View File

@ -194,6 +194,11 @@
<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="dispatchMan" min-width="100" /> <el-table-column :label="$t('派件员')" align="center" prop="dispatchMan" min-width="100" />
<el-table-column :label="$t('签收人')" align="center" prop="signMan" min-width="100" /> <el-table-column :label="$t('签收人')" align="center" prop="signMan" min-width="100" />
<el-table-column :label="$t('支付方式')" align="center" prop="paymentType" min-width="80" :show-overflow-tooltip="true" >
<template slot-scope="scope">
<dict-tag :options="dict.type.emis_payment_type" :value="scope.row.paymentType"/>
</template>
</el-table-column>
<el-table-column :label="$t('签收网点')" align="center" prop="signSiteCode" min-width="100" /> <el-table-column :label="$t('签收网点')" align="center" prop="signSiteCode" min-width="100" />
<el-table-column :label="$t('签收时间')" align="center" prop="signDate" min-width="170" > <el-table-column :label="$t('签收时间')" align="center" prop="signDate" min-width="170" >
<template slot-scope="scope"> <template slot-scope="scope">
@ -216,11 +221,7 @@
<el-table-column :label="$t('派件网点')" align="center" prop="dispatchSiteName" min-width="100" /> <el-table-column :label="$t('派件网点')" align="center" prop="dispatchSiteName" min-width="100" />
<el-table-column :label="$t('实际重量')" align="center" prop="billWeight" min-width="100" /> <el-table-column :label="$t('实际重量')" align="center" prop="billWeight" min-width="100" />
<el-table-column :label="$t('支付方式')" align="center" prop="paymentType" min-width="80" :show-overflow-tooltip="true" >
<template slot-scope="scope">
<dict-tag :options="dict.type.emis_payment_type" :value="scope.row.paymentType"/>
</template>
</el-table-column>
<el-table-column :label="$t('运费')" align="center" prop="freight" min-width="80" /> <el-table-column :label="$t('运费')" align="center" prop="freight" min-width="80" />
<el-table-column :label="$t('收款状态')" align="center" prop="paymentStatus" width="100" > <el-table-column :label="$t('收款状态')" align="center" prop="paymentStatus" width="100" >
<template slot-scope="scope"> <template slot-scope="scope">

View File

@ -1,7 +1,6 @@
<template> <template>
<div class="app-container"> <XdPageContainer class="app-container">
<el-row :gutter="20"> <SearchForm slot="pageHeader" :model="queryParams" ref="queryForm" size="small" :maxShow="8" label-width="100px" v-show="showSearch" @search="getList" @reset="resetQuery">
<SearchForm :model="queryParams" ref="queryForm" size="small" :maxShow="8" label-width="100px" v-show="showSearch" @search="getList" @reset="resetQuery">
<el-form-item label="" prop="billCode"> <el-form-item label="" prop="billCode">
<div slot="label"> <div slot="label">
<el-radio-group class="query-label" v-model="queryParams.params.queryOrderType"> <el-radio-group class="query-label" v-model="queryParams.params.queryOrderType">
@ -54,13 +53,23 @@
</el-form-item> </el-form-item>
<!-- </el-col> --> <!-- </el-col> -->
</SearchForm>
</el-row >
<xd-table v-loading="loading" </SearchForm>
<xd-table
slot="pageContent"
slot-scope="slotProps"
:height="(slotProps.contentHeight)+'px'"
v-loading="loading"
border border
size="small" size="mini"
:data="tmsScanList" :data="tmsScanList"
storageName="signatureRecordQuery_main_240702"
:showSearch.sync="showSearch" :showSearch.sync="showSearch"
:queryParams="queryParams" :queryParams="queryParams"
:total="total" :total="total"
@ -99,6 +108,7 @@
<span>{{ scope.row.waybillDetail.dispatchManName }}</span> <span>{{ scope.row.waybillDetail.dispatchManName }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('寄件日期')" align="center" prop="sendDate" min-width="170" > <el-table-column :label="$t('寄件日期')" align="center" prop="sendDate" min-width="170" >
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.waybillDetail.sendDate) }}</span> <span>{{ parseTime(scope.row.waybillDetail.sendDate) }}</span>
@ -114,6 +124,11 @@
<span>{{ scope.row.waybillDetail.transLineTypeName }}</span> <span>{{ scope.row.waybillDetail.transLineTypeName }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('支付方式')" align="center" prop="paymentType" min-width="80" :show-overflow-tooltip="true" >
<template slot-scope="scope">
<dict-tag :options="dict.type.emis_payment_type" :value="scope.row.waybillDetail.paymentType"/>
</template>
</el-table-column>
<el-table-column :label="$t('产品类型')" align="center" prop="" min-width="100"> <el-table-column :label="$t('产品类型')" align="center" prop="" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.waybillDetail.productTypeName }}</span> <span>{{ scope.row.waybillDetail.productTypeName }}</span>
@ -177,7 +192,7 @@
</template> </template>
</el-table-column> </el-table-column>
</xd-table> </xd-table>
</div> </XdPageContainer>
</template> </template>
<script> <script>
@ -194,7 +209,7 @@ import { getDateTimeToString } from '@/utils/payutils'
export default { export default {
name: "SignatureRecordQuery", name: "SignatureRecordQuery",
components: { EmisUserSimplePicker,elDateAdvPicker, EmisSiteSimplePicker, EmisGetNextSitePicker, CountryPicker }, components: { EmisUserSimplePicker,elDateAdvPicker, EmisSiteSimplePicker, EmisGetNextSitePicker, CountryPicker },
dicts: ['emis_scan_type', 'emis_waybill_status'], dicts: ['emis_scan_type', 'emis_waybill_status','emis_payment_type'],
data() { data() {
return { return {
@ -242,7 +257,7 @@ export default {
// 查询参数 // 查询参数
queryParams: { queryParams: {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 100,
orderSN:null, orderSN:null,
billCode: null, billCode: null,
scanType: null, scanType: null,
@ -294,11 +309,6 @@ export default {
// end.setHours(23,59,59,0) // end.setHours(23,59,59,0)
// this.dateTimeRange=[start,end]; // this.dateTimeRange=[start,end];
this.$nextTick(function() {
let queryFormEl = this.$refs.queryForm.$el;
let tableH = queryFormEl.offsetHeight+190;
this.tableHeight = window.innerHeight - tableH;
});
}, },
mounted() { mounted() {
const end = new Date() const end = new Date()

View File

@ -65,6 +65,7 @@
<el-table-column :label="$t('发件扫描次数')" align="center" prop="sendCount" min-width="120" /> <el-table-column :label="$t('发件扫描次数')" align="center" prop="sendCount" min-width="120" />
<el-table-column :label="$t('到件扫描次数')" align="center" prop="arrivalCount" min-width="120" /> <el-table-column :label="$t('到件扫描次数')" align="center" prop="arrivalCount" min-width="120" />
<el-table-column :label="$t('派件扫描次数')" align="center" prop="sentCount" min-width="120" /> <el-table-column :label="$t('派件扫描次数')" align="center" prop="sentCount" min-width="120" />
<el-table-column :label="$t('转件扫描次数')" align="center" prop="transferCount" min-width="120" />
<el-table-column :label="$t('问题件扫描次数')" align="center" prop="issueCount" min-width="120" /> <el-table-column :label="$t('问题件扫描次数')" align="center" prop="issueCount" min-width="120" />
<el-table-column :label="$t('留仓扫描次数')" align="center" prop="holdCount" min-width="120" /> <el-table-column :label="$t('留仓扫描次数')" align="center" prop="holdCount" min-width="120" />
<el-table-column :label="$t('签收状态')" align="center" prop="waybillDetail.blSign" width="80" > <el-table-column :label="$t('签收状态')" align="center" prop="waybillDetail.blSign" width="80" >