|
@@ -5,6 +5,7 @@
|
|
|
:rules="rules"
|
|
|
ref="formDom"
|
|
|
label-position="top"
|
|
|
+ :disabled="props.queryData.accountRequestFundsDetailList ? true : false"
|
|
|
>
|
|
|
<div class="_t">基础信息</div>
|
|
|
<el-row :gutter="10">
|
|
@@ -112,12 +113,12 @@
|
|
|
</el-form-item>
|
|
|
<div style="margin-bottom: 15px">
|
|
|
<el-tag
|
|
|
- style="margin-right: 10px"
|
|
|
+ style="margin-right: 10px; margin-top: 5px"
|
|
|
class="ml-2"
|
|
|
type="info"
|
|
|
v-for="(item, index) in formData.data.fileList"
|
|
|
:key="index"
|
|
|
- closable
|
|
|
+ :closable="!route.query.processType"
|
|
|
@close="handleClose(index)"
|
|
|
>{{ item.fileName }}</el-tag
|
|
|
>
|
|
@@ -286,7 +287,8 @@
|
|
|
<script setup>
|
|
|
import { ElMessage, ElMessageBox } from "element-plus";
|
|
|
import useUserStore from "@/store/modules/user";
|
|
|
-
|
|
|
+import { useRouter, useRoute } from "vue-router";
|
|
|
+const route = useRoute();
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
|
|
|
let formData = reactive({
|
|
@@ -356,6 +358,17 @@ const tenantId = userInfo.tenantId;
|
|
|
onMounted(() => {
|
|
|
formData.data.paymentTime = proxy.parseTime(new Date());
|
|
|
getDictData();
|
|
|
+ // if (route.query.processType) {
|
|
|
+ // console.log(route.query.processType, props.queryData, "adada");
|
|
|
+ // }
|
|
|
+ setTimeout(() => {
|
|
|
+ if (
|
|
|
+ props.queryData &&
|
|
|
+ (route.query.processType == 10 || route.query.processType == 20)
|
|
|
+ ) {
|
|
|
+ formData.data = props.queryData;
|
|
|
+ }
|
|
|
+ }, 2000);
|
|
|
});
|
|
|
const companyData = ref([]);
|
|
|
const accountData = ref([]);
|