Commit a2a31f75 authored by 黄奎's avatar 黄奎

页面修改

parent d94b7f83
...@@ -53,7 +53,6 @@ ...@@ -53,7 +53,6 @@
<el-select filterable v-model="msg.COrderState" class="w150"> <el-select filterable v-model="msg.COrderState" class="w150">
<el-option :label="$t('pub.unlimitedSel')" :value="-1"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="-1"></el-option>
<el-option v-for="item in OrderStatusList" :label="item.Name" :value="item.Id" :key="item.ID"></el-option> <el-option v-for="item in OrderStatusList" :label="item.Name" :value="item.Id" :key="item.ID"></el-option>
</el-select> </el-select>
</span> </span>
</li> </li>
...@@ -111,7 +110,7 @@ ...@@ -111,7 +110,7 @@
<tr> <tr>
<td style="text-align:right;width:80px;">领队/导游:</td> <td style="text-align:right;width:80px;">领队/导游:</td>
<td> <td>
<el-select class="w150" v-model="SetLeader.ReciveLeaderId" filterable <el-select class="w150" filterable v-model="SetLeader.ReciveLeaderId" filterable
:placeholder="$t('pub.pleaseSel')"> :placeholder="$t('pub.pleaseSel')">
<el-option :label="$t('pub.unlimitedSel')" :value="SelectDefaultValue"> <el-option :label="$t('pub.unlimitedSel')" :value="SelectDefaultValue">
</el-option> </el-option>
...@@ -120,10 +119,18 @@ ...@@ -120,10 +119,18 @@
</el-select> </el-select>
</td> </td>
</tr> </tr>
<tr>
<td style="text-align:right;height:10px" colspan="2"></td>
</tr>
<tr>
<td colspan="2" style="text-align:center;">
<input type="button" @click="setShopOrderLeader(item.CorderId)" class="hollowFixedBtn"
value="保存">
</td>
</tr>
</table> </table>
<el-button type="primary" icon="iconfont icon-beizhu" slot="reference" <el-button type="primary" @click="clickShopOrderLeader(item)" icon="iconfont icon-beizhu"
@click='setShopOrderLeader(item.CorderId)' slot="reference" style="background:#AD9AF6; border-color:#AD9AF6; border-radius: 0;"></el-button>
style="background:#AD9AF6; border-color:#AD9AF6; border-radius: 0;"></el-button>
</el-popover> </el-popover>
</el-tooltip> </el-tooltip>
</el-button-group> </el-button-group>
...@@ -177,6 +184,7 @@ ...@@ -177,6 +184,7 @@
//分配领队 //分配领队
SetLeader: { SetLeader: {
ReciveLeaderId: 0, ReciveLeaderId: 0,
OrderIdList: [], //订单信息
} }
}; };
}, },
...@@ -265,19 +273,19 @@ ...@@ -265,19 +273,19 @@
err => {} err => {}
) )
}, },
//点击获取订单信息
clickShopOrderLeader(item) {
this.SetLeader.OrderIdList.push(item.CorderId);
},
//分配接单领队 //分配接单领队
setShopOrderLeader(COrderId) { setShopOrderLeader() {
var orderArray = [];
orderArray.push(COrderId);
var msg = {
ReciveLeaderId: this.SetLeader.ReciveLeaderId,
OrderIdList: orderArray
};
this.apipost( this.apipost(
'ShopOrder_get_SetShopOrderAllotLeader', this.SetLeader, 'ShopOrder_get_SetShopOrderAllotLeader', this.SetLeader,
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.getList(); this.getList();
this.SetLeader.OrderIdList = [];
this.SetLeader.ReciveLeaderId = 0;
} }
}, },
err => {} err => {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment