修改
This commit is contained in:
parent
d75b9f017b
commit
6129f394a3
@ -324,7 +324,6 @@
|
||||
:disabled="disableedit"
|
||||
placeholder="请选择服务方式"
|
||||
style="width: 250px"
|
||||
|
||||
>
|
||||
<el-option
|
||||
v-for="item in DepartmentoList"
|
||||
@ -501,9 +500,7 @@ export default {
|
||||
form: {},
|
||||
// 表单校验
|
||||
rules: {
|
||||
serviceFrequencyType: [
|
||||
{ required: true, },
|
||||
],
|
||||
serviceFrequencyType: [{ required: true }],
|
||||
|
||||
serviceWayId: [
|
||||
{ required: true, message: "请选中所属服务方式", trigger: "blur" },
|
||||
@ -719,7 +716,12 @@ export default {
|
||||
this.reset();
|
||||
this.disableedit = false;
|
||||
this.disabledcontent = false;
|
||||
this.DIGIT=true
|
||||
this.DIGIT = true;
|
||||
this.TEXT = false;
|
||||
this.disableda = false;
|
||||
this.disabledb = false;
|
||||
this.disabled = true; //文本
|
||||
|
||||
this.form.serviceFrequencyType = "DIGIT";
|
||||
console.log(this.itemname, "itemname");
|
||||
if (this.itemname) {
|
||||
@ -727,7 +729,7 @@ export default {
|
||||
this.form.serviceWayId = this.itemname;
|
||||
console.log(this.form, " this.form");
|
||||
}
|
||||
|
||||
|
||||
// else if (this.itemname == null) {
|
||||
// this.form.serviceWayId = "请选择服务方式"
|
||||
// }
|
||||
@ -775,7 +777,7 @@ export default {
|
||||
changeTEXT(item) {},
|
||||
/** 提交按钮 */
|
||||
submitForm() {
|
||||
console.log(this.form)
|
||||
console.log(this.form);
|
||||
this.$refs["form"].validate((valid) => {
|
||||
if (valid) {
|
||||
if (
|
||||
@ -876,10 +878,9 @@ export default {
|
||||
},
|
||||
// },
|
||||
handleUpdateserve() {
|
||||
|
||||
this.titles = "新增服务方式";
|
||||
this.format.serviceWayName = "";
|
||||
this.format.id=''
|
||||
this.format.id = "";
|
||||
this.opens = true;
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user