|  |  |  | 
|---|
|  |  |  | userList: [], | 
|---|
|  |  |  | treeSelect : [], | 
|---|
|  |  |  | payMoneys : [], | 
|---|
|  |  |  | order:{}, | 
|---|
|  |  |  | printPaper : false, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | created : function() { | 
|---|
|  |  |  | 
|---|
|  |  |  | data: _this.cardInfo, | 
|---|
|  |  |  | url: url, | 
|---|
|  |  |  | callback: function (data) { | 
|---|
|  |  |  | _this.order.id = data.mapInfo.orderId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if (_this.printPaper) { | 
|---|
|  |  |  | _this.$message.success(data.info); | 
|---|
|  |  |  | _this.print(); | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | _this.$message.success({ | 
|---|
|  |  |  | message : data.info, | 
|---|
|  |  |  | duration : 1000, | 
|---|
|  |  |  | onClose() { | 
|---|
|  |  |  | _this.closeFrame(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if(parent.myGrid) { | 
|---|
|  |  |  | 
|---|
|  |  |  | parent.app.vipInfoFn(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | _this.closeFrame(); | 
|---|
|  |  |  | // _this.closeFrame(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | title: "打印订单", | 
|---|
|  |  |  | area: ['250px', '550px'], | 
|---|
|  |  |  | maxmin: true, | 
|---|
|  |  |  | content: [basePath + '/admin/redirect/hive/beautySalon/print-order?id=' + this.order.id], | 
|---|
|  |  |  | content: [basePath + '/admin/order/printOrder?id=' + this.order.id], | 
|---|
|  |  |  | cancel: function (index, layero) { | 
|---|
|  |  |  | _this.closeFram(); | 
|---|
|  |  |  | _this.closeFrame(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } else { | 
|---|