修改
This commit is contained in:
parent
3b427eaede
commit
d086f666cc
@ -70,7 +70,7 @@ export default {
|
|||||||
label: '半小时'
|
label: '半小时'
|
||||||
}, {
|
}, {
|
||||||
value: 'ONE_HOUR',
|
value: 'ONE_HOUR',
|
||||||
label: '一小时'
|
label: '一小时'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: ' NINETY_MINUTES',
|
value: ' NINETY_MINUTES',
|
||||||
@ -172,7 +172,7 @@ export default {
|
|||||||
// required: true,
|
// required: true,
|
||||||
// trigger: "blur",
|
// trigger: "blur",
|
||||||
// message: "请输入预约人数上限",
|
// message: "请输入预约人数上限",
|
||||||
|
|
||||||
nurseStationId: [
|
nurseStationId: [
|
||||||
{ required: true, trigger: "blur", message: "请选择所属护理站" },
|
{ required: true, trigger: "blur", message: "请选择所属护理站" },
|
||||||
],
|
],
|
||||||
@ -562,7 +562,7 @@ export default {
|
|||||||
this.form.nurseStationItem.nurseTypeId = this.form.nurseTypeId;
|
this.form.nurseStationItem.nurseTypeId = this.form.nurseTypeId;
|
||||||
this.$refs["form"].validate((valid) => {
|
this.$refs["form"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
|
||||||
if (this.form.nurseStationItem.id != null) {
|
if (this.form.nurseStationItem.id != null) {
|
||||||
this.form.nurseStationItemPrices.forEach((e) => {
|
this.form.nurseStationItemPrices.forEach((e) => {
|
||||||
e.nurseStationItemId = this.form.nurseStationItem.id;
|
e.nurseStationItemId = this.form.nurseStationItem.id;
|
||||||
@ -585,9 +585,10 @@ export default {
|
|||||||
this.getList();
|
this.getList();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if( this.form.nurseStationItem.appointmentLimitCount){
|
if( this.form.nurseStationItem.appointmentLimitCount){
|
||||||
this.form.nurseStationItem.appointmentLimitCount=parseInt(this.form.nurseStationItem.appointmentLimitCount)
|
this.form.nurseStationItem.appointmentLimitCount=parseInt(this.form.nurseStationItem.appointmentLimitCount)
|
||||||
}
|
}
|
||||||
|
|
||||||
this.form.nurseStationItemPrices.forEach(e => {
|
this.form.nurseStationItemPrices.forEach(e => {
|
||||||
e.price = Number(e.price)
|
e.price = Number(e.price)
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user