| | |
| | | AjaxResult result = AjaxResult.buildSuccessInstance("查询成功"); |
| | | |
| | | SysProjUse queryUse = new SysProjUse(); |
| | | if(Objects.nonNull(vipId)){ |
| | | queryUse.setVipId(vipId); |
| | | }else{ |
| | | SysVipInfo vipInfo = getCurrentVioInfo(); |
| | | queryUse.setVipId(vipInfo.getId()); |
| | | } |
| | | |
| | | queryUse.setType(Dictionary.SHOPPING_GOODS_TYPE_XM); |
| | | queryUse.setTaocanId(-1L); |
| | | queryUse.setStatus(Dictionary.TAOCAN_STATUS_YX); |
| | |
| | | } |
| | | |
| | | |
| | | function openAddService() { |
| | | function openAddService(id) { |
| | | layer.full(layer.open({ |
| | | type: 2, |
| | | title: "添加服务单", |
| | | maxmin: true, |
| | | area: [MUI.SIZE_L, '500px'], |
| | | content: [basePath + '/admin/redirect/hive/beautySalon/servicceAddForm'] |
| | | content: [basePath + '/admin/redirect/hive/beautySalon/servicceAddForm?id='+id] |
| | | })); |
| | | } |
| | | |
| | |
| | | return; |
| | | } |
| | | vipId = this.vipInfo.id; |
| | | openAddService(); |
| | | openAddService(vipId); |
| | | }, |
| | | // 开订单 |
| | | addOrder() { |