修改
This commit is contained in:
parent
38ffe56664
commit
f884761ffb
@ -948,20 +948,22 @@ export default {
|
|||||||
},
|
},
|
||||||
/** 提交按钮 */
|
/** 提交按钮 */
|
||||||
submitForm() {
|
submitForm() {
|
||||||
this.form.hospitalPersonCertificateList.forEach(e => {
|
if (this.form.hospitalPersonCertificateList.length > 0) {
|
||||||
if (!e.certificateName && !e.certificateUrl && !e.certificateSort) {
|
this.form.hospitalPersonCertificateList.forEach(e => {
|
||||||
this.form.hospitalPersonCertificateList = this.form.hospitalPersonCertificateList.filter(
|
if (!e.certificateName && !e.certificateUrl && !e.certificateSort) {
|
||||||
el => el.idd != e.idd
|
this.form.hospitalPersonCertificateList = this.form.hospitalPersonCertificateList.filter(
|
||||||
);
|
el => el.idd != e.idd
|
||||||
|
);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
if (this.form.hospitalPersonCertificateList.length == 0) {
|
||||||
|
var obj = {
|
||||||
|
certificateSort: null,
|
||||||
|
certificateName: null,
|
||||||
|
certificateUrl: null
|
||||||
|
};
|
||||||
|
this.form.hospitalPersonCertificateList.push(obj);
|
||||||
}
|
}
|
||||||
});
|
|
||||||
if (this.form.hospitalPersonCertificateList.length == 0) {
|
|
||||||
var obj = {
|
|
||||||
certificateSort: null,
|
|
||||||
certificateName: null,
|
|
||||||
certificateUrl: null
|
|
||||||
};
|
|
||||||
this.form.hospitalPersonCertificateList.push(obj);
|
|
||||||
}
|
}
|
||||||
if (this.form.consultingFee) {
|
if (this.form.consultingFee) {
|
||||||
this.form.consultingFee = Number(this.form.consultingFee);
|
this.form.consultingFee = Number(this.form.consultingFee);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user