edit
此提交包含在:
+11
-2
@@ -36,7 +36,7 @@
|
||||
</el-form-item>
|
||||
</template>
|
||||
</template>
|
||||
<el-button type="primary" @click="saveData">确认</el-button>
|
||||
<el-button type="primary" @click="saveData" :disabled="isSubmit">确认</el-button>
|
||||
<el-button type="primary" @click="handleDownload(loaderData)"
|
||||
>下载全部文件</el-button
|
||||
>
|
||||
@@ -63,13 +63,22 @@ const fromData = ref([]);
|
||||
const uploadList = ref([]);
|
||||
const CeErpOrderFormData = ref({});
|
||||
const loaderData = ref([]);
|
||||
|
||||
const isSubmit = ref(false);
|
||||
async function saveData() {
|
||||
if (isSubmit.value) {
|
||||
return;
|
||||
}
|
||||
isSubmit.value = true;
|
||||
setTimeout(() => {
|
||||
isSubmit.value = false;
|
||||
}, 2000);
|
||||
let mobile = false;
|
||||
let wx = false;
|
||||
let need_content = false;
|
||||
let mobile_number = "123";
|
||||
fromData.value?.map((item) => {
|
||||
console.log("🚀 ~ fromData.value?.map ~ item:", item)
|
||||
console.log("🚀 ~ fromData.value?.map ~ item:", item);
|
||||
if (item.title == "手机号" && !item?.content) {
|
||||
mobile = true;
|
||||
}
|
||||
|
||||
新增問題並參考
封鎖使用者