Commit 3f43856c authored by youjie's avatar youjie

no message

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