|  |  |  | 
|---|
|  |  |  | prop="orderItem.payMoney" | 
|---|
|  |  |  | label="收款"> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | label="业绩"> | 
|---|
|  |  |  | label="业绩类型" width="150"> | 
|---|
|  |  |  | <template slot-scope="scope"> | 
|---|
|  |  |  | <el-select v-model="scope.row.t3" placeholder="请选择业绩类型"> | 
|---|
|  |  |  | <el-option | 
|---|
|  |  |  | v-for="item in achieveTypeList" | 
|---|
|  |  |  | :key="item.key" | 
|---|
|  |  |  | :label="item.value" | 
|---|
|  |  |  | :value="item.key"> | 
|---|
|  |  |  | </el-option> | 
|---|
|  |  |  | </el-select> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | label="业绩" width="100"> | 
|---|
|  |  |  | <template slot-scope="scope"> | 
|---|
|  |  |  | <el-input v-model="scope.row.achieveMoney"></el-input> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | label="员工"> | 
|---|
|  |  |  | label="提成"> | 
|---|
|  |  |  | <template slot-scope="scope"> | 
|---|
|  |  |  | <el-input v-model="scope.row.commission"></el-input> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | label="员工" width="130"> | 
|---|
|  |  |  | <template slot-scope="scope"> | 
|---|
|  |  |  | <el-select v-model="scope.row.saleId" placeholder="请选择员工"> | 
|---|
|  |  |  | <el-option | 
|---|
|  |  |  | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column | 
|---|
|  |  |  | width="200" | 
|---|
|  |  |  | width="150" | 
|---|
|  |  |  | label="操作"> | 
|---|
|  |  |  | <template slot-scope="scope"> | 
|---|
|  |  |  | <el-button type="primary" v-if="scope.row.isShare" | 
|---|
|  |  |  | 
|---|
|  |  |  | <el-col :span="15"> | 
|---|
|  |  |  | <el-row style="line-height: 50px;" v-for="(item, index) in payMoneys"> | 
|---|
|  |  |  | <el-col :span="6" style="text-align: right; padding-right: 10px; font-size: 12px;">{{item.value}}</el-col> | 
|---|
|  |  |  | <el-col :span="8"><el-input v-model.number="item.money"></el-input></el-col> | 
|---|
|  |  |  | <el-col :span="8"><el-input v-model="item.money"></el-input></el-col> | 
|---|
|  |  |  | <el-col :span="6" style="margin-left: 10px;" v-if="item.type == '储值卡'">{{item.isGift == 1 ? '赠送余额' : '余额' }}:<span class="arrears">¥ {{item.balance}}</span></el-col> | 
|---|
|  |  |  | </el-row> | 
|---|
|  |  |  | </el-col> | 
|---|
|  |  |  | 
|---|
|  |  |  | type: '欠款' | 
|---|
|  |  |  | },], | 
|---|
|  |  |  | achieveList: [], | 
|---|
|  |  |  | achieveTypeList : [ | 
|---|
|  |  |  | { | 
|---|
|  |  |  | "key" : "现金业绩", | 
|---|
|  |  |  | "value" : "现金业绩" | 
|---|
|  |  |  | },{ | 
|---|
|  |  |  | "key" : "划扣业绩", | 
|---|
|  |  |  | "value" : "划扣业绩" | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | ], | 
|---|
|  |  |  | //会员可用的充值卡 | 
|---|
|  |  |  | moneyCards: [], | 
|---|
|  |  |  | //门店信息 | 
|---|
|  |  |  | 
|---|
|  |  |  | staff: _this.loginUser, | 
|---|
|  |  |  | saleId: _this.loginUser.suId, | 
|---|
|  |  |  | achieveMoney: item.payMoney, | 
|---|
|  |  |  | commission : 0, | 
|---|
|  |  |  | t3 : '现金业绩', | 
|---|
|  |  |  | isShare: false, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | 
|---|
|  |  |  | staff: this.loginUser, | 
|---|
|  |  |  | saleId: this.loginUser.suId, | 
|---|
|  |  |  | achieveMoney: item.payMoney, | 
|---|
|  |  |  | t3 : '现金业绩', | 
|---|
|  |  |  | commission : 0, | 
|---|
|  |  |  | isShare: false, | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | this.order.items.push(item); | 
|---|
|  |  |  | 
|---|
|  |  |  | if (item.uuid == achieve.orderItem.uuid) { | 
|---|
|  |  |  | let achieveNew = { | 
|---|
|  |  |  | beaultId: achieve.saleId, | 
|---|
|  |  |  | t1: achieve.achieveMoney | 
|---|
|  |  |  | t1: achieve.achieveMoney, | 
|---|
|  |  |  | t3: achieve.t3, | 
|---|
|  |  |  | projPercentage: achieve.commission, | 
|---|
|  |  |  | }; | 
|---|
|  |  |  | item.achaeveList.push(achieveNew); | 
|---|
|  |  |  | break; | 
|---|