| | |
| | | style="width: 100%" |
| | | height="270" |
| | | > |
| | | <el-table-column prop="s" label="项目" width="180"> |
| | | <el-table-column prop="proName" label="项目" width="180"> |
| | | </el-table-column> |
| | | <el-table-column prop="proType" label="性别" width="180"> |
| | | <template |
| | |
| | | CompanyList: [], |
| | | form: { |
| | | cusIdcard: "", |
| | | tjType: "3", |
| | | tjType: "", |
| | | cusSex: 1, |
| | | cusNational: "1", |
| | | cusMarryStatus: "5", |
| | |
| | | this.getCurrentDateTime(); |
| | | this.startTimer(); |
| | | this.getList1(); |
| | | |
| | | // this.getData(); |
| | | }, |
| | | mounted() {}, |
| | |
| | | }, |
| | | idFn1(value) { |
| | | if (value) { |
| | | |
| | | const originalCompId = this.form.dictCompId; |
| | | this.form.compName = value; |
| | | this.CompanyList.forEach((item) => { |
| | |
| | | }); |
| | | |
| | | if (this.form.dictCompId === originalCompId) { |
| | | this.form.dictCompId = ''; |
| | | this.form.dictCompId = ""; |
| | | } |
| | | } |
| | | }, |
| | |
| | | if (this.form.cusSex === "未知") { |
| | | this.form.cusSex = 2; |
| | | } |
| | | if (this.form.tjType === '') { |
| | | this.form.tjType = this.dict.type.dict_team[0].value; |
| | | } |
| | | |
| | | addCustomer(this.form).then((response) => { |
| | | this.responseList = response.data; |
| | | |
| | | this.$modal.msgSuccess("新增成功"); |
| | | // let cusSex = this.form.cusSex; |
| | | // //全部套餐 |
| | |
| | | this.discount = this.form.discount; |
| | | } |
| | | if (this.form.tjType === null) { |
| | | this.form.tjType = "3"; |
| | | this.form.tjType = this.dict.type.dict_team[0].value; |
| | | } |
| | | if (this.form.cusMarryStatus === "null") { |
| | | this.form.cusMarryStatus = "5"; |