Commit a26b15aa authored by denghr's avatar denghr

车辆排班

parent d864fa37
......@@ -529,10 +529,28 @@
// <!--bookType 1-租车、2-分公司使用、3-维修、4、展览、5、旅游、6、保养、7、预约中、8、禁用、9、客户用车、10、其他-->
if(!ii.bg){
//空白-可安排用车
this.anpai = true;
if(item.vehicleModel==undefined){
this.$notify({
title: '警告',
message: '房车未配置,请先配置',
type: 'warning',
duration: 2000
});
return false
if(item.vehicleModel.keyword==undefined){
this.$notify({
title: '警告',
message: '房车未配置,请先配置',
type: 'warning',
duration: 2000
});
return false
}
}
let arr = item.vehicleModel.keyword.split(",");
item.vehicleModel.keyword = arr.join(" | ");
this.currentItem = {item: item, iitem: iitem, ii: ii};
this.anpai = true;
} else {
if(ii.vehicleBookRecord.status == 1){//审核中的显示预约弹框
this.zhanlan = true;
......
......@@ -26,7 +26,7 @@
</el-col>
</el-row>
<el-form-item label="房车配置">
<span>{{currentItem.item.vehicleModel.keyword}}</span>
<span v-if="currentItem.item.vehicleModel.keyword">{{currentItem.item.vehicleModel.keyword}}</span>
</el-form-item>
<el-form-item label="选择时间" prop="times">
<el-date-picker
......
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