Commit b89d112a authored by 黄奎's avatar 黄奎

车辆报价调整

parent eaa41f5b
...@@ -411,10 +411,10 @@ ...@@ -411,10 +411,10 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="upBtnList"> <div class="upBtnList">
<input v-if="IsEditBus==0" type="button" class="normalBtn" :class="{'disClick':!isSubmit}" @click="SaveList(0)" <input v-if="IsEditBus==0" type="button" class="normalBtn" :class="{'disClick':!isSubmit}"
:disabled="disButton" value="保存草稿" /> @click="SaveList(0)" :disabled="disButton" value="保存草稿" />
<input v-if="IsEditBus==1" type="button" class="normalBtn" :class="{'disClick':!isSubmit}" @click="SaveList(1)" <input v-if="IsEditBus==1" type="button" class="normalBtn" :class="{'disClick':!isSubmit}"
:disabled="disButton" value="保存" /> @click="SaveList(1)" :disabled="disButton" value="保存" />
<span v-if="isShowBtn==1" style="color:red;margin-left:10px;"> <span v-if="isShowBtn==1" style="color:red;margin-left:10px;">
已制单,不能再修改价格和付款方式! 已制单,不能再修改价格和付款方式!
</span> </span>
...@@ -548,7 +548,7 @@ ...@@ -548,7 +548,7 @@
loading: false, loading: false,
isSubmit: true, isSubmit: true,
isShowBtn: 1, //1禁用高速费,成本费,高速付款方式文本框 isShowBtn: 1, //1禁用高速费,成本费,高速付款方式文本框
IsEditBus:0,//车辆修改权限 IsEditBus: 0, //车辆修改权限
}; };
}, },
methods: { methods: {
...@@ -574,7 +574,14 @@ ...@@ -574,7 +574,14 @@
} }
//高速付款方式默认现付 //高速付款方式默认现付
obj.HighSpeedPayType = 1; obj.HighSpeedPayType = 1;
let busTypeObj = this.BusTypeList.find(item => item.Id === obj.BusType); this.apipost(
"bus_get_GetBusTypePriceByDateList", {
StartDate: obj.PlanDateStr,
Id: obj.BusType,
},
response => {
if (response.data.resultCode == 1) {
let busTypeObj = response.data.data;
if (busTypeObj) { if (busTypeObj) {
//接送价格 //接送价格
if (obj.AirportPickUp == 1 || obj.AirportPickUp == 2) { if (obj.AirportPickUp == 1 || obj.AirportPickUp == 2) {
...@@ -600,6 +607,11 @@ ...@@ -600,6 +607,11 @@
} }
} }
}, },
null
);
}
},
AddSubItem(item) { AddSubItem(item) {
let msg = Object.assign({}, item.BusPlanOrderList[0]); let msg = Object.assign({}, item.BusPlanOrderList[0]);
msg.Id = 0; msg.Id = 0;
......
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