Commit a2a31f75 authored by 黄奎's avatar 黄奎

页面修改

parent d94b7f83
......@@ -53,7 +53,6 @@
<el-select filterable v-model="msg.COrderState" class="w150">
<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-select>
</span>
</li>
......@@ -111,7 +110,7 @@
<tr>
<td style="text-align:right;width:80px;">领队/导游:</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')">
<el-option :label="$t('pub.unlimitedSel')" :value="SelectDefaultValue">
</el-option>
......@@ -120,10 +119,18 @@
</el-select>
</td>
</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>
<el-button type="primary" icon="iconfont icon-beizhu" slot="reference"
@click='setShopOrderLeader(item.CorderId)'
style="background:#AD9AF6; border-color:#AD9AF6; border-radius: 0;"></el-button>
<el-button type="primary" @click="clickShopOrderLeader(item)" icon="iconfont icon-beizhu"
slot="reference" style="background:#AD9AF6; border-color:#AD9AF6; border-radius: 0;"></el-button>
</el-popover>
</el-tooltip>
</el-button-group>
......@@ -177,6 +184,7 @@
//分配领队
SetLeader: {
ReciveLeaderId: 0,
OrderIdList: [], //订单信息
}
};
},
......@@ -265,19 +273,19 @@
err => {}
)
},
//点击获取订单信息
clickShopOrderLeader(item) {
this.SetLeader.OrderIdList.push(item.CorderId);
},
//分配接单领队
setShopOrderLeader(COrderId) {
var orderArray = [];
orderArray.push(COrderId);
var msg = {
ReciveLeaderId: this.SetLeader.ReciveLeaderId,
OrderIdList: orderArray
};
setShopOrderLeader() {
this.apipost(
'ShopOrder_get_SetShopOrderAllotLeader', this.SetLeader,
res => {
if (res.data.resultCode == 1) {
this.getList();
this.SetLeader.OrderIdList = [];
this.SetLeader.ReciveLeaderId = 0;
}
},
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