部分bug修复

master
十七 4 years ago
parent 25748231ff
commit 17be547c16

@ -10,23 +10,7 @@
</el-table-column>
<el-table-column align="center" width="100" prop="brandNumber" label="水牌号"></el-table-column>
<el-table-column align="center" min-width="120" prop="staffName" label="名字"></el-table-column>
<el-table-column align="center" min-width="100" prop="jobName" label="工种">
<template slot-scope="scope">
{{
scope.row.job == 1
? "美发师"
: scope.row.job == 2
? "技师"
: scope.row.job == 3
? "助理"
: scope.row.job == 4
? "收银员"
: scope.row.job == 5
? "美容师"
: "暂无"
}}
</template>
</el-table-column>
<el-table-column align="center" min-width="100" prop="wordTypeName" label="工种"></el-table-column>
</el-table>
<span slot="footer" class="dialog-footer">
<el-button size="mini" type="primary" plain @click="dialogVisible = false"> </el-button>

@ -40,7 +40,9 @@ export default {
methods: {
//
clear() {
this.staffLists = [{ ratio: 100 }];
this.staffLists = [
{ staffNames: "", brandNumber: "", staffName: "", ratio: 100 },
];
this.changeStaff();
this.confirm();
},

@ -39,7 +39,7 @@ export default {
methods: {
//
clear() {
this.staffLists = [{ ratio: 100 }];
this.staffLists = [{ brandNumber: "", staffName: "", ratio: 100 }];
this.changeStaff();
this.confirm();
},

@ -53,7 +53,7 @@ export default {
},
//
clear() {
this.staffLists = [{ ratio: 100 }];
this.staffLists = [{ brandNumber: "", staffName: "", ratio: 100 }];
this.changeStaff();
this.confirm();
},

@ -1,13 +1,13 @@
<template>
<!-- 门店日报 -->
<div>
<div class="bottom-right flex justify-center flex-wrap padding-bottom">
<el-tooltip effect="dark" :content="'今日客单总数为 ' + form.cashPeopleNum " placement="top">
<div class="bottom-right-item">
<div class="bottom-right-item text-center">
<div style="width:100%;" class="text-center">
<i class="el-icon-user i"></i>
<br>
</div>
<span>客单数</span>
<div class="bottom-right-item-number">{{form.cashPeopleNum}}</div>
<div class="bottom-right-item-number">{{form.cashPeopleNum?form.cashPeopleNum:0}}</div>
</div>
</el-tooltip>
<el-tooltip effect="dark" :content="'今日总充值金额 ' + form.rechargeMoney +' , 总共充值人数为 ' +form.rechargeOrderNum" placement="top">
@ -37,7 +37,6 @@
<i class="text-red el-icon-user-solid bottom-right-item-icon"></i>
<div class="text-red bottom-right-item-icon-number">{{form.woman}}</div>
</div>
</div>
</div>
</el-tooltip>
@ -93,7 +92,6 @@
</el-tooltip>
</div>
</div>
</template>
<script>
@ -136,15 +134,20 @@ export default {
justify-content: space-between;
flex-wrap: wrap; */
max-height: 40vh;
height: 100%;
overflow: auto;
padding: 2%;
}
.bottom-right-item {
height: 80px;
width: 130px;
/* border: 1px solid #333; */
overflow: hidden;
height: 40%;
width: 20%;
text-align: center;
padding: 25px 50px;
margin-right: 2%;
border: 1px solid rgba(255, 184, 184, 0.7);
padding-top: 2%;
padding-bottom: 1%;
border-radius: 10%;
}
.bottom-right-item .i {
font-size: 42px;

@ -2,8 +2,8 @@
<!-- 员工业绩和提成 -->
<div class="month">
<div class="month_header">
<div style="padding:0 20px;font-size:14px;color:#999">员工业绩和提成</div>
<el-input clearable prefix-icon="el-icon-search" size="mini" style="width:150px;margin-right:50px" v-model="input"></el-input>
<div class="padding-left-xs" style="font-size:14px;color:#999">员工业绩和提成</div>
<el-input clearable prefix-icon="el-icon-search" size="samll" style="width:150px;margin-right:20px" v-model="input"></el-input>
</div>
<br>
<el-table :data="tableData" max-height="280" @row-dblclick="confirm" border :header-cell-style="{background: 'linear-gradient(#6cb3ff, #1873d4)',color:'#eeeeee'}">
@ -62,7 +62,7 @@ export default {
.month {
width: 100%;
height: 100%;
padding-top: 10px;
padding-top: 2px;
}
.month_header {
display: flex;

@ -1,20 +1,32 @@
<template>
<div class="home-body" v-if="isShow">
<div class="home_head flex justify-center flex-wrap">
<div class="home_head ">
<el-row :gutter="20">
<el-col :span="16">
<div class="home_head_left divhover">
<top-left v-if="isShow" ref="topleft"></top-left>
</div>
</el-col>
<el-col :span="8">
<div class="home_head_right divhover">
<top-right v-if="isShow" ref="topright"></top-right>
</div>
</el-col>
</el-row>
</div>
<div class="home_footer flex justify-center flex-wrap">
<div class="home_footer">
<el-row :gutter="20">
<el-col :span="16">
<div class="home_footer_left divhover ">
<bottom-left v-if="isShow" ref="bottomleft"></bottom-left>
</div>
</el-col>
<el-col :span="8">
<div class="home_footer_right divhover">
<bottom-right v-if="isShow" ref="bottomright"></bottom-right>
</div>
</el-col>
</el-row>
</div>
<el-dialog title="开店流程" :visible.sync="infoDialog" :close-on-click-modal='false' width="80%" v-dialogDrag>
<div class="openStore">
@ -283,7 +295,6 @@ export default {
}
.stepIndex {
width: 100%;
padding: 50px 100px;
}
.stepIndex .el-button {
@ -292,25 +303,25 @@ export default {
.home-body {
background: white;
overflow-x: hidden;
height: -webkit-calc(100vh - 80px);
height: -moz-calc(100vh - 80px);
height: calc(100vh - 80px);
height: -webkit-calc(100vh - 106px);
height: -moz-calc(100vh - 106px);
height: calc(100vh - 106px);
padding-bottom: 20px;
}
.home_head {
width: 100%;
margin-bottom: 20px;
/* height: 38vh; */
margin-bottom: 2vh;
height: 40vh;
}
.home_head_left {
width: 62%;
width: 100%;
height: 100%;
padding: 10px;
box-shadow: 5px 5px 5px rgb(221, 221, 221);
border: 1px solid rgb(233, 233, 233);
margin-right: 10px;
}
.home_head_right {
width: 30%;
width: 100%;
border: 1px solid rgb(233, 233, 233);
padding: 10px;
box-shadow: 5px 5px 5px rgb(221, 221, 221);
@ -322,24 +333,20 @@ export default {
padding-bottom: 10px;
}
.home_footer_left {
height: 40vh;
width: 100%;
border: 1px solid rgb(233, 233, 233);
padding: 10px;
box-shadow: 5px 5px 5px rgb(221, 221, 221);
width: 62%;
margin-right: 10px;
}
.home_footer_right {
width: 30%;
height: 40vh;
width: 100%;
border: 1px solid rgb(233, 233, 233);
padding: 20px 10px;
box-shadow: 5px 5px 5px rgb(221, 221, 221);
display: flex;
justify-content: space-between;
flex-wrap: wrap;
padding: 1%;
}
.home_footer_right .el-button {
margin: 20px 5px 10px 20px;
padding: 10px 15px;
font-weight: 700;
font-size: 14px;
}

@ -73,6 +73,16 @@ export default {
},
//
setTags(route) {
if (route.meta.title == "服务单-收银") {
this.tagsList.forEach((item, index) => {
if (item.title == "服务单-收银") {
this.tagsList.splice(index, 1, {
title: route.meta.title,
path: route.path,
});
}
});
}
this.isShow = false;
const isExist = this.tagsList.some((item) => {
return item.title === route.meta.title;
@ -95,24 +105,25 @@ export default {
this.copyList = JSON.parse(JSON.stringify(this.tagsList));
this.isShow = true;
// if (route.meta.title != "") {
// this.tagsList.forEach((item, index) => {
// if (item.title == "") {
// console.log(index);
// this.tagsList.splice(index, 1);
// }
// });
// }
// if (!sessionStorage.getItem("list") && route.path != "/login") {
// this.$message.error({
// message: "!",
// });
// setTimeout(() => {
// this.$router.push("/");
// sessionStorage.clear();
// localStorage.clear();
// }, 2000);
// }
if (route.meta.title != "促销购买") {
this.tagsList.forEach((item, index) => {
if (item.title == "促销购买") {
console.log(index);
this.tagsList.splice(index, 1);
}
});
}
if (!sessionStorage.getItem("list") && route.path != "/login") {
this.$message.error({
message: "没有操作权限!",
});
setTimeout(() => {
this.$router.push("/");
sessionStorage.clear();
localStorage.clear();
}, 2000);
}
},
handleTags(command) {
command === "other" ? this.closeOther() : this.closeAll();
@ -127,6 +138,7 @@ export default {
}, 100);
},
},
created() {
this.setTags(this.$route);
//

@ -1143,8 +1143,14 @@ export default {
}
}
}
setTimeout(() => {
this.saveloading = false;
}, 3000);
},
addrec() {
setTimeout(() => {
this.saveloading = false;
}, 3000);
if (this.liftType == 0) {
addrec(this.form).then((res) => {
this.saveloading = false;

@ -189,7 +189,7 @@
</div>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip min-width="150" align="center" label="项目选项">
<el-table-column show-overflow-tooltip min-width="140" align="center" label="项目选项">
<template slot-scope="scope">
<div class="flex justify-between align-center" @click.stop="">
<el-input v-model="scope.row.projectNum" placeholder="编码" @blur="proBlur(scope.row,proIndex=scope.$index)" @change="proBlur(scope.row,proIndex=scope.$index)">
@ -198,8 +198,8 @@
</div>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip min-width="160" align="center" prop="projectName" label="项目名称"></el-table-column>
<el-table-column align="center" prop="noDiscount" label="卡付打折" width="80">
<el-table-column show-overflow-tooltip min-width="120" align="center" prop="projectName" label="项目名称"></el-table-column>
<el-table-column align="center" prop="noDiscount" label="卡付打折" width="50">
<template slot-scope="scope">{{
scope.row.noDiscount == 0 ? "是" : scope.row.noDiscount == 1?'否':"未设"
}}</template>
@ -260,7 +260,7 @@
<div v-else></div>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip min-width="75" align="center" prop="collectionAmount" label="实付金额金额"></el-table-column>
<el-table-column show-overflow-tooltip min-width="75" align="center" prop="collectionAmount" label="实付金额"></el-table-column>
<el-table-column show-overflow-tooltip min-width="75" align="center" prop="collectionRechargeAmount" label="卡付金额"></el-table-column>
<el-table-column show-overflow-tooltip min-width="75" align="center" prop="collectionCashAmount" label="现付金额"></el-table-column>
<el-table-column show-overflow-tooltip width="75" align="center" prop="sex" label="性别">
@ -288,7 +288,7 @@
</el-table-column>
</el-table>
</div>
<div style="width: 280px" class="border-radius-10 border margin-left-xs bg-white padding-xs">
<div class="border-radius-10 border margin-left-xs bg-white padding-xs" style="margin-right:2%">
<div class="flex justify-center align-center text-bold padding-bottom-xs">
<div class="form-width-m ">
<span class=" ">现付金额:</span>
@ -1513,7 +1513,7 @@ export default {
goBack() {
this.$router.push({ query: {} });
this.$router.push({ path: "/service" });
this.$router.push({ path: "/shareBill" });
this.notData();
},
getRecCard() {
@ -1750,6 +1750,7 @@ export default {
this.setPage();
},
setPage() {
if (this.$route.query.list) {
let list = JSON.parse(this.$route.query.list);
if (list.length != 0 || list === 0) {
if (list == 0 || list == 1) {
@ -1767,12 +1768,14 @@ export default {
} else {
this.goBack();
}
}
this.getDetail();
},
},
created() {
activated() {
this.setPage();
},
created() {},
};
</script>

@ -1,9 +1,9 @@
<template>
<div class="flex">
<div style="width:280px">
<el-table :data="payLists" class='border ' :summary-method="getSummariesPay" show-summary :header-cell-style="{background: 'linear-gradient(#6cb3ff, #1873d4)',color:'#eeeeee'}">
<el-table-column align="center" prop="payName" min-width="150" label="支付方式"></el-table-column>
<el-table-column align="center" prop="payMoney" width="120" label="本次支付 ">
<div style="width:100%">
<el-table :data="payLists" style="width:280px" class='border' :summary-method="getSummariesPay" show-summary :header-cell-style="{background: 'linear-gradient(#6cb3ff, #1873d4)',color:'#eeeeee'}">
<el-table-column align="center" prop="payName" min-width="100" label="支付方式"></el-table-column>
<el-table-column align="center" prop="payMoney" min-width="80" label="本次支付 ">
<template slot-scope="scope">
<div v-if="payIndex != scope.$index" @click="editPay(scope.row,scope.$index)">
{{ scope.row.payMoney }}

@ -103,15 +103,15 @@
</div>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip min-width="150" align="center" prop="projectNum" label="项目编码"></el-table-column>
<el-table-column show-overflow-tooltip min-width="150" align="center" prop="projectName" label="项目名称"></el-table-column>
<el-table-column show-overflow-tooltip min-width="100" align="center" prop="projectNum" label="项目编码"></el-table-column>
<el-table-column show-overflow-tooltip min-width="120" align="center" prop="projectName" label="项目名称"></el-table-column>
<el-table-column show-overflow-tooltip min-width="100" align="center" prop="transactionPrice" label="项目金额"></el-table-column>
<el-table-column show-overflow-tooltip min-width="100" align="center" prop="" label="支付类型">
<template slot-scope="scope">
<el-tooltip v-if="scope.row.courseAccountId!=null" class="item" effect="dark" content="疗程付" placement="top">
<div>{{scope.row.courseAccountId!=null?'疗程付':'卡付/现付'}}</div>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="scope.row.rechargeConsumeLists" placement="top" v-if="scope.row.rechargeConsumeList.length!=0">
<el-tooltip class="item" effect="dark" :content="scope.row.rechargeConsumeLists" placement="top" v-else-if="scope.row.rechargeConsumeList.length!=0">
<span>卡付</span>
</el-tooltip>
<div v-else></div>
@ -120,7 +120,7 @@
<el-table-column show-overflow-tooltip min-width="100" align="center" prop="collectionAmount" label="实付金额金额"></el-table-column>
<el-table-column show-overflow-tooltip min-width="75" align="center" prop="collectionRechargeAmount" label="卡付金额"></el-table-column>
<el-table-column show-overflow-tooltip min-width="75" align="center" prop="collectionCashAmount" label="现付金额"></el-table-column>
<el-table-column show-overflow-tooltip min-width="100" align="center" prop="collectionAmount" label="性别">
<el-table-column show-overflow-tooltip min-width="75" align="center" prop="collectionAmount" label="性别">
<template slot-scope="scope">
<div>{{scope.row.sex*1==0?'男':'女'}}</div>
</template>
@ -129,10 +129,10 @@
</el-table>
</div>
<div class='border padding-left-xs' style="width:300px" v-if="list.length!=0">
<div class=' border-radius-10 border margin-left-xs bg-white padding-xs' style="width:280px" v-if="list.length!=0">
<el-table :data="form.payLists" :summary-method="getSummaries" show-summary>
<el-table-column align="center" prop="payName" width="140" label="支付方式"></el-table-column>
<el-table-column align="center" prop="payMoney" width="140" label="本次支付 "></el-table-column>
<el-table-column align="center" prop="payName" min-width="100" label="支付方式"></el-table-column>
<el-table-column align="center" prop="payMoney" min-width="80" label="本次支付"></el-table-column>
</el-table>
</div>
</div>

@ -1196,33 +1196,35 @@ export default {
}
},
empty() {
this.form = {
mobilePhone: null,
integralCheckbox: false,
description: "",
salesPrice: "",
numberTimes: "",
menberShow: false,
courseReatmentAmount: 0,
isDebt: false,
collectionRechargeAmount: 0,
collectionCashAmount: 0,
collectionIntegralAmount: 0,
integral: 0,
integralMoney: 0,
consumeIntegral: 0,
debtMoney: 0,
};
this.debtMoneys = 0;
this.staffLists = [{ brandNumber: "", staffName: "", ratio: 100 }];
this.rechargeAccountList = [];
this.rechargeAccountLis = [];
this.payLists = [];
this.managerLists = [{ ratio: 100 }];
this.adminList = [{ ratio: 100 }];
this.activeName = "现付";
this.ctlist();
this.setStaffRatio();
// this.form = {
// mobilePhone: null,
// integralCheckbox: false,
// description: "",
// salesPrice: "",
// numberTimes: "",
// menberShow: false,
// courseReatmentAmount: 0,
// isDebt: false,
// collectionRechargeAmount: 0,
// collectionCashAmount: 0,
// collectionIntegralAmount: 0,
// integral: 0,
// integralMoney: 0,
// consumeIntegral: 0,
// debtMoney: 0,
// };
// this.debtMoneys = 0;
// this.staffLists = [{ brandNumber: "", staffName: "", ratio: 100 }];
// this.rechargeAccountList = [];
// this.rechargeAccountLis = [];
// this.payLists = [];
// this.managerLists = [{ ratio: 100 }];
// this.adminList = [{ ratio: 100 }];
// this.activeName = "";
// this.ctlist();
// this.setStaffRatio();
Object.assign(this.$data, this.$options.data.call(this));
this.setPage();
},
//
@ -1339,9 +1341,16 @@ export default {
that.addCourse();
that.loading = false;
}
setTimeout(() => {
this.loading = false;
}, 3000);
},
addCourse() {
setTimeout(() => {
this.loading = false;
}, 3000);
addcourse(this.form).then((res) => {
this.loading = false;
if (res.code == "000000") {
this.empty();
this.$message.success({
@ -1693,14 +1702,17 @@ export default {
});
return sums;
},
},
created() {
setPage() {
this.ctlist();
this.setStaffRatio();
this.sessionStorageData = JSON.parse(
sessionStorage.getItem("sessionStorageData")
);
},
},
created() {
this.setPage();
},
};
</script>
<style scoped>

@ -75,7 +75,7 @@
</el-form-item> -->
<el-form-item prop="summation" label="退款金额:">
<div class="form-width-ms">
<el-input :disabled="refundCourseNum==0" oninput="this.value=this.value.replace(/\D*(\d*)(\.?)(\d{0,2})\d*/,'$1$2$3')" pattern="[0-9]*\.?[0-9]{0,2}" @change="endRefundMoney" @blur="endRefundMoney" v-model="refund.courseRefundMoney"></el-input>
<el-input oninput="this.value=this.value.replace(/\D*(\d*)(\.?)(\d{0,2})\d*/,'$1$2$3')" pattern="[0-9]*\.?[0-9]{0,2}" @change="endRefundMoney" @blur="endRefundMoney" v-model="refund.courseRefundMoney"></el-input>
</div>
</el-form-item>
<br />
@ -509,7 +509,6 @@ export default {
inject: ["reload"],
data() {
return {
refundCourseNum: null,
headOffice: sessionStorage.getItem("headOffice") * 1,
printDialogVisible: false, //
openAccountDialog: false,
@ -666,80 +665,15 @@ export default {
}
},
endNum() {
console.log();
this.refund.refundNumber =
(this.refund.courseRefundMoney / this.refund.price).toFixed(2) * 1;
this.refund.refundNumber = parseInt(this.refund.refundNumber);
this.upNum = this.refund.refundNumber;
if (this.refundCourseNum == 0) {
if (this.refund.refundNumber * 1 > this.refund.courseConsumeCount) {
this.$alert(
"退款次数不能大于: " + this.refund.courseConsumeCount,
"提示",
{
confirmButtonText: "确定",
confirmButtonClass: "confirmbtnFalses",
type: "warning",
center: true,
callback: (action) => {},
}
);
this.refund.refundNumber = this.refund.courseConsumeCount;
} else {
this.refund.courseRefundMoney =
(this.refund.price * this.refund.refundNumber).toFixed(2) * 1;
let form = { ...this.refund };
this.refund = JSON.parse(JSON.stringify(form));
console.log(this.refund.courseRefundMoney);
}
} else {
console.log(this.upNum);
console.log(this.refund.refundNumber);
if (
this.refund.refundNumber == this.upNum ||
this.refund.refundNUmber == this.upNum + 1
) {
} else {
this.$alert(
"当前退款金额只能退 " +
this.upNum +
" 次或者 " +
(this.upNum + 1) +
" 次",
"提示",
{
confirmButtonText: "确定",
confirmButtonClass: "confirmbtnFalses",
type: "warning",
center: true,
callback: (action) => {},
}
);
this.refund.refundNumber = this.upNum;
}
}
},
endMoney() {
let money =
(this.refund.courseConsumeCount * this.refund.price).toFixed(2) * 1;
if (this.refund.courseRefundMoney * 1 > money) {
this.$alert("退款金额不能高于: " + money, "提示", {
confirmButtonText: "确定",
confirmButtonClass: "confirmbtnFalses",
type: "warning",
center: true,
callback: (action) => {},
});
this.refund.courseRefundMoney = money;
} else {
this.refund.refundNumber =
(this.refund.courseRefundMoney / this.refund.price).Math.floor() * 1;
let form = { ...this.refund };
this.refund = JSON.parse(JSON.stringify(form));
console.log(this.refund.courseRefundMoney);
}
},
close() {
this.refDialogVisible = false;
this.openCollNumber = 0;
@ -1584,10 +1518,6 @@ export default {
this.sessionStorageData = JSON.parse(
sessionStorage.getItem("sessionStorageData")
);
this.refundCourseNum = JSON.parse(
sessionStorage.getItem("sessionStorageData")
).refundCourseNum;
console.log(this.refundCourseNum);
},
watch: {
refDialogVisible(val, oldVal) {

@ -30,10 +30,18 @@
</div>
</template>
</el-table-column>
<el-table-column fixed="right" align="center" label="操作" width="240">
<el-table-column fixed="right" align="center" label="明细" width="76">
<template slot-scope="scope">
<el-button size="mini" type="primary" plain @click="detail(scope.row,detailDialogVisible=true)"></el-button>
</template>
</el-table-column>
<el-table-column fixed="right" align="center" label="作废" width="76">
<template slot-scope="scope">
<el-button size="mini" type="primary" :disabled="scope.row.isCancel==1" @click="cancel(scope.row)" v-role='5008002'>作废</el-button>
</template>
</el-table-column>
<el-table-column fixed="right" align="center" label="打印" width="76">
<template slot-scope="scope">
<el-button size="mini" type="success" :disabled="scope.row.isCancel==1" @click="print(scope.row,printDialogVisible=true) " v-role='5008003'>打印</el-button>
</template>
</el-table-column>

@ -64,7 +64,10 @@
<el-cascader :disabled="title=='查看'" class="form-width" v-model="form.grade" :options="grade" :emitPath="false" :show-all-levels="false" @change="gradechange"></el-cascader>
</el-form-item>
<el-form-item label="工种">
<el-cascader :disabled="title=='查看'" class="form-width" v-model="form.job" :options="job" :emitPath="false" :show-all-levels="false" @change="jobchange"></el-cascader>
<el-select :disabled="title=='查看'" v-model="form.wordTypeName" placeholder="请选择" @change="jobchange">
<el-option v-for="item in jobList" :key="item.id" :label="item.wordTypeName" :value="item.id">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="部门">
<el-select :disabled="title=='查看'" v-model="form.deptName" placeholder="请选择">
@ -146,6 +149,7 @@ import {
rolepage,
editStaff,
pageBasePost,
pageBaseWorkType,
} from "@/api/storeManage.js";
export default {
data() {
@ -162,6 +166,7 @@ export default {
{ value: 1, label: "美容部" },
{ value: 2, label: "其他部" },
],
jobList: [],
rule: {},
rules: {
staffName: {
@ -367,6 +372,13 @@ export default {
});
this.gradeList = res.pageInfo.list;
});
pageBaseWorkType({}).then((res) => {
res.data.forEach((item) => {
item.value = item.wordTypeNum;
item.label = item.wordTypeName;
});
this.jobList = res.data;
});
},
//
changeRole(v) {
@ -405,12 +417,16 @@ export default {
}
},
//
jobchange(row) {
if (row) {
row.forEach((item) => {
this.form.job = item;
});
jobchange(e) {
console.log(e);
this.jobList.forEach((item) => {
if (item.id == e) {
this.form.wordTypeNum = item.wordTypeNum;
this.form.wordTypeName = item.wordTypeName;
this.form.wordTypeId = item.id;
console.log(this.form);
}
});
},
//
confirm() {

@ -18,7 +18,7 @@
</el-table-column>
<el-table-column align="center" prop="mobilePhone" label="手机号码" sortable min-width="130"></el-table-column>
<el-table-column align="center" prop="joinedDate" label="入职日期" sortable min-width="120"></el-table-column>
<el-table-column align="center" prop="jobName" label="工种" sortable min-width="80"></el-table-column>
<el-table-column align="center" prop="wordTypeName" label="工种" sortable min-width="80"></el-table-column>
<el-table-column align="center" prop="gradeName" label="用户身份" sortable min-width="100"></el-table-column>
<el-table-column align="center" prop="postName" label="职务" sortable min-width="100"></el-table-column>
<el-table-column align="center" prop="type" label="员工类型" sortable min-width="100">

@ -26,7 +26,7 @@
</el-table-column>
<el-table-column align="center" prop="mobilePhone" label="手机号码" sortable min-width="120"></el-table-column>
<el-table-column align="center" prop="joinedDate" label="入职日期" sortable min-width="110"></el-table-column>
<el-table-column align="center" prop="jobName" label="工种" sortable min-width="80"></el-table-column>
<el-table-column align="center" prop="wordTypeName" label="工种" sortable min-width="80"></el-table-column>
<el-table-column align="center" prop="postName" label="职务" sortable min-width="80"></el-table-column>
<el-table-column align="center" prop="type" label="员工类型" sortable min-width="80">
<template slot-scope="scope">

@ -16,7 +16,7 @@
<el-table-column align="center" prop="brandNumber" label="水牌号" min-width="110"></el-table-column>
<el-table-column align="center" prop="staffName" label="名字" min-width="100"></el-table-column>
<el-table-column align="center" prop="postName" label="职务" min-width="100"></el-table-column>
<el-table-column align="center" prop="jobName" label="工种" min-width="100"></el-table-column>
<el-table-column align="center" prop="wordTypeName" label="工种" min-width="100"></el-table-column>
<el-table-column align="center" prop="joinedDate" sortable label="入职时间" min-width="180"></el-table-column>
<el-table-column align="center" prop="count" sortable label="会员数(个)" min-width="110"></el-table-column>
<el-table-column fixed="right" align="center" label="操作" width="80">

@ -257,8 +257,7 @@ const router = new VueRouter({
import("../pages/eashier/proceeds/components/edit.vue"),
meta: {
title: "服务单-收银",
index: "proceeds-edit",
keepAlive: true
index: "proceeds-edit"
}
},
//充值 shareBill
@ -268,8 +267,7 @@ const router = new VueRouter({
import("../pages/eashier/collectionList/collectionList.vue"),
meta: {
title: "充值",
index: "collectionList",
keepAlive: true
index: "collectionList"
}
},
//疗程 reatment
@ -278,8 +276,7 @@ const router = new VueRouter({
component: () => import("../pages/eashier/reatment/reatment.vue"),
meta: {
title: "疗程",
index: "reatment",
keepAlive: true
index: "reatment"
}
},
//加价转疗程 raiseReatment

@ -12,9 +12,9 @@
}
.into-table-width {
width: -webkit-calc(100% - 360px);
width: -moz-calc(100% - 360px);
width: calc(100% - 360px);
width: -webkit-calc(100% - 450px);
width: -moz-calc(100% - 450px);
width: calc(100% - 450px);
}
.text-out {

Loading…
Cancel
Save