| | |
| | | //获取用户列表 |
| | | AjaxProxy.requst({ |
| | | app: _this, |
| | | url: basePath + '/admin/getShopStaffByRoleName?roleName=美疗师', |
| | | url: basePath + '/admin/shopAll', |
| | | callback: function (data) { |
| | | _this.userList = data.rows; |
| | | } |
| | |
| | | _this.achieveList.forEach(achieve => { |
| | | for (let i = 0; i < _this.order.items.length; i++) { |
| | | let item = _this.order.items[i]; |
| | | item.achieveList = []; |
| | | if (!item.achaeveList){ |
| | | item.achaeveList = []; |
| | | } |
| | | if (item.uuid == achieve.orderItem.uuid) { |
| | | let achieveNew = { |
| | | beaultId: achieve.saleId, |
| | | t1: achieve.achieveMoney |
| | | }; |
| | | item.achieveList.push(achieveNew); |
| | | item.achaeveList.push(achieveNew); |
| | | break; |
| | | } |
| | | } |
| | |
| | | } else { |
| | | _this.$message.success(data.info); |
| | | } |
| | | parent.myGrid.serchData(); |
| | | if(parent.myGrid) { |
| | | parent.myGrid.serchData(); |
| | | } |
| | | |
| | | if (parent.app) { |
| | | parent.app.orderQuery(); |
| | | } |
| | | } |
| | | }); |
| | | } |
| | |
| | | */ |
| | | chouseGoods() { |
| | | let _this = this; |
| | | this.multipleSelection.forEach(item => { |
| | | _this.pushToSelectGoods(item, BUY_TYPE_NOT_FREE); |
| | | }); |
| | | // this.multipleSelection.forEach(item => { |
| | | // _this.pushToSelectGoods(item, BUY_TYPE_NOT_FREE); |
| | | // }); |
| | | this.closeXm(); |
| | | this.calculationTotal(); |
| | | }, |