forked from integrated_whb/integrated_whb_vue
BUG 优化
parent
7b37c0fcf1
commit
258e02c2b6
|
@ -103,7 +103,7 @@
|
|||
<el-button
|
||||
v-if="index !== 0"
|
||||
type="danger"
|
||||
@click="removeContact(index,contact.CUSTOMERCONTACT_ID)"
|
||||
@click="removeContact(index, contact.CUSTOMERCONTACT_ID)"
|
||||
>
|
||||
删除
|
||||
<!-- 添加的删除文字 -->
|
||||
|
@ -183,11 +183,10 @@ const removeContact = async (index, CUSTOMERCONTACT_ID) => {
|
|||
if (index > 0) {
|
||||
// 防止删除初始化的那一组数据
|
||||
data.form.contacts.splice(index, 1);
|
||||
await deleteContactInfo({CUSTOMERCONTACT_ID});
|
||||
await deleteContactInfo({ CUSTOMERCONTACT_ID });
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
const fnSubmit = async () => {
|
||||
await useFormValidate(formRef);
|
||||
const formData = new FormData();
|
||||
|
|
|
@ -414,7 +414,6 @@ const fnGetData = async () => {
|
|||
data.form.CONFIRMINGPHONE = data.form.CONFIRM_PHONE;
|
||||
data.form.STARTADMINISTRATIVEAREA = data.form.DEPARTURE_ADDR;
|
||||
data.form.ENDDMINISTRATIVEAREA = data.form.GOAL_ADDR;
|
||||
console.log(data.form);
|
||||
};
|
||||
fnGetData();
|
||||
const fnClientChange = () => {
|
||||
|
@ -554,7 +553,7 @@ fnCustomerType();
|
|||
const fnLocation = async () => {
|
||||
const res = await getTrafficLocationSelectList();
|
||||
const varList = res.varList || [];
|
||||
|
||||
console.log(res);
|
||||
const StartOptionstMap = new Map();
|
||||
varList.forEach((item) => {
|
||||
if (item.LOCATIONTYPE === "1") {
|
||||
|
|
Loading…
Reference in New Issue