Commit 3f43856c authored by youjie's avatar youjie

no message

parent fc32996c
......@@ -302,7 +302,8 @@
</template>
<li>
<el-form-item label="用车人数" prop="PeopleNum">
<el-input-number v-model="msg.PeopleNum" :min="1" :max="SeatNum"
<!-- :max="SeatNum" -->
<el-input-number v-model="msg.PeopleNum" :min="1"
placeholder="请输入用车人数" @change="getBusType"/>
</el-form-item>
</li>
......@@ -343,17 +344,18 @@
<el-input v-model="msg.TeamName" placeholder="请输入团队信息"/>
</el-form-item>
</li>
<li class="bottom">
<el-form-item label="车型" prop="BusType">
<el-select class="w200" filterable v-model='msg.BusType' @change="getBusType">
<el-option v-for='(item,index) in vehicletop'
:label='item.Name +`(${item.SeatNum}座)`'
:value='item.Id'
:key='item.Id'>
</el-option>
</el-select>
</el-form-item>
</li>
<li class="bottom">
<el-form-item label="车型" prop="BusType">
<el-select class="w200" filterable v-model='msg.BusType' @change="getBusType">
<el-option v-for='(item,index) in vehicletop'
:label='item.Name +`(${item.SeatNum}座)`'
:value='item.Id'
:key='item.Id' :disabled="item.SeatNum<msg.PeopleNum?true:false">
</el-option>
</el-select>
</el-form-item>
</li>
</div>
</div>
</div>
......@@ -584,6 +586,7 @@
},
// 获取车型座位数
getBusType(){
return
if(this.vehicletop&&this.vehicletop.length>0){
this.vehicletop.forEach(x=>{
if(x.Id===this.msg.BusType){
......
......@@ -751,7 +751,8 @@
</div>
</el-dialog>
<!-- 报价 -->
<el-dialog custom-class='addCompany' :title="dialogTitle" :visible.sync="isShowPrice" center min-width="1000">
<el-dialog custom-class='addCompany' :title="dialogTitle" :visible.sync="isShowPrice"
center min-width="1000px">
<span style="font-weight: bold;font-size: 16px;
display: inline-block;
margin-bottom: 20px;">
......@@ -828,13 +829,13 @@
</el-select>
</template>
<template v-else>
{{ postMsg.CustomerName }}
{{ postMsg.CurrencyCode?postMsg.CurrencyCode:'--' }}
</template>
</span>
</span>
<span>
手配费:
<span>
<span class="c3FC4FF fz16">
<template v-if="priceType == 1">
<el-input-number v-model="postMsg.ShouPeiFee" :min="0"
@input="calcPrice()" style="width:120px;">
......@@ -847,8 +848,9 @@
</span>
</div>
<span>
<span class="fz17 cF1416C" style="margin-left: 10px;">
总计:{{ postMsg.TotalPrice }}
总计:
<span class="fz18 cF1416C" style="margin-left: 10px;">
{{ postMsg.TotalPrice }}
</span>
</span>
</div>
......@@ -1120,7 +1122,7 @@
},
// 添加司机车号
driver(item) {
this.drivermsg.Id = item.Id
this.drivermsg.Id = item.id
this.drivermsg.DriverInfo = item.DriverInfo
this.drivermsg.BusNo = item.BusNo
this.dialogVisible = true
......@@ -1336,10 +1338,6 @@
},
//提交报价
submitTripBusOffer() {
if(!this.postMsg.CurrencyId){
this.Error('请选择币种');
return
}
// tripbus_SureSellBusTripOffer
this.apipost('tripbus_ErpSubmitTripBusOffer', this.postMsg, res => {
if (res.data.resultCode == 1) {
......@@ -1462,6 +1460,10 @@
.catch(() => {});
},
confirmFun(type) {
if(!this.postMsg.CurrencyId){
this.Error('请选择币种');
return
}
this.postMsg.OfferState = type
let text
if(type==1){
......
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