2024-05-15 12:07:16 +00:00
|
|
|
|
<template>
|
|
|
|
|
|
<div class="app-container">
|
|
|
|
|
|
<el-row :gutter="20">
|
2024-05-20 03:49:32 +00:00
|
|
|
|
<el-form ref="queryForm" size="mini" :model="queryParams" label-width="80px">
|
|
|
|
|
|
<!-- <search-form :model="queryParams" ref="queryForm" size="small" :maxShow="8" label-width="68px" v-show="showSearch" @search="handleQuery" @reset="resetQuery"> -->
|
2024-05-15 12:07:16 +00:00
|
|
|
|
<el-col :span="8">
|
2024-05-20 03:49:32 +00:00
|
|
|
|
<el-form-item label="" prop="billCode">
|
|
|
|
|
|
<div slot="label">
|
|
|
|
|
|
<el-radio-group class="query-label" v-model="queryParams.params.queryOrderType">
|
|
|
|
|
|
<el-radio label="1">运单号</el-radio>
|
|
|
|
|
|
<el-radio label="0">订单号</el-radio>
|
|
|
|
|
|
</el-radio-group>
|
|
|
|
|
|
</div>
|
2024-06-04 07:19:23 +00:00
|
|
|
|
<!-- <el-input
|
2024-05-20 03:49:32 +00:00
|
|
|
|
v-model="queryParams.billCode"
|
|
|
|
|
|
:placeholder="$t('多个流水号逗号或换行隔开')"
|
|
|
|
|
|
clearable
|
|
|
|
|
|
type="textarea"
|
|
|
|
|
|
rows="2"
|
2024-06-04 07:19:23 +00:00
|
|
|
|
/> -->
|
|
|
|
|
|
<XdTextareaInput
|
|
|
|
|
|
v-model="queryParams.billCode"
|
|
|
|
|
|
:placeholder="$t('多个流水号逗号或换行隔开')"
|
|
|
|
|
|
clearable
|
|
|
|
|
|
:rows="2"
|
2024-05-20 03:49:32 +00:00
|
|
|
|
/>
|
2024-05-15 12:07:16 +00:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="16">
|
|
|
|
|
|
<el-col :span="16">
|
2024-05-20 03:49:32 +00:00
|
|
|
|
<el-form-item label="登记时间" prop="dateTimeRange" label-width="80px">
|
2024-06-06 01:14:22 +00:00
|
|
|
|
<elDateAdvPicker clearable v-model="dateTimeRange" @dateTimeChange="onDateSelect" ></elDateAdvPicker>
|
2024-05-15 12:07:16 +00:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="8">
|
2024-05-20 03:49:32 +00:00
|
|
|
|
<el-form-item :label="$t('录入网点')" prop="registerSiteCode" label-width="80px">
|
|
|
|
|
|
<EmisSiteSimplePicker v-model="queryParams.registerSiteCode" @onChange="onScanSiteSelect" ></EmisSiteSimplePicker>
|
2024-05-15 12:07:16 +00:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="8">
|
2024-05-20 03:49:32 +00:00
|
|
|
|
<el-form-item :label="$t('签收图片')" prop="isSignPic" label-width="80px">
|
2024-05-15 12:07:16 +00:00
|
|
|
|
<el-select v-model="queryParams.isSignPic" :placeholder="$t('全部')" value="0">
|
|
|
|
|
|
<el-option :label="$t('未上传')" value="1"></el-option>
|
|
|
|
|
|
<el-option :label="$t('已上传')" value="2"></el-option>
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="8">
|
2024-05-20 03:49:32 +00:00
|
|
|
|
<el-form-item :label="$t('派件员')" prop="dispatchManCode" label-width="80px">
|
|
|
|
|
|
<EmisUserSimplePicker v-model="queryParams.dispatchManCode" postCode="RSD" @onChange="onStaffSelect" ></EmisUserSimplePicker>
|
2024-05-15 12:07:16 +00:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="8">
|
2024-05-20 03:49:32 +00:00
|
|
|
|
<el-form-item :label="$t('收件国家')" prop="receiveCountry" label-width="80px">
|
|
|
|
|
|
<CountryPicker v-model="queryParams.receiveCountry" @onChange="onCountrySelect" ></CountryPicker>
|
2024-05-15 12:07:16 +00:00
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
</el-col>
|
2024-05-20 03:49:32 +00:00
|
|
|
|
</el-form>
|
|
|
|
|
|
<!-- </search-form> -->
|
2024-05-15 12:07:16 +00:00
|
|
|
|
</el-row >
|
|
|
|
|
|
|
|
|
|
|
|
<xd-table v-loading="loading"
|
|
|
|
|
|
border stripe
|
2024-05-22 03:40:02 +00:00
|
|
|
|
ref="singleSelectTable"
|
2024-05-15 12:07:16 +00:00
|
|
|
|
size="small"
|
|
|
|
|
|
:data="emisElectronicPagApplyList"
|
|
|
|
|
|
:showSearch.sync="showSearch"
|
|
|
|
|
|
:queryParams="queryParams"
|
|
|
|
|
|
:total="total"
|
|
|
|
|
|
@queryTable="getList"
|
2024-05-22 03:40:02 +00:00
|
|
|
|
@select="handleSelectionChange"
|
2024-05-15 12:07:16 +00:00
|
|
|
|
@sort-change="handleSortChange"
|
|
|
|
|
|
v-if="tableHeight" :max-height="tableHeight + 'px'"
|
2024-05-22 03:40:02 +00:00
|
|
|
|
:header-cell-class-name="cellClass"
|
2024-05-15 12:07:16 +00:00
|
|
|
|
>
|
|
|
|
|
|
<div slot="toolbar">
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
2024-05-20 03:49:32 +00:00
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
plain
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
@click="getList"
|
|
|
|
|
|
>查询</el-button>
|
|
|
|
|
|
</el-col>
|
2024-05-15 12:07:16 +00:00
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
plain
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
@click="getList"
|
|
|
|
|
|
>导出</el-button>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
|
|
|
|
2024-06-04 07:19:23 +00:00
|
|
|
|
<el-table-column :label="$t('单号')" align="center" prop="queryType" min-width="170">
|
2024-05-15 12:07:16 +00:00
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<span>{{scope.row.queryType=="1"?scope.row.billCode:scope.row.orderSN}}</span>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
2024-05-20 03:49:32 +00:00
|
|
|
|
<el-table-column :label="$t('回复状态')" align="center" prop="blReversion" min-width="100" >
|
|
|
|
|
|
<template slot-scope="scope">
|
2024-05-22 03:40:02 +00:00
|
|
|
|
<span>{{ scope.row.blReversion ? "是" : "否" }}</span>
|
|
|
|
|
|
</template>
|
2024-05-20 03:49:32 +00:00
|
|
|
|
</el-table-column>
|
2024-05-20 11:33:47 +00:00
|
|
|
|
<el-table-column :label="$t('通知网点')" align="center" prop="sendSiteCode" min-width="100" />
|
2024-05-20 03:49:32 +00:00
|
|
|
|
<el-table-column :label="$t('登记网点')" align="center" prop="registerSiteCode" min-width="100" />
|
2024-06-04 07:19:23 +00:00
|
|
|
|
<el-table-column :label="$t('登记日期')" align="center" prop="registerDate" min-width="170">
|
2024-05-15 12:07:16 +00:00
|
|
|
|
<template slot-scope="scope">
|
2024-05-22 03:40:02 +00:00
|
|
|
|
<span>{{ parseTime(scope.row.registerDate) }}</span>
|
|
|
|
|
|
</template>
|
2024-05-15 12:07:16 +00:00
|
|
|
|
</el-table-column>
|
2024-06-05 10:17:39 +00:00
|
|
|
|
<el-table-column :label="$t('问题件类型')" align="center" prop="problemTypeName" min-width="150" />
|
|
|
|
|
|
<el-table-column :label="$t('登记人')" align="center" prop="registerManCode" min-width="150" />
|
|
|
|
|
|
<el-table-column :label="$t('登记部门')" align="center" prop="registerManDept" min-width="150" />
|
2024-05-20 03:49:32 +00:00
|
|
|
|
<el-table-column :label="$t('图片路径')" align="center" prop="filePath" min-width="100"/>
|
2024-06-05 10:17:39 +00:00
|
|
|
|
<el-table-column :label="$t('问题件原因')" align="center" prop="problemCause" min-width="150">
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<span class="ellipsis">{{ scope.row.problemCause }}</span>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column :label="$t('登记保存时间')" align="center" prop="registerSaveDate" min-width="150">
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<span>{{ parseTime(scope.row.registerSaveDate) }}</span>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
2024-05-15 12:07:16 +00:00
|
|
|
|
<el-table-column :label="$t('数据来源')" align="center" prop="dataFrom" min-width="100" />
|
2024-06-05 10:17:39 +00:00
|
|
|
|
<el-table-column :label="$t('所属业务员')" align="center" prop="salesmen" min-width="150" />
|
|
|
|
|
|
<el-table-column :label="$t('业务员编号')" align="center" prop="xxx" min-width="150" />
|
|
|
|
|
|
<el-table-column :label="$t('问题件回复')" align="center" prop="reversionStr" min-width="150" />
|
|
|
|
|
|
<el-table-column :label="$t('回复人')" align="center" prop="reversionMan" min-width="150" />
|
2024-06-04 07:19:23 +00:00
|
|
|
|
<el-table-column :label="$t('回复日期')" align="center" prop="reversionDate" min-width="170">
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<span>{{ parseTime(scope.row.reversionDate) }}</span>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
2024-05-15 12:07:16 +00:00
|
|
|
|
<el-table-column :label="$t('回复网点')" align="center" prop="reversionManCode" min-width="100" />
|
2024-05-20 03:49:32 +00:00
|
|
|
|
<el-table-column :label="$t('处理状态')" align="center" prop="status" min-width="100" />
|
2024-05-15 12:07:16 +00:00
|
|
|
|
<el-table-column :label="$t('是否查看')" align="center" prop="blSee" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('是否回复')" align="center" prop="blReversion" min-width="100" />
|
2024-06-05 10:17:39 +00:00
|
|
|
|
<el-table-column :label="$t('问题件路径')" align="center" prop="problemCause" min-width="150" />
|
|
|
|
|
|
<el-table-column :label="$t('问题件主题')" align="center" prop="problemTitle" min-width="150" />
|
|
|
|
|
|
<el-table-column :label="$t('备注')" align="center" prop="remark" min-width="100">
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<span class="ellipsis">{{ scope.row.remark }}</span>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column :label="$t('数据产生来源')" align="center" prop="dataFrom" min-width="150" />
|
2024-05-15 12:07:16 +00:00
|
|
|
|
</xd-table>
|
2024-05-22 03:40:02 +00:00
|
|
|
|
<el-divider class="divider"></el-divider>
|
|
|
|
|
|
<el-row :gutter="0" class="reversion" v-show="showProblemDetail">
|
|
|
|
|
|
<el-row :gutter="0" class="reversion-title">
|
2024-05-15 12:07:16 +00:00
|
|
|
|
{{$t('问题件回复')}}
|
|
|
|
|
|
</el-row>
|
2024-05-22 03:40:02 +00:00
|
|
|
|
<el-row :gutter="0" >
|
2024-05-15 12:07:16 +00:00
|
|
|
|
<el-col :span="8">
|
2024-05-22 03:40:02 +00:00
|
|
|
|
<el-col :span="8" class="labeltext">
|
2024-05-15 12:07:16 +00:00
|
|
|
|
{{$t('登记网点联系人和电话')}}
|
|
|
|
|
|
</el-col>
|
2024-05-22 03:40:02 +00:00
|
|
|
|
<el-col :span="16" class="labelcontent">
|
2024-05-15 12:07:16 +00:00
|
|
|
|
<el-row>
|
2024-05-22 03:40:02 +00:00
|
|
|
|
{{$t("登记网点:") + (reversion.registerSiteCode || '总部')}}
|
2024-05-15 12:07:16 +00:00
|
|
|
|
</el-row>
|
|
|
|
|
|
<el-row>
|
2024-05-22 03:40:02 +00:00
|
|
|
|
{{$t("负责人:") + (reversion.registerManCode || '未填写')}}
|
2024-05-15 12:07:16 +00:00
|
|
|
|
</el-row>
|
|
|
|
|
|
<el-row>
|
2024-05-22 03:40:02 +00:00
|
|
|
|
{{$t("联系电话:") + (reversion.empPhone || '未填写')}}
|
2024-05-15 12:07:16 +00:00
|
|
|
|
</el-row>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="8">
|
2024-05-22 03:40:02 +00:00
|
|
|
|
<el-col :span="6"class="labeltext">
|
2024-05-15 12:07:16 +00:00
|
|
|
|
{{$t('问题原因:')}}
|
|
|
|
|
|
</el-col>
|
2024-05-22 03:40:02 +00:00
|
|
|
|
<el-col :span="18" class="labelcontent">
|
2024-05-15 12:07:16 +00:00
|
|
|
|
<el-row>
|
2024-05-22 03:40:02 +00:00
|
|
|
|
{{(reversion.problemCause || "暂无")}}
|
2024-05-15 12:07:16 +00:00
|
|
|
|
</el-row>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
</el-col>
|
2024-05-22 03:40:02 +00:00
|
|
|
|
<el-col :span="8" class="labeltext">
|
|
|
|
|
|
<el-row >{{$t('回复列表:')}}</el-row>
|
|
|
|
|
|
<el-row>
|
|
|
|
|
|
<Comments ref="commentList" :billCode="currentRow.billCode"/>
|
|
|
|
|
|
</el-row>
|
2024-05-15 12:07:16 +00:00
|
|
|
|
</el-col>
|
|
|
|
|
|
</el-row >
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
2024-06-06 01:14:22 +00:00
|
|
|
|
import { listEmisWaybillProblemInfo } from "@/api/emis/emisWaybillProblemInfo";
|
2024-05-20 03:49:32 +00:00
|
|
|
|
import { listEmisWaybill } from "@/api/emis/emisWaybill";
|
2024-06-05 10:17:39 +00:00
|
|
|
|
import { addEmisWaybillProblemFaq } from "@/api/emis/emisWaybillProblemFaq";
|
2024-05-15 12:07:16 +00:00
|
|
|
|
|
|
|
|
|
|
import elDateAdvPicker from '@/components/DatePickerAdv/elDateAdvPicker';
|
|
|
|
|
|
import EmisSiteSimplePicker from '@/views/emis/EmisBaseTools/EmisSiteSimplePicker.vue';
|
|
|
|
|
|
import EmisGetNextSitePicker from '@/views/emis/EmisBaseTools/EmisGetNextSitePicker.vue';
|
|
|
|
|
|
import DestinationPicker from '@/views/emis/EmisBaseTools/DestinationPicker.vue';
|
|
|
|
|
|
import EmisUserSimplePicker from '@/views/emis/EmisBaseTools/EmisUserSimplePicker.vue';
|
|
|
|
|
|
import CountryPicker from '@/views/emis/EmisBaseTools/CountryPicker.vue';
|
2024-05-22 03:40:02 +00:00
|
|
|
|
import Comments from '@/views/emis/EmisBaseTools/Comments.vue';
|
2024-06-05 10:17:39 +00:00
|
|
|
|
import { parseTime, dateToStr } from "@/utils/custom";
|
2024-05-15 12:07:16 +00:00
|
|
|
|
|
|
|
|
|
|
import { getDateTimeToString } from '@/utils/payutils'
|
|
|
|
|
|
export default {
|
2024-05-22 03:40:02 +00:00
|
|
|
|
name: "ReceivedProblemInquiries",
|
|
|
|
|
|
components: { Comments, EmisUserSimplePicker, CountryPicker, elDateAdvPicker, EmisSiteSimplePicker, EmisGetNextSitePicker, DestinationPicker },
|
2024-05-15 12:07:16 +00:00
|
|
|
|
dicts: ['emis_scan_type'],
|
|
|
|
|
|
data() {
|
|
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
|
// 调整表格的高度,不允许滚动
|
|
|
|
|
|
tableHeight: 200,
|
|
|
|
|
|
// 遮罩层
|
|
|
|
|
|
loading: false,
|
|
|
|
|
|
// 选中数组
|
|
|
|
|
|
ids: [],
|
|
|
|
|
|
// 显示搜索条件
|
|
|
|
|
|
showSearch: true,
|
|
|
|
|
|
// 创建时间搜索
|
|
|
|
|
|
dateTimeRange:[],
|
|
|
|
|
|
// 总条数
|
|
|
|
|
|
total: 0,
|
|
|
|
|
|
// 网点电子面单申请表格数据
|
|
|
|
|
|
emisElectronicPagApplyList: [],
|
|
|
|
|
|
// 弹出层标题
|
|
|
|
|
|
title: "",
|
|
|
|
|
|
// 是否显示弹出层
|
|
|
|
|
|
open: false,
|
2024-05-22 03:40:02 +00:00
|
|
|
|
currentRow:{},
|
2024-05-15 12:07:16 +00:00
|
|
|
|
|
|
|
|
|
|
openForm: false,
|
|
|
|
|
|
titleForm: "",
|
|
|
|
|
|
|
|
|
|
|
|
titleEmisElectronicPagApply: "",
|
|
|
|
|
|
openEmisElectronicPagApply: false,
|
|
|
|
|
|
|
|
|
|
|
|
// 显示编辑框更多
|
|
|
|
|
|
moreInputVisible: false,
|
|
|
|
|
|
|
2024-05-22 03:40:02 +00:00
|
|
|
|
reversion:{
|
2024-05-27 07:34:14 +00:00
|
|
|
|
status:"",
|
2024-05-22 03:40:02 +00:00
|
|
|
|
content:''
|
|
|
|
|
|
},
|
|
|
|
|
|
showProblemDetail: false,
|
2024-05-15 12:07:16 +00:00
|
|
|
|
|
|
|
|
|
|
// 弹出展示层
|
|
|
|
|
|
currentId:null,
|
|
|
|
|
|
id:null,
|
|
|
|
|
|
titleView:"",
|
|
|
|
|
|
openView: false,
|
|
|
|
|
|
// 备注时间范围
|
|
|
|
|
|
daterangeApplyDate: [],
|
|
|
|
|
|
// 备注时间范围
|
|
|
|
|
|
daterangeCreateTime: [],
|
|
|
|
|
|
// 备注时间范围
|
|
|
|
|
|
daterangeUpdateTime: [],
|
|
|
|
|
|
// 查询参数
|
|
|
|
|
|
queryParams: {
|
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
|
pageSize: 20,
|
|
|
|
|
|
orderSN:null,
|
2024-05-22 03:40:02 +00:00
|
|
|
|
billCode: "",
|
2024-05-15 12:07:16 +00:00
|
|
|
|
scanType: null,
|
|
|
|
|
|
scanDate: null,
|
|
|
|
|
|
scanManCode: null,
|
|
|
|
|
|
scanManPhone: null,
|
|
|
|
|
|
scanMan: null,
|
|
|
|
|
|
scanSite: null,
|
|
|
|
|
|
scanSiteCode: null,
|
|
|
|
|
|
scanSitePhone: null,
|
|
|
|
|
|
scanWeight: null,
|
|
|
|
|
|
weight: null,
|
|
|
|
|
|
dispatchOrSendMan: null,
|
|
|
|
|
|
dispatchOrSendManCode: null,
|
|
|
|
|
|
dispatchOrSendManPhone: null,
|
|
|
|
|
|
signDate: null,
|
|
|
|
|
|
signMan: null,
|
|
|
|
|
|
signSite: null,
|
|
|
|
|
|
signSiteCode: null,
|
|
|
|
|
|
recordMan: null,
|
|
|
|
|
|
recordManCode: null,
|
|
|
|
|
|
recordManPhone: null,
|
|
|
|
|
|
recordSiteCode: null,
|
|
|
|
|
|
truckMan: null,
|
|
|
|
|
|
truckCode: null,
|
|
|
|
|
|
dataFrom: null,
|
|
|
|
|
|
picUrl: null,
|
|
|
|
|
|
status: null,
|
|
|
|
|
|
delFlag: null,
|
|
|
|
|
|
remark: null,
|
2024-05-20 03:49:32 +00:00
|
|
|
|
params:{
|
|
|
|
|
|
queryOrderType:"1"
|
|
|
|
|
|
},//扩展参数
|
|
|
|
|
|
dateTimeRange:[],
|
2024-05-15 12:07:16 +00:00
|
|
|
|
// scanSite:null,
|
|
|
|
|
|
queryType:"1",// 选择运单类型,默认为 运单号:1,订单号:2
|
|
|
|
|
|
// scanType:"",
|
2024-05-20 03:49:32 +00:00
|
|
|
|
isSubBill:"",
|
2024-05-15 12:07:16 +00:00
|
|
|
|
},
|
|
|
|
|
|
// 修改参数
|
|
|
|
|
|
modifyParams:{
|
|
|
|
|
|
scanSite:null,
|
|
|
|
|
|
scanSiteCode:null,
|
|
|
|
|
|
scanSitePhone:null,
|
|
|
|
|
|
preOrNextStation:null,
|
|
|
|
|
|
preOrNextStationCode:null,
|
|
|
|
|
|
preOrNextStationPhone:null,
|
|
|
|
|
|
scanMan:null,
|
|
|
|
|
|
scanManCode:null,
|
|
|
|
|
|
scanManPhone:null,
|
|
|
|
|
|
},
|
|
|
|
|
|
// 表单参数
|
|
|
|
|
|
form: {},
|
|
|
|
|
|
// 表单校验
|
|
|
|
|
|
rules: {
|
|
|
|
|
|
id: [
|
|
|
|
|
|
{ required: true, message: "id不能为空", trigger: "blur" }
|
|
|
|
|
|
],
|
|
|
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
},
|
|
|
|
|
|
created() {
|
|
|
|
|
|
// this.getList();
|
|
|
|
|
|
this.$nextTick(function() {
|
|
|
|
|
|
let queryFormEl = this.$refs.queryForm.$el;
|
2024-05-27 07:34:14 +00:00
|
|
|
|
let tableH = queryFormEl.offsetHeight+260;
|
2024-05-15 12:07:16 +00:00
|
|
|
|
this.tableHeight = window.innerHeight - tableH;
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
2024-06-06 01:14:22 +00:00
|
|
|
|
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];
|
|
|
|
|
|
},
|
2024-05-15 12:07:16 +00:00
|
|
|
|
methods: {
|
|
|
|
|
|
/** 查询扫描记录列表 */
|
|
|
|
|
|
getList() {
|
|
|
|
|
|
this.loading = true;
|
|
|
|
|
|
console.log("---->this.queryParams,", this.queryParams);
|
|
|
|
|
|
if (null != this.dateTimeRange && '' != this.dateTimeRange) {
|
2024-06-05 10:17:39 +00:00
|
|
|
|
this.queryParams.params.beginRegisterDate = dateToStr(new Date(this.dateTimeRange[0]));
|
|
|
|
|
|
this.queryParams.params.endRegisterDate = dateToStr(new Date(this.dateTimeRange[1]));
|
2024-05-15 12:07:16 +00:00
|
|
|
|
}else{
|
2024-05-20 03:49:32 +00:00
|
|
|
|
this.queryParams.params.beginRegisterDate = null;
|
|
|
|
|
|
this.queryParams.params.endRegisterDate = null;
|
2024-05-15 12:07:16 +00:00
|
|
|
|
}
|
2024-05-22 03:40:02 +00:00
|
|
|
|
this.queryParams.billCode = this.queryParams.billCode.trim();
|
2024-05-20 03:49:32 +00:00
|
|
|
|
// this.queryParams.params.queryType = this.queryParams.queryType;//1:yd;2:dd;
|
|
|
|
|
|
// this.queryParams.params.isSubBill = this.queryParams.isSubBill;//1:子单;0:主单
|
2024-05-15 12:07:16 +00:00
|
|
|
|
|
|
|
|
|
|
let queryType = this.queryParams.queryType;
|
|
|
|
|
|
if(queryType == "1"){
|
|
|
|
|
|
this.queryParams.orderSN=null;
|
|
|
|
|
|
}else if(queryType == "2"){
|
|
|
|
|
|
this.queryParams.orderSN=this.queryParams.billCode;
|
2024-05-22 03:40:02 +00:00
|
|
|
|
this.queryParams.billCode="";
|
2024-05-15 12:07:16 +00:00
|
|
|
|
}
|
2024-05-20 03:49:32 +00:00
|
|
|
|
// listEmisTmsScanRecord(this.queryParams).then(response => {
|
2024-06-06 01:14:22 +00:00
|
|
|
|
listEmisWaybillProblemInfo(this.queryParams).then(response => {
|
|
|
|
|
|
// listEmisWaybill(this.queryParams).then(response => {
|
2024-05-15 12:07:16 +00:00
|
|
|
|
this.emisElectronicPagApplyList = [];
|
|
|
|
|
|
// this.total = 0;
|
|
|
|
|
|
this.loading = false;
|
|
|
|
|
|
let rows = response.rows;
|
|
|
|
|
|
this.total = response.total;
|
|
|
|
|
|
if(!rows || rows.length == 0){
|
|
|
|
|
|
this.$message.error("未查到单号");
|
|
|
|
|
|
return;
|
|
|
|
|
|
}
|
|
|
|
|
|
for (let index = 0; index < rows.length; index++) {
|
|
|
|
|
|
let scanRstItem = rows[index];
|
|
|
|
|
|
console.log(scanRstItem);
|
|
|
|
|
|
|
|
|
|
|
|
let record =Object.assign({}, scanRstItem)
|
|
|
|
|
|
record.queryType = this.queryParams.queryType;
|
|
|
|
|
|
record.scanSiteName = this.queryParams.scanSiteName || record.scanSiteName;
|
|
|
|
|
|
record.preOrNextStation = this.queryParams.preOrNextStation || scanRstItem.preOrNextStation;
|
|
|
|
|
|
this.emisElectronicPagApplyList.push(record);
|
|
|
|
|
|
}
|
2024-05-22 03:40:02 +00:00
|
|
|
|
this.currentRow = {};
|
|
|
|
|
|
this.showProblemDetail = false;
|
|
|
|
|
|
this.reversion = {
|
2024-05-27 07:34:14 +00:00
|
|
|
|
status:'',
|
2024-05-22 03:40:02 +00:00
|
|
|
|
content:''
|
|
|
|
|
|
}
|
2024-05-15 12:07:16 +00:00
|
|
|
|
});
|
|
|
|
|
|
},
|
2024-05-27 07:34:14 +00:00
|
|
|
|
cellClass({ row, column, rowIndex, columnIndex }) {
|
|
|
|
|
|
if (columnIndex === 0) {
|
|
|
|
|
|
return "seltAllbtnDis";
|
|
|
|
|
|
}
|
2024-05-22 03:40:02 +00:00
|
|
|
|
},
|
2024-05-15 12:07:16 +00:00
|
|
|
|
// 取消按钮
|
|
|
|
|
|
cancel() {
|
|
|
|
|
|
this.open = false;
|
|
|
|
|
|
this.resetModifyParams();
|
|
|
|
|
|
},
|
|
|
|
|
|
onScanSiteSelect(item){
|
2024-05-20 03:49:32 +00:00
|
|
|
|
// this.queryParams.scanSite=item && item.siteName;
|
|
|
|
|
|
this.queryParams.registerSiteCode=item && item.siteCode;
|
2024-05-15 12:07:16 +00:00
|
|
|
|
},
|
|
|
|
|
|
onPreOrNextSiteSelect(item){
|
|
|
|
|
|
this.queryParams.preOrNextStation=item && item.siteName;
|
|
|
|
|
|
this.queryParams.preOrNextStationCode=item && item.siteCode;
|
|
|
|
|
|
},
|
|
|
|
|
|
onDestinationSelect(item){
|
|
|
|
|
|
this.queryParams.destCode=item && item.destCode;
|
|
|
|
|
|
this.queryParams.destName=item && item.destName;
|
|
|
|
|
|
},
|
|
|
|
|
|
onDateSelect(value){
|
2024-05-20 03:49:32 +00:00
|
|
|
|
// console.log("date picker---->", value)
|
2024-05-15 12:07:16 +00:00
|
|
|
|
this.queryParams.dateTimeRange=value;
|
|
|
|
|
|
// scanDate
|
|
|
|
|
|
},
|
|
|
|
|
|
onStaffSelect(item){
|
2024-05-20 03:49:32 +00:00
|
|
|
|
// this.form.dispatchOrSendMan=item.empName || this.$store.getters.empName;
|
|
|
|
|
|
this.form.dispatchManCode=item && item.empCode || null;
|
2024-05-15 12:07:16 +00:00
|
|
|
|
},
|
|
|
|
|
|
onModifyScanSiteSelect(item){
|
|
|
|
|
|
this.modifyParams.scanSite=item.siteName;
|
|
|
|
|
|
this.modifyParams.scanSiteCode = item.siteCode
|
|
|
|
|
|
this.modifyParams.scanSitePhone = item.scanSitePhone;
|
|
|
|
|
|
},
|
|
|
|
|
|
onModifyPreOrNextSiteSelect(item){
|
|
|
|
|
|
this.modifyParams.preOrNextStation=item.siteName;
|
|
|
|
|
|
this.modifyParams.preOrNextStationCode=item.siteCode;
|
|
|
|
|
|
this.modifyParams.preOrNextStationPhone=item.preOrNextStationPhone;
|
|
|
|
|
|
},
|
|
|
|
|
|
onModifyStaffSelect(item){
|
|
|
|
|
|
this.modifyParams.scanMan=item.empName;
|
|
|
|
|
|
this.modifyParams.scanManCode=item.empCode;
|
|
|
|
|
|
// this.modifyParams.scanManPhone=item.scanManPhone;
|
|
|
|
|
|
},
|
2024-05-20 03:49:32 +00:00
|
|
|
|
onCountrySelect(item){
|
|
|
|
|
|
if(item){
|
|
|
|
|
|
this.form.countryName=item.name;
|
|
|
|
|
|
this.form.countryCode=item.code;
|
|
|
|
|
|
}else{
|
|
|
|
|
|
this.form.countryName=null;
|
|
|
|
|
|
this.form.countryCode=null;
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
2024-05-15 12:07:16 +00:00
|
|
|
|
//删除
|
|
|
|
|
|
clearSelectionBatch(){
|
|
|
|
|
|
let newList =[];
|
|
|
|
|
|
console.log(this.ids)
|
|
|
|
|
|
this.emisElectronicPagApplyList.forEach(item=>{
|
|
|
|
|
|
if(this.ids.indexOf(item.id) == -1){
|
|
|
|
|
|
newList.push(item);
|
|
|
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
this.emisElectronicPagApplyList = newList;
|
|
|
|
|
|
},
|
|
|
|
|
|
// 表单重置
|
|
|
|
|
|
reset() {
|
|
|
|
|
|
this.form = {
|
|
|
|
|
|
id: null,
|
|
|
|
|
|
applySeq: null,
|
|
|
|
|
|
applyDate: getDateTimeToString(new Date()),
|
|
|
|
|
|
provideType: null,
|
|
|
|
|
|
applyName: null,
|
|
|
|
|
|
applyMan: null,
|
|
|
|
|
|
applyManCode: null,
|
|
|
|
|
|
applySite: null,
|
|
|
|
|
|
applySiteCode: null,
|
|
|
|
|
|
unitMoney: null,
|
|
|
|
|
|
applyCount: null,
|
|
|
|
|
|
sumMoney: null,
|
|
|
|
|
|
blSend: null,
|
|
|
|
|
|
sendDate: null,
|
|
|
|
|
|
sendMan: null,
|
|
|
|
|
|
sendManCode: null,
|
|
|
|
|
|
sendSite: null,
|
|
|
|
|
|
sendSiteCode: null,
|
|
|
|
|
|
blCancel: null,
|
|
|
|
|
|
cancelMan: null,
|
|
|
|
|
|
cancelManCode: null,
|
|
|
|
|
|
cancelDate: null,
|
|
|
|
|
|
cancelSite: null,
|
|
|
|
|
|
cancelSiteCode: null,
|
|
|
|
|
|
userSite: null,
|
|
|
|
|
|
userSiteCode: null,
|
|
|
|
|
|
startNo: null,
|
|
|
|
|
|
endNo: null,
|
|
|
|
|
|
curStartNo: null,
|
|
|
|
|
|
hasBillCount: null,
|
|
|
|
|
|
blAllowAllocate: null,
|
|
|
|
|
|
createSiteCode: null,
|
|
|
|
|
|
modifySiteCode: null,
|
|
|
|
|
|
delFlag: null,
|
|
|
|
|
|
createBy: null,
|
|
|
|
|
|
createTime: null,
|
|
|
|
|
|
updateBy: null,
|
|
|
|
|
|
updateTime: null,
|
|
|
|
|
|
remark: null
|
|
|
|
|
|
};
|
|
|
|
|
|
this.resetForm("form");
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 搜索按钮操作 */
|
|
|
|
|
|
handleQuery() {
|
|
|
|
|
|
this.queryParams.pageNum = 1;
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
},
|
|
|
|
|
|
handleTypeSelect(selection){
|
|
|
|
|
|
this.sctype = selection.value;
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 重置按钮操作 */
|
|
|
|
|
|
resetQuery() {
|
|
|
|
|
|
this.resetForm("queryForm");
|
|
|
|
|
|
this.handleQuery();
|
|
|
|
|
|
},
|
|
|
|
|
|
resetModifyParams(){
|
|
|
|
|
|
this.modifyParams = {
|
|
|
|
|
|
scanSite:null,
|
|
|
|
|
|
scanSiteCode:null,
|
|
|
|
|
|
scanSitePhone:null,
|
|
|
|
|
|
preOrNextStation:null,
|
|
|
|
|
|
preOrNextStationCode:null,
|
|
|
|
|
|
preOrNextStationPhone:null,
|
|
|
|
|
|
scanMan:null,
|
|
|
|
|
|
scanManCode:null,
|
|
|
|
|
|
scanManPhone:null,
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
// 多选框选中数据
|
2024-05-22 03:40:02 +00:00
|
|
|
|
handleSelectionChange(selection,row) {
|
|
|
|
|
|
if (selection.length > 1) {
|
|
|
|
|
|
// this.$message.error("只能选择一条数据");
|
|
|
|
|
|
this.$refs.singleSelectTable.getInstance().clearSelection();
|
|
|
|
|
|
this.$refs.singleSelectTable.getInstance().toggleRowSelection(row);
|
|
|
|
|
|
this.currentRow = row;
|
|
|
|
|
|
this.showProblemDetail = true;
|
|
|
|
|
|
this.reversion = this.currentRow;
|
|
|
|
|
|
} else if(selection.length==1) {
|
|
|
|
|
|
this.currentRow = selection[0];
|
|
|
|
|
|
this.showProblemDetail = true;
|
|
|
|
|
|
this.reversion = this.currentRow;
|
|
|
|
|
|
}else{
|
|
|
|
|
|
this.currentRow = {};
|
|
|
|
|
|
this.showProblemDetail = false;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
this.reversion = {
|
2024-05-27 07:34:14 +00:00
|
|
|
|
status:'',
|
2024-05-22 03:40:02 +00:00
|
|
|
|
content:''
|
|
|
|
|
|
}
|
|
|
|
|
|
// this.ids = selection.map(item => item.id)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
async saveReversion(){
|
|
|
|
|
|
let commentList = this.$refs.commentList;
|
|
|
|
|
|
let reply = {
|
|
|
|
|
|
// id: null,
|
|
|
|
|
|
probId: null,//问题件序号
|
|
|
|
|
|
billCode: this.currentRow.billCode,
|
|
|
|
|
|
title: this.currentRow.title,
|
|
|
|
|
|
content: this.reversion.content,//具体内容
|
|
|
|
|
|
status: this.reversion.status,//状态
|
|
|
|
|
|
// showFlag: null,//是否显示
|
|
|
|
|
|
replayId: this.currentRow.replayId,//针对的回复的ID
|
|
|
|
|
|
// delFlag: null,
|
|
|
|
|
|
createBy: this.$store.getters.empName,
|
|
|
|
|
|
createTime: this.parseTime(new Date()),
|
|
|
|
|
|
// updateBy: null,
|
|
|
|
|
|
// updateTime: null,
|
|
|
|
|
|
// remark: null,
|
|
|
|
|
|
createSite: this.$store.getters.ownerSiteName,//创建站点
|
|
|
|
|
|
// updateSite: null//更新站点
|
|
|
|
|
|
}
|
|
|
|
|
|
let response = await addEmisWaybillProblemFaq(reply);
|
|
|
|
|
|
console.log(commentList)
|
|
|
|
|
|
if(response && response.code == 200){
|
|
|
|
|
|
commentList.getList();
|
|
|
|
|
|
this.reversion = {
|
2024-05-27 07:34:14 +00:00
|
|
|
|
status:'',
|
2024-05-22 03:40:02 +00:00
|
|
|
|
content:''
|
|
|
|
|
|
}
|
|
|
|
|
|
}else{
|
|
|
|
|
|
this.$message.error(response & response.msg || "未知错误")
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
cancelReversion(){
|
|
|
|
|
|
this.$refs.singleSelectTable.clearSelection();
|
|
|
|
|
|
this.currentRow = {};
|
|
|
|
|
|
this.showProblemDetail = false;
|
|
|
|
|
|
this.reversion = {
|
2024-05-27 07:34:14 +00:00
|
|
|
|
status:'',
|
2024-05-22 03:40:02 +00:00
|
|
|
|
content:''
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-05-15 12:07:16 +00:00
|
|
|
|
},
|
|
|
|
|
|
// 排序 查询字段是表格中字段名字 动态取值排序顺序
|
|
|
|
|
|
handleSortChange(column) {
|
|
|
|
|
|
this.queryParams.orderByColumn = column.prop;
|
|
|
|
|
|
this.queryParams.isAsc = column.order;
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 新增按钮操作 */
|
|
|
|
|
|
handleAdd(row) {
|
|
|
|
|
|
this.reset();
|
|
|
|
|
|
this.open = true;
|
|
|
|
|
|
this.title = "新增";
|
|
|
|
|
|
|
|
|
|
|
|
// 子组件打开模式
|
|
|
|
|
|
// if(row != undefined){
|
|
|
|
|
|
// this.currentParentId = row.id
|
|
|
|
|
|
// }
|
|
|
|
|
|
// this.openEmisElectronicPagApply = true;
|
|
|
|
|
|
// this.titleEmisElectronicPagApply = "新增";
|
|
|
|
|
|
},
|
|
|
|
|
|
handleShowMoreInput(){
|
|
|
|
|
|
this.moreInputVisible = !this.moreInputVisible;
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 修改按钮操作 */
|
|
|
|
|
|
handleUpdate() {
|
|
|
|
|
|
// this.reset();
|
|
|
|
|
|
// const id = this.ids
|
|
|
|
|
|
if(!this.ids || this.ids.length == 0){
|
|
|
|
|
|
this.$message.error("未选中数据,请先选择");
|
|
|
|
|
|
return;
|
|
|
|
|
|
}
|
|
|
|
|
|
this.open = true;
|
|
|
|
|
|
this.title = "修改";
|
|
|
|
|
|
// getEmisElectronicPagApply(id).then(response => {
|
|
|
|
|
|
// this.form = response.data;
|
|
|
|
|
|
// this.open = true;
|
|
|
|
|
|
// this.title = "修改";
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
|
|
// 子组件打开模式
|
|
|
|
|
|
// this.currentId= row.id || this.ids;
|
|
|
|
|
|
// this.openEmisElectronicPagApply = true;
|
|
|
|
|
|
// this.titleEmisElectronicPagApply = "修改";
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
handleView(row) {
|
|
|
|
|
|
this.id=row.id;
|
|
|
|
|
|
this.titleView="查看";
|
|
|
|
|
|
this.openView=true;
|
|
|
|
|
|
// this.router.push({ path: '/emis/emisElectronicPagApply/viewDetail', query: { id: row.id }})
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 提交按钮 */
|
|
|
|
|
|
submitForm() {
|
|
|
|
|
|
for(var i=0; i<this.ids.length;i++){
|
|
|
|
|
|
updateEmisTmsScanRecord({
|
|
|
|
|
|
id:this.ids[i],
|
|
|
|
|
|
...this.modifyParams
|
|
|
|
|
|
}).then(response => {
|
|
|
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
|
|
|
this.open = false;
|
|
|
|
|
|
this.resetModifyParams();
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
});
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// this.$refs["form"].validate(valid => {
|
|
|
|
|
|
// if (valid) {
|
|
|
|
|
|
// if (this.form.id != null) {
|
|
|
|
|
|
// updateEmisElectronicPagApply(this.form).then(response => {
|
|
|
|
|
|
// this.$modal.msgSuccess("修改成功");
|
|
|
|
|
|
// this.open = false;
|
|
|
|
|
|
// this.getList();
|
|
|
|
|
|
// });
|
|
|
|
|
|
// } else {
|
|
|
|
|
|
// addEmisElectronicPagApply(this.form).then(response => {
|
|
|
|
|
|
// this.$modal.msgSuccess("新增成功");
|
|
|
|
|
|
// this.open = false;
|
|
|
|
|
|
// this.getList();
|
|
|
|
|
|
// });
|
|
|
|
|
|
// }
|
|
|
|
|
|
// }
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
|
|
// todo
|
|
|
|
|
|
},
|
|
|
|
|
|
handleFormChanged(){
|
|
|
|
|
|
this.openForm = false;
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
},
|
|
|
|
|
|
cancelForm(){
|
|
|
|
|
|
this.openForm = false;
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 删除按钮操作 */
|
|
|
|
|
|
handleDelete() {
|
|
|
|
|
|
const ids = this.ids
|
|
|
|
|
|
this.$modal.confirm('是否确认删除').then(function() {
|
|
|
|
|
|
return delEmisTmsScanRecord(ids);
|
|
|
|
|
|
}).then(() => {
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
this.$modal.msgSuccess("删除成功");
|
|
|
|
|
|
}).catch(() => {});
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 导出按钮操作 */
|
|
|
|
|
|
handleExport() {
|
|
|
|
|
|
// this.download('emis/emisElectronicPagApply/export', {
|
|
|
|
|
|
// ...this.queryParams
|
|
|
|
|
|
// }, `emisElectronicPagApply_${new Date().getTime()}.xlsx`)
|
|
|
|
|
|
const loadingInstance = this.$loading({
|
|
|
|
|
|
text: '正在导出...'
|
|
|
|
|
|
})
|
|
|
|
|
|
var qParam = {...this.queryParams};
|
|
|
|
|
|
qParam.pageNum=1;
|
|
|
|
|
|
qParam.pageSize=5000;
|
|
|
|
|
|
if (null != this.dateTimeRange && '' != this.dateTimeRange) {
|
|
|
|
|
|
this.queryParams.params["beginScanDate"] = this.dateTimeRange[0];
|
|
|
|
|
|
this.queryParams.params["endScanDate"] = this.dateTimeRange[1];
|
|
|
|
|
|
}
|
|
|
|
|
|
this.queryParams.params["queryType"] = this.queryParams.queryType;//1:yd;2:dd;
|
|
|
|
|
|
this.queryParams.params["isSubBill"] = this.queryParams.isSubBill;//1:子单;0:主单
|
|
|
|
|
|
|
|
|
|
|
|
listEmisTmsScanRecord(this.addDateRange(qParam, this.dateTimeRange)).then(response => {
|
|
|
|
|
|
this.downloadLoading = false
|
|
|
|
|
|
if (response.code === 200) {
|
|
|
|
|
|
const curList = []
|
|
|
|
|
|
for (let index = 0; index < response.rows.length; index++) {
|
|
|
|
|
|
let scanRstItem = response.rows[index];
|
|
|
|
|
|
let record =Object.assign({}, scanRstItem)
|
|
|
|
|
|
record.orderType = this.queryParams.orderType;
|
|
|
|
|
|
record.scanSiteName = this.queryParams.scanSiteName || record.scanSiteName;
|
|
|
|
|
|
record.preOrNextStation = this.queryParams.preOrNextStation || scanRstItem.preOrNextStation;
|
|
|
|
|
|
curList.push(record);
|
|
|
|
|
|
}
|
|
|
|
|
|
import('@/vendor/Export2Excel').then(excel => {
|
|
|
|
|
|
const tHeader = ['id','单号','单号类型','车牌号','扫描时间','扫描类型','扫描网点','上/下一网点','扫描员','录入时间','扫描重量'];
|
|
|
|
|
|
const filterVal = ['id','billCode','orderType','carNo','scanDate','scanType','scanSite','preOrNextStation','scanMan','createTime','scanWeight'];
|
|
|
|
|
|
const data = this.formatJson(filterVal, curList, curList)
|
|
|
|
|
|
excel.export_json_to_excel({
|
|
|
|
|
|
header: tHeader,
|
|
|
|
|
|
data,
|
|
|
|
|
|
filename: '网点电子面单申请',
|
|
|
|
|
|
autoWidth: true
|
|
|
|
|
|
})
|
|
|
|
|
|
loadingInstance.close()
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// listEmisTmsScanRecord(this.addDateRange(qParam, this.dateTimeRange)).then(response => {
|
|
|
|
|
|
// this.emisElectronicPagApplyList = [];
|
|
|
|
|
|
// this.loading = false;
|
|
|
|
|
|
// let rows = response.rows;
|
|
|
|
|
|
// this.total = response.total;
|
|
|
|
|
|
// if(!rows || rows.length == 0){
|
|
|
|
|
|
// this.$message.error("未查到单号");
|
|
|
|
|
|
// return;
|
|
|
|
|
|
// }
|
|
|
|
|
|
// for (let index = 0; index < rows.length; index++) {
|
|
|
|
|
|
// let scanRstItem = rows[index];
|
|
|
|
|
|
// console.log(scanRstItem);
|
|
|
|
|
|
|
|
|
|
|
|
// let record =Object.assign({}, scanRstItem)
|
|
|
|
|
|
// record.orderType = this.queryParams.orderType;
|
|
|
|
|
|
// record.scanSiteName = this.queryParams.scanSiteName || record.scanSiteName;
|
|
|
|
|
|
// record.preOrNextStation = this.queryParams.preOrNextStation || scanRstItem.preOrNextStation;
|
|
|
|
|
|
// this.emisElectronicPagApplyList.push(record);
|
|
|
|
|
|
// }
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
formatJson(filterVal, jsonData, resData) {
|
|
|
|
|
|
let index = 0
|
|
|
|
|
|
return jsonData.map(v => filterVal.map(j => {
|
|
|
|
|
|
if (j === 'index') {
|
|
|
|
|
|
return ++index
|
|
|
|
|
|
}
|
|
|
|
|
|
if (j === 'status') {
|
|
|
|
|
|
var statusStr='xxx'
|
|
|
|
|
|
if(v[j] == 10){
|
|
|
|
|
|
statusStr='xxx'
|
|
|
|
|
|
}
|
|
|
|
|
|
return statusStr;
|
|
|
|
|
|
}
|
|
|
|
|
|
return v[j]
|
|
|
|
|
|
}))
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 列索引函数 */
|
|
|
|
|
|
getIndex($index) {
|
|
|
|
|
|
return (this.queryParams.pageNum - 1) * this.queryParams.pageSize + $index + 1
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 时间搜索响应函数 */
|
|
|
|
|
|
// dateTimeChange(value){
|
|
|
|
|
|
// this.dateTimeRange=value;
|
|
|
|
|
|
// },
|
|
|
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
2024-05-27 07:34:14 +00:00
|
|
|
|
::v-deep .seltAllbtnDis .cell {
|
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
|
}
|
2024-05-15 12:07:16 +00:00
|
|
|
|
.el-divider{
|
|
|
|
|
|
margin-top: 0px;
|
|
|
|
|
|
background: 0 0;
|
|
|
|
|
|
border-top: 1px solid #E6EBF5;
|
|
|
|
|
|
}
|
|
|
|
|
|
.el-divider__text {
|
|
|
|
|
|
color: #0955ee;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
2024-05-20 03:49:32 +00:00
|
|
|
|
.query-label {
|
|
|
|
|
|
.el-radio{
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
line-height: 23px;
|
|
|
|
|
|
white-space: normal;
|
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2024-05-22 03:40:02 +00:00
|
|
|
|
.divider{
|
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
|
}
|
2024-05-15 12:07:16 +00:00
|
|
|
|
.reversion{
|
|
|
|
|
|
margin-left: 0px;
|
|
|
|
|
|
margin-right: 0px;
|
|
|
|
|
|
padding: 20px;
|
2024-05-22 03:40:02 +00:00
|
|
|
|
/* border-style: solid;
|
|
|
|
|
|
border-width: 0.5px; */
|
|
|
|
|
|
/* margin-top: 20px; */
|
2024-05-15 12:07:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
.reversion-title{
|
|
|
|
|
|
margin-left: -10px;
|
|
|
|
|
|
margin-right: -10px;
|
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
}
|
2024-05-22 03:40:02 +00:00
|
|
|
|
.row-top{
|
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.labeltext{
|
|
|
|
|
|
line-height: 28px;
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
float: left;
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
color: #606266;
|
|
|
|
|
|
padding: 0 12px 0 0;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
}
|
|
|
|
|
|
.labelcontent{
|
|
|
|
|
|
line-height: 28px;
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
float: left;
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
/* font-weight: 700; */
|
|
|
|
|
|
color: #000000;
|
|
|
|
|
|
padding: 0 12px 0 0;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
}
|
2024-06-05 10:17:39 +00:00
|
|
|
|
.ellipsis {
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
vertical-align: top;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
2024-05-15 12:07:16 +00:00
|
|
|
|
</style>
|