|
@@ -236,16 +236,20 @@
|
|
|
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
- <el-table :data="tableData" style="width: 800px; display: flex; margin: 0 auto auto auto;">
|
|
|
- <el-table-column type="index" width="50" />
|
|
|
- <el-table-column prop="createTime" label="操作时间" width="180" />
|
|
|
- <el-table-column prop="nickName" label="操作人" width="180" />
|
|
|
- <el-table-column prop="invoiceStatus" label="操作内容" >
|
|
|
+ <div style="margin: 10px 0px 10px 0px;" v-if="form.id !== null ||(form.status!=null &&form.status !== 0)">
|
|
|
+ <span style="font-size: 14px;">审核履历</span>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ <el-table v-if="form.id !== null" :data="tableData" :table-layout="tableLayout">
|
|
|
+ <el-table-column type="index" label="序号" align="center"/>
|
|
|
+ <el-table-column prop="createTime" label="操作时间" align="center" />
|
|
|
+ <el-table-column prop="nickName" label="操作人" align="center" />
|
|
|
+ <el-table-column prop="invoiceStatus" label="操作内容" align="center" >
|
|
|
<template #default="scope">
|
|
|
{{statusFormat(scope.row.invoiceStatus)}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="remark" label="说明" />
|
|
|
+ <el-table-column prop="remark" label="说明" align="center"/>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</el-drawer>
|
|
@@ -292,7 +296,7 @@
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="反审核原因" prop="uauditReason">
|
|
|
<el-input :autosize="{ minRows: 2, maxRows: 4 }" type="textarea" v-model="form.uauditReason"
|
|
|
- placeholder="请输入退回原因" size="small" />
|
|
|
+ placeholder="请输入反审核原因" size="small" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -381,6 +385,7 @@
|
|
|
import dragUpload from "@/components/dragUpload"
|
|
|
import useUserStore from "@/store/modules/user";
|
|
|
import { uploadFile } from "@/api/tool/file";
|
|
|
+
|
|
|
const { proxy } = getCurrentInstance()
|
|
|
const baseUrl = import.meta.env.VITE_APP_BASE_API;
|
|
|
/** 父组件传参 */
|
|
@@ -408,6 +413,7 @@
|
|
|
const fileList = ref([]);
|
|
|
const isFullscreen = ref(false)
|
|
|
const tableData = ref([]);
|
|
|
+ const tableLayout = ref('fixed')
|
|
|
const webHost = import.meta.env.VITE_APP_BASE_API
|
|
|
const data = reactive({
|
|
|
form: {},
|
|
@@ -444,6 +450,7 @@
|
|
|
function open(id) {
|
|
|
reset();
|
|
|
visible.value = true;
|
|
|
+ tableData.value = [];
|
|
|
if (id) {
|
|
|
getInvoice(id).then(response => {
|
|
|
form.value = response.data;
|