服务包-次卡,疗程添加项目时只能添加一条
This commit is contained in:
parent
efa108422a
commit
0b94afe47d
|
@ -2052,10 +2052,20 @@ export default {
|
|||
},
|
||||
|
||||
handleAddMassage(){
|
||||
|
||||
var list = this.detailTableData.list;
|
||||
if (list.length > 0) {
|
||||
var fwxmtype = this.fwxmtype;
|
||||
if(fwxmtype==104){
|
||||
}else{
|
||||
this.$notify({
|
||||
title: "提示",
|
||||
duration: 1800,
|
||||
message: "只有【服务套餐】可以配置多条服务项目!",
|
||||
type: "warning",
|
||||
});
|
||||
return ;
|
||||
}
|
||||
}
|
||||
this.title = "";
|
||||
this.status = 1;
|
||||
this.sales = "0";
|
||||
|
@ -2076,14 +2086,6 @@ export default {
|
|||
this.serviceCount = 1;
|
||||
this.intervalDays = 0;
|
||||
this.dialogFormVisibleAddMassage = true;
|
||||
}else{
|
||||
this.$notify({
|
||||
title: "提示",
|
||||
duration: 1800,
|
||||
message: "只有【服务套餐】可以配置多条服务项目!",
|
||||
type: "warning",
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
//提交新增服务项目
|
||||
|
@ -2253,14 +2255,10 @@ export default {
|
|||
},
|
||||
|
||||
showMassageView(){
|
||||
|
||||
var list = this.detailTableData.list;
|
||||
var fwxmtype = this.fwxmtype;
|
||||
if(list.length>0){
|
||||
if(fwxmtype==104){
|
||||
this.serviceCount = 1;
|
||||
this.intervalDays = 0;
|
||||
this.handleSelectMassage();
|
||||
this.dialogFormVisibleMassageList = true;
|
||||
}else{
|
||||
this.$notify({
|
||||
title: "提示",
|
||||
|
@ -2268,7 +2266,13 @@ export default {
|
|||
message: "只有【服务套餐】可以配置多条服务项目!",
|
||||
type: "warning",
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
this.serviceCount = 1;
|
||||
this.intervalDays = 0;
|
||||
this.handleSelectMassage();
|
||||
this.dialogFormVisibleMassageList = true;
|
||||
},
|
||||
|
||||
handleSelectMassage(){
|
||||
|
|
Loading…
Reference in New Issue