修改bug
This commit is contained in:
parent
14c314db61
commit
d411ae4be6
|
|
@ -84,6 +84,12 @@ export const columns: BasicColumn[] = [
|
|||
dataIndex: 'createTime',
|
||||
width: 150
|
||||
},
|
||||
// {
|
||||
// title: '审核时间',
|
||||
// align: "center",
|
||||
// dataIndex: 'applyTime',
|
||||
// width: 150
|
||||
// },
|
||||
];
|
||||
|
||||
|
||||
|
|
@ -139,6 +145,12 @@ export const columns2: BasicColumn[] = [
|
|||
customRender: render.renderImage,
|
||||
width: 100
|
||||
},
|
||||
{
|
||||
title: '审核类型',
|
||||
align: "center",
|
||||
dataIndex: 'optType',
|
||||
width: 150
|
||||
},
|
||||
{
|
||||
title: '审核状态',
|
||||
align: "center",
|
||||
|
|
@ -162,6 +174,12 @@ export const columns2: BasicColumn[] = [
|
|||
dataIndex: 'applyContent',
|
||||
width: 150
|
||||
},
|
||||
{
|
||||
title: '审核时间',
|
||||
align: "center",
|
||||
dataIndex: 'applyTime',
|
||||
width: 150
|
||||
},
|
||||
];
|
||||
|
||||
// 高级查询数据
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@
|
|||
canResize:false,
|
||||
useSearchForm: false,
|
||||
actionColumn: {
|
||||
width: 220,
|
||||
width: 240,
|
||||
fixed: 'right',
|
||||
},
|
||||
beforeFetch: async (params) => {
|
||||
|
|
@ -170,12 +170,12 @@ function handleHistoryList(record: Recordable) {
|
|||
onClick: handleDetail.bind(null, record),
|
||||
},
|
||||
{
|
||||
label: '新供应商审核',
|
||||
label: '供应商入驻审核',
|
||||
onClick: handleEdit.bind(null, record),
|
||||
ifShow: record.applyStatus == '1'
|
||||
},
|
||||
{
|
||||
label: '信息变更审核',
|
||||
label: '供应商变更审核',
|
||||
onClick: handleUpEdit.bind(null, record),
|
||||
ifShow: record.applyStatus == '4'
|
||||
},
|
||||
|
|
|
|||
|
|
@ -61,10 +61,21 @@
|
|||
<a-col :span="24" style="border-bottom: 2px solid #f7f7f7; margin-bottom: 14px;" >
|
||||
<SectionDivider :title="'审核信息'" />
|
||||
</a-col>
|
||||
<a-col :span="24" >
|
||||
<a-form-item label="审核人" v-bind="validateInfos.applyBy" id="NuConfigSuppliersApplyForm-applyBy"
|
||||
name="applyBy">
|
||||
<a-input v-model:value="formData.applyBy" placeholder="审核人"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24" >
|
||||
<a-form-item label="审核时间" v-bind="validateInfos.applyTime" id="NuConfigSuppliersApplyForm-applyTime"
|
||||
name="applyTime">
|
||||
<a-input v-model:value="formData.applyTime" placeholder="审核时间"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24" >
|
||||
<a-form-item label="审核状态" v-bind="validateInfos.applyStatus" id="NuConfigSuppliersApplyForm-applyStatus"
|
||||
name="applyStatus">
|
||||
<!-- <a-input v-model:value="formData.applyStatus" placeholder="请输入审核状态" ></a-input> -->
|
||||
<a-select v-model:value="formData.applyStatus" placeholder="请选择审核状态" style="width: 200px"
|
||||
:disabled="false">
|
||||
<a-select-option value="1">待审核</a-select-option>
|
||||
|
|
@ -124,6 +135,8 @@ const formData = reactive<Record<string, any>>({
|
|||
applyId: '',
|
||||
suppliersId: '',
|
||||
sourceType: '',
|
||||
applyBy: '',
|
||||
applyTime: '',
|
||||
});
|
||||
const { createMessage } = useMessage();
|
||||
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 6 } });
|
||||
|
|
|
|||
|
|
@ -48,6 +48,25 @@
|
|||
<a-form style="margin-top: 14px;height: 100px;" ref="formRef" layout="horizontal" :model="formData"
|
||||
:label-col="labelCol" :wrapper-col="wrapperCol" >
|
||||
<a-row :gutter="16">
|
||||
<a-col :span="12">
|
||||
<a-form-item label="审核人" name="applyBy" v-bind="validateInfos.applyBy">
|
||||
<a-input v-model:value="formData.applyBy" placeholder="审核人"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<a-form-item label="审核人" name="applyTime" v-bind="validateInfos.applyTime">
|
||||
<a-input v-model:value="formData.applyTime" placeholder="审核人"></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<a-form-item label="审核状态" name="status" v-bind="validateInfos.status">
|
||||
<a-select v-model:value="formData.status" style="width: 200px" placeholder="请选择审核状态">
|
||||
<a-select-option value="modifyStatus">待审核</a-select-option>
|
||||
<a-select-option value="modifyPass">审核通过</a-select-option>
|
||||
<a-select-option value="modifyFail">审核驳回</a-select-option>
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="12">
|
||||
<a-form-item label="审核状态" name="status" v-bind="validateInfos.status">
|
||||
<a-select v-model:value="formData.status" style="width: 200px" placeholder="请选择审核状态">
|
||||
|
|
@ -97,7 +116,9 @@ const formData = reactive<Record<string, any>>({
|
|||
status: undefined,
|
||||
applyContent: '',
|
||||
id: '',
|
||||
pkId: ''
|
||||
pkId: '',
|
||||
applyBy: '',
|
||||
applyTime: '',
|
||||
});
|
||||
const validatorRules = reactive({
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue