update:修改判断
This commit is contained in:
@@ -62,14 +62,12 @@
|
|||||||
<a-form-item label="经办人姓名" v-bind="validateInfos.operatorName">
|
<a-form-item label="经办人姓名" v-bind="validateInfos.operatorName">
|
||||||
<a-input
|
<a-input
|
||||||
v-model:value="modelRef.operatorName"
|
v-model:value="modelRef.operatorName"
|
||||||
:disabled="disabledFeild"
|
|
||||||
placeholder="请输入经办人姓名"
|
placeholder="请输入经办人姓名"
|
||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item label="经办人身份证" v-bind="validateInfos.operatorId">
|
<a-form-item label="经办人身份证" v-bind="validateInfos.operatorId">
|
||||||
<a-input
|
<a-input
|
||||||
v-model:value="modelRef.operatorId"
|
v-model:value="modelRef.operatorId"
|
||||||
:disabled="disabledFeild"
|
|
||||||
placeholder="请输入经办人身份证号码"
|
placeholder="请输入经办人身份证号码"
|
||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
@@ -79,23 +77,16 @@
|
|||||||
>
|
>
|
||||||
<a-input
|
<a-input
|
||||||
v-model:value="modelRef.operatorPhone"
|
v-model:value="modelRef.operatorPhone"
|
||||||
:disabled="disabledFeild"
|
|
||||||
placeholder="请输入经办人手机号码"
|
placeholder="请输入经办人手机号码"
|
||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item label="手机验证码" v-bind="validateInfos.phoneCode">
|
<a-form-item label="手机验证码" v-bind="validateInfos.phoneCode">
|
||||||
<a-row :gutter="8">
|
<a-row :gutter="8">
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-input
|
<a-input v-model:value="modelRef.phoneCode" />
|
||||||
v-model:value="modelRef.phoneCode"
|
|
||||||
:disabled="disabledFeild"
|
|
||||||
/>
|
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-button
|
<a-button :disabled="countdown > 0" @click="getCode">
|
||||||
:disabled="disabledFeild || countdown > 0"
|
|
||||||
@click="getCode"
|
|
||||||
>
|
|
||||||
获取验证码{{ countdown > 0 ? `(${countdown})` : "" }}
|
获取验证码{{ countdown > 0 ? `(${countdown})` : "" }}
|
||||||
</a-button>
|
</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -107,13 +98,11 @@
|
|||||||
placeholder="请选择省市区信息"
|
placeholder="请选择省市区信息"
|
||||||
:options="areaOptions"
|
:options="areaOptions"
|
||||||
:load-data="loadAreaOptions"
|
:load-data="loadAreaOptions"
|
||||||
:disabled="disabledFeild"
|
|
||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
<a-form-item label="邮寄地址" v-bind="validateInfos.address">
|
<a-form-item label="邮寄地址" v-bind="validateInfos.address">
|
||||||
<a-input
|
<a-input
|
||||||
v-model:value="modelRef.address"
|
v-model:value="modelRef.address"
|
||||||
:disabled="disabledFeild"
|
|
||||||
placeholder="请输入证书邮寄地址"
|
placeholder="请输入证书邮寄地址"
|
||||||
/>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
@@ -129,7 +118,6 @@
|
|||||||
(file, fileList) => beforeUpload(file, fileList, true)
|
(file, fileList) => beforeUpload(file, fileList, true)
|
||||||
"
|
"
|
||||||
@change="info => handleChange(info, 'loaPicId')"
|
@change="info => handleChange(info, 'loaPicId')"
|
||||||
:disabled="disabledUpload"
|
|
||||||
>
|
>
|
||||||
<a-button block :disabled="disabledUpload">
|
<a-button block :disabled="disabledUpload">
|
||||||
<UploadOutlined />
|
<UploadOutlined />
|
||||||
@@ -149,7 +137,6 @@
|
|||||||
:beforeUpload="beforeUpload"
|
:beforeUpload="beforeUpload"
|
||||||
list-type="picture"
|
list-type="picture"
|
||||||
@change="info => handleChange(info, 'idCardFrontPicId')"
|
@change="info => handleChange(info, 'idCardFrontPicId')"
|
||||||
:disabled="disabledUpload"
|
|
||||||
>
|
>
|
||||||
<a-button block :disabled="disabledUpload">
|
<a-button block :disabled="disabledUpload">
|
||||||
<UploadOutlined />
|
<UploadOutlined />
|
||||||
@@ -169,7 +156,6 @@
|
|||||||
:beforeUpload="beforeUpload"
|
:beforeUpload="beforeUpload"
|
||||||
list-type="picture"
|
list-type="picture"
|
||||||
@change="info => handleChange(info, 'idCardBackPicId')"
|
@change="info => handleChange(info, 'idCardBackPicId')"
|
||||||
:disabled="disabledUpload"
|
|
||||||
>
|
>
|
||||||
<a-button block :disabled="disabledUpload">
|
<a-button block :disabled="disabledUpload">
|
||||||
<UploadOutlined />
|
<UploadOutlined />
|
||||||
@@ -189,7 +175,6 @@
|
|||||||
:beforeUpload="beforeUpload"
|
:beforeUpload="beforeUpload"
|
||||||
list-type="picture"
|
list-type="picture"
|
||||||
@change="info => handleChange(info, 'businessLicensePicId')"
|
@change="info => handleChange(info, 'businessLicensePicId')"
|
||||||
:disabled="disabledUpload"
|
|
||||||
>
|
>
|
||||||
<a-button block :disabled="disabledUpload">
|
<a-button block :disabled="disabledUpload">
|
||||||
<UploadOutlined />
|
<UploadOutlined />
|
||||||
@@ -227,7 +212,6 @@
|
|||||||
@change="
|
@change="
|
||||||
info => handleChange2(info, modelRef.sealApplyList[index])
|
info => handleChange2(info, modelRef.sealApplyList[index])
|
||||||
"
|
"
|
||||||
:disabled="disabledUpload"
|
|
||||||
>
|
>
|
||||||
<a-button block :disabled="disabledUpload">
|
<a-button block :disabled="disabledUpload">
|
||||||
<UploadOutlined />
|
<UploadOutlined />
|
||||||
@@ -537,13 +521,7 @@ export default {
|
|||||||
};
|
};
|
||||||
const modifyUnitApply = async () => {
|
const modifyUnitApply = async () => {
|
||||||
try {
|
try {
|
||||||
await validate([
|
await validate();
|
||||||
"loaPicId",
|
|
||||||
"idCardFrontPicId",
|
|
||||||
"idCardBackPicId",
|
|
||||||
"businessLicensePicId",
|
|
||||||
"sealApplyPicId"
|
|
||||||
]);
|
|
||||||
const resp = await post("/api2/CAUnit/Modify", toRaw(modelRef));
|
const resp = await post("/api2/CAUnit/Modify", toRaw(modelRef));
|
||||||
if (resp.errorCode != 0) {
|
if (resp.errorCode != 0) {
|
||||||
message.error(resp.errorMsg, (onclose = useReload));
|
message.error(resp.errorMsg, (onclose = useReload));
|
||||||
@@ -729,7 +707,6 @@ export default {
|
|||||||
};
|
};
|
||||||
const modifyOrder = unitApply => {
|
const modifyOrder = unitApply => {
|
||||||
initPage(unitApply);
|
initPage(unitApply);
|
||||||
editStatus.value = toBit("0000") | editPicFlag | editModifyFlag;
|
|
||||||
};
|
};
|
||||||
let progressingId = ref(0);
|
let progressingId = ref(0);
|
||||||
const unitApplyList = ref([]);
|
const unitApplyList = ref([]);
|
||||||
|
|||||||
Reference in New Issue
Block a user