通知审批流优化
This commit is contained in:
@ -90,7 +90,7 @@
|
||||
</a-col>
|
||||
<a-col :span="8">
|
||||
<a-form-item label="合同金额(万元)" name="amount">
|
||||
<a-input-number v-model:value="formState.amount" style="width: 100%" @blur="amountBlur(formState.amount)" :min="0" :disabled="isDisable" />
|
||||
<a-input-number v-model:value="formState.amount" style="width: 100%" :formatter="value => ` ${value}`.replace(/\B(?=(\d{3})+(?!\d))/g, ',')" @blur="amountBlur(formState.amount)" :min="0" :disabled="isDisable" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="8">
|
||||
@ -528,6 +528,7 @@
|
||||
formState.cpCount = dataList.value.length
|
||||
}
|
||||
if (btn == 'edit') {
|
||||
curIdx.value = index
|
||||
openModalUser(true, {record: record,isUpdate: true});
|
||||
}
|
||||
}
|
||||
|
||||
@ -2,9 +2,8 @@
|
||||
<a-spin :spinning="spinning" tip="加载中...">
|
||||
<div class="page-bg-wrap formViewStyle">
|
||||
<a-form ref="formRef" :model="formState" :rules="rules" v-bind="layout">
|
||||
<Card title="客户基本信息" :bordered="false" >
|
||||
<Card title="基本信息" :bordered="false" >
|
||||
<div>
|
||||
<h4>基本信息</h4>
|
||||
<a-row>
|
||||
<a-col :span="8">
|
||||
<a-form-item label="客户编码" name="cuCode">
|
||||
@ -114,8 +113,9 @@
|
||||
</a-col>
|
||||
</a-row>
|
||||
</div>
|
||||
</Card>
|
||||
<Card title="资信/业务信息" :bordered="false" >
|
||||
<div>
|
||||
<h4>资信/业务信息</h4>
|
||||
<a-row>
|
||||
<a-col :span="8">
|
||||
<a-form-item label="客户分类" name="classCode">
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
</template>
|
||||
</a-space>
|
||||
</div>
|
||||
<component v-if="customFormConfig.codeList.includes(curPageCode)" :is="componentName" ref="formInformation" :disabled="(rQuery.status=='COMPLETED'?false : readonly)" />
|
||||
<component v-if="customFormConfig.codeList.includes(curPageCode)" :is="componentName" ref="formInformation" :disabled="(rQuery.status=='COMPLETED'?false : true)" />
|
||||
<FormInformation
|
||||
v-else
|
||||
:key="renderKey"
|
||||
@ -50,8 +50,12 @@
|
||||
:opinionsComponents="data.opinionsComponents"
|
||||
@get-form-configs="(config) => (formConfigs = config)"
|
||||
/>
|
||||
<Title :font-size="18" default-value="流转信息"></Title>
|
||||
<flow-history :items="getTaskRecords()"></flow-history>
|
||||
<div class="formViewStyle">
|
||||
<Card title="流转信息" :bordered="false" >
|
||||
<!-- <Title :font-size="18" default-value="流转信息"></Title> -->
|
||||
<flow-history :items="getTaskRecords()"></flow-history>
|
||||
</Card>
|
||||
</div>
|
||||
<opinion-dialog ref="opinionDlg" />
|
||||
<transfer-dialog ref="transferDlg" />
|
||||
<a-modal :closable="false" v-if="showFlowChart" visible="true" centered class="geg" title="流程图" width="1200px" @cancel="closeFlowChart">
|
||||
@ -75,6 +79,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { Card } from 'ant-design-vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { onMounted, reactive, ref, unref, createVNode, provide,computed,defineAsyncComponent } from 'vue';
|
||||
import FormInformation from '/@/views/secondDev/FormInformation.vue';
|
||||
@ -413,8 +418,8 @@
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
await formInformation.value.handleSubmit(true);
|
||||
validateSuccess.value = true
|
||||
// await formInformation.value.handleSubmit(true);
|
||||
// validateSuccess.value = true
|
||||
}
|
||||
const params = await getApproveParams();
|
||||
const nextNodes = await postGetNextTaskMaybeArrival(params);
|
||||
|
||||
@ -47,9 +47,10 @@
|
||||
<FormInformation v-else :key="randKey" ref="formInformation" :disabled="false" :formAssignmentData="data.formAssignmentData" :formInfos="data.formInfos" :opinions="data.opinions" :opinionsComponents="data.opinionsComponents" />
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="rQuery.type == 'update'">
|
||||
<Title :font-size="18" default-value="流转信息"></Title>
|
||||
<flow-history :items="historyList"></flow-history>
|
||||
<div v-if="rQuery.type == 'update'" class="formViewStyle">
|
||||
<Card title="流转信息" :bordered="false" >
|
||||
<flow-history :items="historyList"></flow-history>
|
||||
</Card>
|
||||
</div>
|
||||
<a-modal :visible="showFlowChart" centered class="geg" closable title="流程图" width="1200px" @cancel="closeFlowChart">
|
||||
<process-information :process-id="processId" :xml="data.xml" />
|
||||
@ -63,6 +64,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { Card } from 'ant-design-vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import userTaskItem from '/@/views/workflow/task/hooks/userTaskItem';
|
||||
import FormInformation from '/@/views/secondDev/FormInformation.vue';
|
||||
|
||||
@ -2,9 +2,8 @@
|
||||
<a-spin :spinning="spinning" tip="加载中...">
|
||||
<div class="page-bg-wrap formViewStyle">
|
||||
<a-form ref="formRef" :model="formState" :rules="rules" v-bind="layout">
|
||||
<Card title="供应商基本信息" :bordered="false" >
|
||||
<Card title="基本信息" :bordered="false" >
|
||||
<div>
|
||||
<h4>基本信息</h4>
|
||||
<a-row>
|
||||
<a-col :span="8">
|
||||
<a-form-item label="供应商编码" name="suCode">
|
||||
|
||||
Reference in New Issue
Block a user