master
十七 3 years ago
parent 16a3098cc1
commit 2b65500ce9

@ -78,7 +78,6 @@ export default {
form.ratio = row.ratio;
}
this.list.splice(index, 1, form);
console.log(this.openList);
this.changeStaff();
},

@ -99,9 +99,9 @@ export default {
methods: {
setStaffRatio() {
var that = this;
setTimeout(() => {
this.$nextTick(() => {
that.$refs.staffsles.show(that.proForm.staffLists);
}, 800);
});
},
//
staffslesData(v) {

@ -370,9 +370,9 @@ export default {
this.staffList.forEach((items) => {
if (item.staffId == items.staffId) {
console.log(this.$refs.staffTable);
setTimeout(() => {
this.$nextTick(() => {
that.$refs.staffTable.toggleRowSelection(item, true);
}, 800);
});
}
});
});

@ -260,21 +260,27 @@ export default {
console.log(this.managerOptions);
this.managerOptions.forEach((item, index) => {
if (item.id == data) {
form[text].splice(0, 1, item);
item.ratio = 100;
form[text] = [];
form[text].push(item);
form.texts = item.label;
}
});
} else if (text == "adminList") {
this.adminOptions.forEach((item, index) => {
if (item.id == data) {
form[text].splice(0, 1, item);
item.ratio = 100;
form[text] = [];
form[text].push(item);
form.texts = item.label;
}
});
} else {
this.options.forEach((item, index) => {
if (item.id == data) {
form[text].splice(0, 1, item);
item.ratio = 100;
form[text] = [];
form[text].push(item);
form.texts = item.label;
}
});

@ -124,6 +124,9 @@ export default {
this.form = { ...form };
}
this.dialogFormVisible = true;
setTimeout(() => {
this.$refs.form.clearValidate();
}, 300);
},
//

@ -16,7 +16,7 @@
<div>{{scope.row.statisticsQuarter==0?'月度':scope.row.statisticsQuarter==1?'半年度':'一年度'}}</div>
</template>
</el-table-column>
<el-table-column align="center" prop="classRow" label="等级编号" show-overflow-tooltip min-width="90" sortable></el-table-column>
<el-table-column align="center" prop="classRow" label="等级级别" show-overflow-tooltip min-width="90" sortable></el-table-column>
<el-table-column align="center" prop="rechargeStandard" label="充值标准" show-overflow-tooltip min-width="90" sortable></el-table-column>
<el-table-column align="center" prop="courseStandard" label="疗程标准" show-overflow-tooltip min-width="90" sortable></el-table-column>
<el-table-column align="center" prop="cashDecimal" label="收银标准" show-overflow-tooltip min-width="90" sortable></el-table-column>

@ -5,7 +5,7 @@
<el-table-column align="center" prop="memberNum" label="编码" min-width="80" sortable></el-table-column>
<el-table-column align="center" prop="memberName" label="姓名" min-width="100" sortable></el-table-column>
<el-table-column align="center" prop="sex" label="性别" min-width="80">
<template slot-scope="scope">{{scope.row.label==1?'男':'女'}}</template>
<template slot-scope="scope">{{scope.row.sex==1?'男':'女'}}</template>
</el-table-column>
<el-table-column align="center" prop="label" :show-overflow-tooltip="true" label="标签" min-width="80">
<template slot-scope="scope">{{scope.row.label==null?'暂时没有标签':scope.row.label}}</template>

Loading…
Cancel
Save