|  |  | 
 |  |  |                   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(); | 
 |  |  |                   } | 
 |  |  | 
 |  |  |             let _this = this; | 
 |  |  |             let jsqMap={}; | 
 |  |  |             let isOk=true; | 
 |  |  |             console.log(this.achieveList); | 
 |  |  |             let rechargeMoney=parseFloat(_this.rechargeMoney); | 
 |  |  |             for(let i=0 ; i< this.achieveList.length; i++){ | 
 |  |  |                let achieve=this.achieveList[i]; | 
 |  |  |  | 
 |  |  |                if(!isNaN(achieve.goodsCash)  ){ | 
 |  |  |                   key=achieve.achieveType; | 
 |  |  |                   if(!jsqMap[key]){ | 
 |  |  | 
 |  |  |                   }else{ | 
 |  |  |                      jsqMap[key]=jsqMap[key]+parseFloat(achieve.goodsCash); | 
 |  |  |                   } | 
 |  |  |                   if(jsqMap[key]>_this.rechargeMoney) { | 
 |  |  |                      this.$message.error("业绩分配金额大于支付金额"); | 
 |  |  |                      isOk = false; | 
 |  |  |                      return; | 
 |  |  |                   } | 
 |  |  |                }else{ | 
 |  |  |                   this.$message.error("业绩分配金额请填写数字"); | 
 |  |  |                   isOk=false; | 
 |  |  |                   return; | 
 |  |  |                } | 
 |  |  |             }; | 
 |  |  |             for(money in jsqMap ){ | 
 |  |  |                if(money > rechargeMoney) { | 
 |  |  |                   this.$message.error("业绩分配金额大于支付金额"); | 
 |  |  |                   isOk = false; | 
 |  |  |                   return; | 
 |  |  |                } | 
 |  |  |             } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |             console.log("isOk",isOk); | 
 |  |  |             return isOk; | 
 |  |  |          }, |