2024-03-01 09:24:07 +00:00
|
|
|
|
<template>
|
|
|
|
|
|
<div class="app-container">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<search-form :model="queryParams" ref="queryForm" size="small" :maxShow="3" label-width="68px" v-show="showSearch" @search="handleQuery" @reset="resetQuery">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
|
|
|
|
|
|
<el-form-item label="" prop="billCode">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.billCode"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('运单号')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="problemType">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.problemType"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('问题类型:')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="problemTitle">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.problemTitle"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('问题件标题')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="problemCause">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.problemCause"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('问题件原因')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="sendSite">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.sendSite"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('发送站点')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="sendSiteCode">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.sendSiteCode"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('发送站点代码')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="registerManCode">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.registerManCode"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('登记人代码')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="registerManDept">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.registerManDept"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('登记人所在部门')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="registerSiteCode">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.registerSiteCode"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('登记站点代码')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="registerDate">
|
|
|
|
|
|
<el-date-picker clearable
|
|
|
|
|
|
v-model="queryParams.registerDate"
|
|
|
|
|
|
type="date"
|
|
|
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('登记时间')">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
</el-date-picker>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="registerSaveDate">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.registerSaveDate"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('登记保存时间')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="dataFrom">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.dataFrom"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('数据来源')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="status">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.status"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('状态')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="isSendSiteRegister">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.isSendSiteRegister"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('是否寄件网点发起')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="blReversion">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.blReversion"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('是否回复')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="reversionStr">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.reversionStr"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('回复内容')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="reversionMan">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.reversionMan"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('回复人')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="reversionManCode">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.reversionManCode"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('回复人代码')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="reversionDate">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.reversionDate"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('回复日期')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="blCheckok">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.blCheckok"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('是否检查')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="blSee">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.blSee"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('是否查看')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="filePath">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.filePath"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('文件路径')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="modifySiteCode">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.modifySiteCode"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('修改站点代码')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="delFlag">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.delFlag"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('删除标志(0代表存在')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="" prop="remark">
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
v-model="queryParams.remark"
|
2024-04-22 05:33:25 +00:00
|
|
|
|
:placeholder="$t('备注')"
|
2024-03-01 09:24:07 +00:00
|
|
|
|
clearable
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</el-form-item>
|
2024-04-22 05:33:25 +00:00
|
|
|
|
</search-form>
|
|
|
|
|
|
|
2024-03-01 09:24:07 +00:00
|
|
|
|
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<xd-table v-loading="loading"
|
|
|
|
|
|
border stripe
|
|
|
|
|
|
size="small"
|
|
|
|
|
|
:data="emisWaybillProblemInfoList"
|
|
|
|
|
|
:showSearch.sync="showSearch"
|
|
|
|
|
|
:queryParams="queryParams"
|
|
|
|
|
|
:total="total"
|
|
|
|
|
|
@queryTable="getList"
|
|
|
|
|
|
@selection-change="handleSelectionChange"
|
|
|
|
|
|
@sort-change="handleSortChange"
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
<div slot="toolbar">
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
plain
|
|
|
|
|
|
icon="el-icon-plus"
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
@click="handleAdd"
|
|
|
|
|
|
v-hasPermi="['emis:emisWaybillProblemInfo:add']"
|
|
|
|
|
|
>新增</el-button>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<!--
|
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
type="success"
|
|
|
|
|
|
plain
|
|
|
|
|
|
icon="el-icon-edit"
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
:disabled="single"
|
|
|
|
|
|
@click="handleUpdate"
|
|
|
|
|
|
v-hasPermi="['emis:emisWaybillProblemInfo:edit']"
|
|
|
|
|
|
>修改</el-button>
|
|
|
|
|
|
</el-col> -->
|
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
type="danger"
|
|
|
|
|
|
plain
|
|
|
|
|
|
icon="el-icon-delete"
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
:disabled="multiple"
|
|
|
|
|
|
@click="handleDelete"
|
|
|
|
|
|
v-hasPermi="['emis:emisWaybillProblemInfo:remove']"
|
|
|
|
|
|
>删除</el-button>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<!-- <el-col :span="1.5">
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
type="warning"
|
|
|
|
|
|
plain
|
|
|
|
|
|
icon="el-icon-download"
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
@click="handleExport"
|
|
|
|
|
|
v-hasPermi="['emis:emisWaybillProblemInfo:export']"
|
|
|
|
|
|
>导出</el-button>
|
|
|
|
|
|
</el-col> -->
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
</div>
|
2024-03-01 09:24:07 +00:00
|
|
|
|
|
|
|
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<!--
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-table-column label="序号" align="center" min-width="60">
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<span v-text="getIndex(scope.$index)"> </span>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
2024-04-22 05:33:25 +00:00
|
|
|
|
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-table-column label="xxx" align="left" prop="xxx" min-width="180">
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<div class="link-type" @click="handleView(scope.row)">{{scope.row.orderSn}}</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-table-column label="结算状态" align="center" prop="settleStatus" :sort-orders="['descending','ascending']" sortable="custom" min-width="80">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<div v-if="scope.row.settleStatus == 0" style="color:red;">
|
|
|
|
|
|
<span class="el-tag el-tag--info">未结算</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div v-if="scope.row.settleStatus == 10" style="color:red;">
|
|
|
|
|
|
<span class="el-tag">待确认</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div v-if="scope.row.settleStatus == 11" style="color:green;">
|
|
|
|
|
|
<span class="el-tag el-tag--success el-tag--light">已确认</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div v-if="scope.row.settleStatus == 20" >
|
|
|
|
|
|
<span class="el-tag el-tag--warning el-tag--light">待打款</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div v-if="scope.row.settleStatus == 21" style="color:green;">
|
|
|
|
|
|
<span class="el-tag el-tag--success el-tag--light">已打款</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div v-if="scope.row.settleStatus == 40" style="color:red;">
|
|
|
|
|
|
<span class="el-tag el-tag--danger">已拒绝</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-table-column :label="$t('运单号')" align="center" prop="billCode" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('问题类型:')" align="center" prop="problemType" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('问题件标题')" align="center" prop="problemTitle" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('问题件原因')" align="center" prop="problemCause" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('发送站点')" align="center" prop="sendSite" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('发送站点代码')" align="center" prop="sendSiteCode" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('登记人代码')" align="center" prop="registerManCode" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('登记人所在部门')" align="center" prop="registerManDept" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('登记站点代码')" align="center" prop="registerSiteCode" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('登记时间')" align="center" prop="registerDate" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('登记保存时间')" align="center" prop="registerSaveDate" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('数据来源')" align="center" prop="dataFrom" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('状态')" align="center" prop="status" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('是否寄件网点发起')" align="center" prop="isSendSiteRegister" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('是否回复')" align="center" prop="blReversion" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('回复内容')" align="center" prop="reversionStr" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('回复人')" align="center" prop="reversionMan" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('回复人代码')" align="center" prop="reversionManCode" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('回复日期')" align="center" prop="reversionDate" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('是否检查')" align="center" prop="blCheckok" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('是否查看')" align="center" prop="blSee" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('文件路径')" align="center" prop="filePath" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('修改站点代码')" align="center" prop="modifySiteCode" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('删除标志(0代表存在')" align="center" prop="delFlag" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('备注')" align="center" prop="remark" min-width="100" />
|
|
|
|
|
|
<el-table-column :label="$t('操作')" align="center" class-name="small-padding fixed-width">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
type="text"
|
|
|
|
|
|
icon="el-icon-edit"
|
|
|
|
|
|
@click="handleUpdate(scope.row)"
|
|
|
|
|
|
v-hasPermi="['emis:emisWaybillProblemInfo:edit']"
|
|
|
|
|
|
>修改</el-button>
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<!--
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-button
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
type="text"
|
|
|
|
|
|
icon="el-icon-delete"
|
|
|
|
|
|
@click="handleDelete(scope.row)"
|
|
|
|
|
|
v-hasPermi="['emis:emisWaybillProblemInfo:remove']"
|
|
|
|
|
|
>删除</el-button> -->
|
|
|
|
|
|
</template>
|
|
|
|
|
|
</el-table-column>
|
2024-04-22 05:33:25 +00:00
|
|
|
|
</xd-table>
|
2024-03-01 09:24:07 +00:00
|
|
|
|
|
|
|
|
|
|
<!-- 添加或修改问题件对话框 -->
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-dialog :title="title" :visible.sync="open" width="500px" v-dialogDrag :close-on-click-modal="false" append-to-body>
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-row :gutter="0">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form ref="form" :model="form" :rules="rules" size="mini" label-width="80px">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('运单号')" prop="billCode">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.billCode" placeholder="请输入运单号" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('问题类型:')" prop="problemType">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.problemType" placeholder="请输入问题类型:" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('问题件标题')" prop="problemTitle">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.problemTitle" placeholder="请输入问题件标题" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('问题件原因')" prop="problemCause">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.problemCause" placeholder="请输入问题件原因" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('发送站点')" prop="sendSite">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.sendSite" placeholder="请输入发送站点" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('发送站点代码')" prop="sendSiteCode">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.sendSiteCode" placeholder="请输入发送站点代码" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('登记人代码')" prop="registerManCode">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.registerManCode" placeholder="请输入登记人代码" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('登记人所在部门')" prop="registerManDept">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.registerManDept" placeholder="请输入登记人所在部门" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('登记站点代码')" prop="registerSiteCode">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.registerSiteCode" placeholder="请输入登记站点代码" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('登记时间')" prop="registerDate">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-date-picker clearable
|
|
|
|
|
|
v-model="form.registerDate"
|
|
|
|
|
|
type="date"
|
|
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
|
placeholder="请选择登记时间">
|
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('登记保存时间')" prop="registerSaveDate">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.registerSaveDate" placeholder="请输入登记保存时间" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('数据来源')" prop="dataFrom">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.dataFrom" placeholder="请输入数据来源" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('状态')" prop="status">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.status" placeholder="请输入状态" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('是否寄件网点发起')" prop="isSendSiteRegister">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.isSendSiteRegister" placeholder="请输入是否寄件网点发起" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('是否回复')" prop="blReversion">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.blReversion" placeholder="请输入是否回复" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('回复内容')" prop="reversionStr">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.reversionStr" placeholder="请输入回复内容" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('回复人')" prop="reversionMan">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.reversionMan" placeholder="请输入回复人" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('回复人代码')" prop="reversionManCode">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.reversionManCode" placeholder="请输入回复人代码" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('回复日期')" prop="reversionDate">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.reversionDate" placeholder="请输入回复日期" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('是否检查')" prop="blCheckok">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.blCheckok" placeholder="请输入是否检查" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('是否查看')" prop="blSee">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.blSee" placeholder="请输入是否查看" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('文件路径')" prop="filePath">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.filePath" placeholder="请输入文件路径" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('修改站点代码')" prop="modifySiteCode">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.modifySiteCode" placeholder="请输入修改站点代码" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('删除标志(0代表存在')" prop="delFlag">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.delFlag" placeholder="请输入删除标志(0代表存在" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="24">
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<el-form-item :label="$t('备注')" prop="remark">
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-input v-model="form.remark" placeholder="请输入备注" />
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<!--
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<el-col :span="24" v-show="moreInputVisible" > </el-col>
|
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
|
<el-divider content-position="right" @click="handleShowMoreInput" >更多信息[+]</el-divider>
|
2024-04-22 05:33:25 +00:00
|
|
|
|
</el-col>
|
2024-03-01 09:24:07 +00:00
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
</el-form>
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<!--
|
|
|
|
|
|
<el-dialog :title="titleForm" :visible.sync="openForm" width="500px" v-dialogDrag append-to-body>
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<emisWaybillProblemInfoForm :id="currentId" @on-changed="handleFormChanged" @on-cancel="cancelForm"></EmisWaybillProblemInfoForm>
|
|
|
|
|
|
</el-dialog>
|
2024-04-22 05:33:25 +00:00
|
|
|
|
-->
|
2024-03-01 09:24:07 +00:00
|
|
|
|
|
2024-04-22 05:33:25 +00:00
|
|
|
|
<!--
|
|
|
|
|
|
<el-dialog :title="titleView" :visible.sync="openView" width="60%" :close-on-click-modal="false" v-dialogDrag append-to-body>
|
2024-03-01 09:24:07 +00:00
|
|
|
|
<emisWaybillProblemInfoView :id="id" ></EmisWaybillProblemInfoView>
|
|
|
|
|
|
</el-dialog>
|
2024-04-22 05:33:25 +00:00
|
|
|
|
-->
|
2024-03-01 09:24:07 +00:00
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
import { listEmisWaybillProblemInfo, getEmisWaybillProblemInfo, delEmisWaybillProblemInfo, addEmisWaybillProblemInfo, updateEmisWaybillProblemInfo } from "@/api/emis/emisWaybillProblemInfo";
|
|
|
|
|
|
import elDateSimplePicker from '@/components/DatePickerAdv/elDateSimplePicker';
|
|
|
|
|
|
import emisWaybillProblemInfoView from '@/views/emis/emisWaybillProblemInfo/emisWaybillProblemInfoView';
|
|
|
|
|
|
import emisWaybillProblemInfoForm from '@/views/emis/emisWaybillProblemInfo/emisWaybillProblemInfoForm';
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
|
name: "emisWaybillProblemInfo",
|
|
|
|
|
|
components: { elDateSimplePicker,emisWaybillProblemInfoView,emisWaybillProblemInfoForm },
|
|
|
|
|
|
dicts: [
|
|
|
|
|
|
],
|
|
|
|
|
|
data() {
|
|
|
|
|
|
return {
|
|
|
|
|
|
// 遮罩层
|
|
|
|
|
|
loading: true,
|
|
|
|
|
|
// 选中数组
|
|
|
|
|
|
ids: [],
|
|
|
|
|
|
// 非单个禁用
|
|
|
|
|
|
single: true,
|
|
|
|
|
|
// 非多个禁用
|
|
|
|
|
|
multiple: true,
|
|
|
|
|
|
// 显示搜索条件
|
|
|
|
|
|
showSearch: true,
|
|
|
|
|
|
// 创建时间搜索
|
|
|
|
|
|
dateTimeRange:[],
|
|
|
|
|
|
// 总条数
|
|
|
|
|
|
total: 0,
|
|
|
|
|
|
// 问题件表格数据
|
|
|
|
|
|
emisWaybillProblemInfoList: [],
|
|
|
|
|
|
// 弹出层标题
|
|
|
|
|
|
title: "",
|
|
|
|
|
|
// 是否显示弹出层
|
|
|
|
|
|
open: false,
|
|
|
|
|
|
|
|
|
|
|
|
openForm: false,
|
|
|
|
|
|
titleForm: "",
|
|
|
|
|
|
|
|
|
|
|
|
titleEmisWaybillProblemInfo: "",
|
|
|
|
|
|
openEmisWaybillProblemInfo: false,
|
|
|
|
|
|
|
|
|
|
|
|
// 显示编辑框更多
|
|
|
|
|
|
moreInputVisible: false,
|
|
|
|
|
|
|
|
|
|
|
|
// 弹出展示层
|
2024-04-22 05:33:25 +00:00
|
|
|
|
currentId:null,
|
2024-03-01 09:24:07 +00:00
|
|
|
|
id:null,
|
|
|
|
|
|
titleView:"",
|
|
|
|
|
|
openView: false,
|
|
|
|
|
|
// 备注时间范围
|
|
|
|
|
|
daterangeRegisterDate: [],
|
|
|
|
|
|
// 备注时间范围
|
|
|
|
|
|
daterangeCreateTime: [],
|
|
|
|
|
|
// 备注时间范围
|
|
|
|
|
|
daterangeUpdateTime: [],
|
|
|
|
|
|
// 查询参数
|
|
|
|
|
|
queryParams: {
|
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
|
pageSize: 20,
|
|
|
|
|
|
billCode: null,
|
|
|
|
|
|
problemType: null,
|
|
|
|
|
|
problemTitle: null,
|
|
|
|
|
|
problemCause: null,
|
|
|
|
|
|
sendSite: null,
|
|
|
|
|
|
sendSiteCode: null,
|
|
|
|
|
|
registerManCode: null,
|
|
|
|
|
|
registerManDept: null,
|
|
|
|
|
|
registerSiteCode: null,
|
|
|
|
|
|
registerDate: null,
|
|
|
|
|
|
registerSaveDate: null,
|
|
|
|
|
|
dataFrom: null,
|
|
|
|
|
|
status: null,
|
|
|
|
|
|
isSendSiteRegister: null,
|
|
|
|
|
|
blReversion: null,
|
|
|
|
|
|
reversionStr: null,
|
|
|
|
|
|
reversionMan: null,
|
|
|
|
|
|
reversionManCode: null,
|
|
|
|
|
|
reversionDate: null,
|
|
|
|
|
|
blCheckok: null,
|
|
|
|
|
|
blSee: null,
|
|
|
|
|
|
filePath: null,
|
|
|
|
|
|
modifySiteCode: null,
|
|
|
|
|
|
delFlag: null,
|
|
|
|
|
|
remark: null
|
|
|
|
|
|
},
|
|
|
|
|
|
// 表单参数
|
|
|
|
|
|
form: {},
|
|
|
|
|
|
// 表单校验
|
|
|
|
|
|
rules: {
|
|
|
|
|
|
id: [
|
|
|
|
|
|
{ required: true, message: "id不能为空", trigger: "blur" }
|
|
|
|
|
|
],
|
|
|
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
},
|
|
|
|
|
|
created() {
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
|
|
|
/** 查询问题件列表 */
|
|
|
|
|
|
getList() {
|
|
|
|
|
|
this.loading = true;
|
|
|
|
|
|
this.queryParams.params = {};
|
|
|
|
|
|
if (null != this.daterangeRegisterDate && '' != this.daterangeRegisterDate) {
|
|
|
|
|
|
this.queryParams.params["beginRegisterDate"] = this.daterangeRegisterDate[0];
|
|
|
|
|
|
this.queryParams.params["endRegisterDate"] = this.daterangeRegisterDate[1];
|
|
|
|
|
|
}
|
|
|
|
|
|
if (null != this.daterangeCreateTime && '' != this.daterangeCreateTime) {
|
|
|
|
|
|
this.queryParams.params["beginCreateTime"] = this.daterangeCreateTime[0];
|
|
|
|
|
|
this.queryParams.params["endCreateTime"] = this.daterangeCreateTime[1];
|
|
|
|
|
|
}
|
|
|
|
|
|
if (null != this.daterangeUpdateTime && '' != this.daterangeUpdateTime) {
|
|
|
|
|
|
this.queryParams.params["beginUpdateTime"] = this.daterangeUpdateTime[0];
|
|
|
|
|
|
this.queryParams.params["endUpdateTime"] = this.daterangeUpdateTime[1];
|
|
|
|
|
|
}
|
|
|
|
|
|
listEmisWaybillProblemInfo(this.addDateRange(this.queryParams, this.dateTimeRange)).then(response => {
|
|
|
|
|
|
this.emisWaybillProblemInfoList = response.rows;
|
|
|
|
|
|
this.total = response.total;
|
|
|
|
|
|
this.loading = false;
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
|
|
|
|
|
// 取消按钮
|
|
|
|
|
|
cancel() {
|
|
|
|
|
|
this.open = false;
|
|
|
|
|
|
this.reset();
|
|
|
|
|
|
},
|
|
|
|
|
|
// 表单重置
|
|
|
|
|
|
reset() {
|
|
|
|
|
|
this.form = {
|
|
|
|
|
|
id: null,
|
|
|
|
|
|
billCode: null,
|
|
|
|
|
|
problemType: null,
|
|
|
|
|
|
problemTitle: null,
|
|
|
|
|
|
problemCause: null,
|
|
|
|
|
|
sendSite: null,
|
|
|
|
|
|
sendSiteCode: null,
|
|
|
|
|
|
registerManCode: null,
|
|
|
|
|
|
registerManDept: null,
|
|
|
|
|
|
registerSiteCode: null,
|
|
|
|
|
|
registerDate: null,
|
|
|
|
|
|
registerSaveDate: null,
|
|
|
|
|
|
dataFrom: null,
|
|
|
|
|
|
status: null,
|
|
|
|
|
|
isSendSiteRegister: null,
|
|
|
|
|
|
blReversion: null,
|
|
|
|
|
|
reversionStr: null,
|
|
|
|
|
|
reversionMan: null,
|
|
|
|
|
|
reversionManCode: null,
|
|
|
|
|
|
reversionDate: null,
|
|
|
|
|
|
blCheckok: null,
|
|
|
|
|
|
blSee: null,
|
|
|
|
|
|
filePath: 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();
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 重置按钮操作 */
|
|
|
|
|
|
resetQuery() {
|
|
|
|
|
|
this.resetForm("queryForm");
|
|
|
|
|
|
this.handleQuery();
|
|
|
|
|
|
},
|
|
|
|
|
|
// 多选框选中数据
|
|
|
|
|
|
handleSelectionChange(selection) {
|
|
|
|
|
|
this.ids = selection.map(item => item.id)
|
|
|
|
|
|
this.single = selection.length!==1
|
|
|
|
|
|
this.multiple = !selection.length
|
|
|
|
|
|
},
|
2024-04-22 05:33:25 +00:00
|
|
|
|
// 排序 查询字段是表格中字段名字 动态取值排序顺序
|
|
|
|
|
|
handleSortChange(column) {
|
|
|
|
|
|
this.queryParams.orderByColumn = column.prop;
|
|
|
|
|
|
this.queryParams.isAsc = column.order;
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
},
|
2024-03-01 09:24:07 +00:00
|
|
|
|
/** 新增按钮操作 */
|
|
|
|
|
|
handleAdd(row) {
|
|
|
|
|
|
this.reset();
|
|
|
|
|
|
this.open = true;
|
|
|
|
|
|
this.title = "新增";
|
|
|
|
|
|
|
|
|
|
|
|
// 子组件打开模式
|
|
|
|
|
|
// if(row != undefined){
|
|
|
|
|
|
// this.currentParentId = row.id
|
|
|
|
|
|
// }
|
|
|
|
|
|
// this.openEmisWaybillProblemInfo = true;
|
|
|
|
|
|
// this.titleEmisWaybillProblemInfo = "新增";
|
|
|
|
|
|
},
|
|
|
|
|
|
handleShowMoreInput(){
|
|
|
|
|
|
this.moreInputVisible = !this.moreInputVisible;
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 修改按钮操作 */
|
|
|
|
|
|
handleUpdate(row) {
|
|
|
|
|
|
this.reset();
|
|
|
|
|
|
const id = row.id || this.ids
|
|
|
|
|
|
getEmisWaybillProblemInfo(id).then(response => {
|
|
|
|
|
|
this.form = response.data;
|
|
|
|
|
|
this.open = true;
|
|
|
|
|
|
this.title = "修改";
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// 子组件打开模式
|
|
|
|
|
|
// this.currentId= row.id || this.ids;
|
|
|
|
|
|
// this.openEmisWaybillProblemInfo = true;
|
|
|
|
|
|
// this.titleEmisWaybillProblemInfo = "修改";
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
handleView(row) {
|
|
|
|
|
|
this.id=row.id;
|
|
|
|
|
|
this.titleView="查看";
|
|
|
|
|
|
this.openView=true;
|
|
|
|
|
|
// this.router.push({ path: '/emis/emisWaybillProblemInfo/viewDetail', query: { id: row.id }})
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 提交按钮 */
|
|
|
|
|
|
submitForm() {
|
|
|
|
|
|
this.$refs["form"].validate(valid => {
|
|
|
|
|
|
if (valid) {
|
|
|
|
|
|
if (this.form.id != null) {
|
|
|
|
|
|
updateEmisWaybillProblemInfo(this.form).then(response => {
|
|
|
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
|
|
|
this.open = false;
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
});
|
|
|
|
|
|
} else {
|
|
|
|
|
|
addEmisWaybillProblemInfo(this.form).then(response => {
|
|
|
|
|
|
this.$modal.msgSuccess("新增成功");
|
|
|
|
|
|
this.open = false;
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
});
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
|
|
|
|
|
handleFormChanged(){
|
|
|
|
|
|
this.openForm = false;
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
},
|
|
|
|
|
|
cancelForm(){
|
|
|
|
|
|
this.openForm = false;
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 删除按钮操作 */
|
|
|
|
|
|
handleDelete(row) {
|
|
|
|
|
|
const ids = row.id || this.ids;
|
|
|
|
|
|
this.$modal.confirm('是否确认删除').then(function() {
|
|
|
|
|
|
return delEmisWaybillProblemInfo(ids);
|
|
|
|
|
|
}).then(() => {
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
this.$modal.msgSuccess("删除成功");
|
|
|
|
|
|
}).catch(() => {});
|
|
|
|
|
|
},
|
|
|
|
|
|
/** 导出按钮操作 */
|
|
|
|
|
|
handleExport() {
|
|
|
|
|
|
// this.download('emis/emisWaybillProblemInfo/export', {
|
|
|
|
|
|
// ...this.queryParams
|
|
|
|
|
|
// }, `emisWaybillProblemInfo_${new Date().getTime()}.xlsx`)
|
|
|
|
|
|
const loadingInstance = this.$loading({
|
|
|
|
|
|
text: '正在导出...'
|
|
|
|
|
|
})
|
|
|
|
|
|
var qParam = {...this.queryParams};
|
|
|
|
|
|
qParam.pageNum=1;
|
|
|
|
|
|
qParam.pageSize=5000;
|
|
|
|
|
|
|
|
|
|
|
|
listEmisWaybillProblemInfo(this.addDateRange(qParam, this.dateTimeRange)).then(response => {
|
|
|
|
|
|
this.downloadLoading = false
|
|
|
|
|
|
if (response.code === 200) {
|
|
|
|
|
|
const curList = response.rows
|
|
|
|
|
|
import('@/vendor/Export2Excel').then(excel => {
|
|
|
|
|
|
const tHeader = ['id','运单号','问题类型:','问题件标题','问题件原因','发送站点','发送站点代码','登记人代码','登记人所在部门','登记站点代码','登记时间','登记保存时间','数据来源','状态','是否寄件网点发起','是否回复','回复内容','回复人','回复人代码','回复日期','是否检查','是否查看','文件路径','创建站点代码','修改站点代码','删除标志(0代表存在','创建者','创建时间','更新者','更新时间','备注',];
|
|
|
|
|
|
const filterVal = ['id','billCode','problemType','problemTitle','problemCause','sendSite','sendSiteCode','registerManCode','registerManDept','registerSiteCode','registerDate','registerSaveDate','dataFrom','status','isSendSiteRegister','blReversion','reversionStr','reversionMan','reversionManCode','reversionDate','blCheckok','blSee','filePath','createSiteCode','modifySiteCode','delFlag','createBy','createTime','updateBy','updateTime','remark',];
|
|
|
|
|
|
const data = this.formatJson(filterVal, curList, response.rows)
|
|
|
|
|
|
excel.export_json_to_excel({
|
|
|
|
|
|
header: tHeader,
|
|
|
|
|
|
data,
|
|
|
|
|
|
filename: '问题件',
|
|
|
|
|
|
autoWidth: true
|
|
|
|
|
|
})
|
|
|
|
|
|
loadingInstance.close()
|
|
|
|
|
|
})
|
|
|
|
|
|
}
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
|
|
|
|
|
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>
|
|
|
|
|
|
.el-divider{
|
|
|
|
|
|
margin-top: 0px;
|
|
|
|
|
|
background: 0 0;
|
|
|
|
|
|
border-top: 1px solid #E6EBF5;
|
|
|
|
|
|
}
|
|
|
|
|
|
.el-divider__text {
|
|
|
|
|
|
color: #0955ee;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
}
|
|
|
|
|
|
</style>
|