Commit e5d6a705 authored by youjie's avatar youjie

no message

parent d28ea6e1
......@@ -170,6 +170,9 @@
font-size: 12px;
padding: 10px 0 0 0;
}
.c9e{
color: #9e9e9e;
}
......@@ -366,17 +369,13 @@
<b></b>
<div class="infor-list">
<el-table :data="msg.details" style="width:100%" border>
<el-table-column fixed label="日期" min-width="180">
<el-table-column fixed label="日期" width="180">
<template slot-scope="scope">
{{scope.row.UseDate}}
<span class="c9e">{{scope.row.DayNum}}</span>
</template>
</el-table-column>
<el-table-column label="第几天" min-width="180">
<template slot-scope="scope">
{{scope.row.DayNum}}
</template>
</el-table-column>
<el-table-column label="用车类型" min-width="180">
<el-table-column label="用车类型" width="300">
<template slot-scope="scope">
<el-form-item label="用车类型" :prop="'details.'+scope.$index+'.UseType'" :rules="rules.UseType">
<el-select v-model='scope.row.UseType' >
......@@ -389,14 +388,22 @@
</el-form-item>
</template>
</el-table-column>
<el-table-column label="行程信息" min-width="180">
<el-table-column label="行程信息">
<template slot-scope="scope">
<el-form-item label="行程信息" :prop="'details.'+scope.$index+'.TripInfo'" :rules="rules.TripInfo">
<el-input v-model="scope.row.TripInfo" placeholder="输入行程信息"/>
</el-form-item>
<el-popover trigger="click" placement="top">
<el-input type="textarea" v-model="scope.row.TripInfo"
:autosize="{ minRows: 3, maxRows: 100}"
placeholder="输入行程信息"/>
<div slot="reference" class="name-wrapper">
<el-form-item label="行程信息" :prop="'details.'+scope.$index+'.TripInfo'" :rules="rules.TripInfo">
<el-input v-model="scope.row.TripInfo" placeholder="输入行程信息" disabled/>
</el-form-item>
</div>
</el-popover>
</template>
</el-table-column>
<el-table-column label="操作" min-width="180">
<el-table-column label="操作" width="100">
<template slot-scope="scope">
<el-button size="small" type="primary" @click="deleteLine(scope.$index)">删除</el-button>
</template>
......@@ -405,7 +412,9 @@
</div>
</div>
<div class="flexOne-infor-box">
<div style="margin-top: 20px;">
<div style="margin-bottom: 10px;">备注:</div>
<el-input style="width: 100%;" type="textarea" :autosize="{ minRows: 2, maxRows: 4}"
v-model="msg.CreateRemark" placeholder="订单备注"/>
</div>
......@@ -465,6 +474,7 @@
components: { },
data() {
return {
showTripInfo: false,
EmpId: 0,
AirportTypes:[],
isCheck:true,
......@@ -515,56 +525,67 @@
PickUpInfo: [{
required: true,
// message: '请输入接机信息',
message: '',
trigger: 'blur'
}],
GoFlightInfo: [{
required: true,
// message: '请输入去程航班',
message: '',
trigger: 'change'
}],
BackFlightInfo: [{
required: true,
// message: '请输入回程航班',
message: '',
trigger: 'blur'
}],
PeopleNum: [{
required: true,
// message: '请输入用车人数',
message: '',
trigger: 'blur'
}],
UseDayNum: [{
required: true,
// message: '请输入行程天数',
message: '',
trigger: 'blur'
}],
StartDate:[{
required: true,
// message: '请选择开始日期',
message: '',
trigger: 'change'
}],
BusType: [{
required: true,
// message: '请选择用车类型',
message: '',
trigger: 'change'
}],
GuideInfo: [{
required: true,
// message: '请输入导游信息',
message: '',
trigger: 'blur'
}],
TeamName: [{
required: true,
// message: '请输入团队信息',
message: '',
trigger: 'blur'
}],
UseType: [{
required: true,
// message: '请选择用车类型',
message: '',
trigger: 'change'
}],
TripInfo: [{
required: true,
// message: '请输入行程信息',
message: '',
trigger: 'blur'
}],
},
......@@ -581,7 +602,6 @@
// 删除
deleteLine(index){
this.msg.details.splice(index,1)
console.log(this.msg.details.length,'==-----')
this.msg.UseDayNum = this.msg.details.length
},
// 获取车型座位数
......@@ -774,7 +794,8 @@
BusType: res.data.data.BusType,//用车类型(接口返下拉列表)
GuideInfo: res.data.data.GuideInfo,//导游信息
TeamName: res.data.data.TeamName,//团队信息
details: res.data.data.details
details: res.data.data.details,
CreateRemark: res.data.data.CreateRemark
}
this.isCheck = true
this.getBusType()
......
......@@ -361,8 +361,15 @@
>
</div>
</div>
<div class="c9e fz12" v-if="item.CustomerName">
<span>客人信息:{{ item.UseCompName }}({{ item.UseName }})</span>
<div class="c9e fz12" v-if="item.UseCompName||item.CustomerName">
<span>客人信息:
<template v-if="item.EmpId>0">
{{ item.UseCompName }}({{ item.UseName }})
</template>
<template v-else>
{{ item.CustomerName }}({{ item.CustomerContact }})
</template>
<span v-if="item.CustomerTel">/{{item.CustomerTel}}</span> </span>
</div>
<div class="row c9e fz12">
<template v-if="item.EmName">
......@@ -489,9 +496,10 @@
{{ item.ShouPeiFee }}
</template>
</el-table-column>
<template slot="append" v-if="item.CreateRemark">
<div style="padding:10px;color:#f1416c">客户备注:{{item.CreateRemark}}</div>
<div style="padding:0 10px 10px 10px;color:#f1416c">
<template slot="append" v-if="item.CreateRemark||item.Remark">
<div v-if="item.CreateRemark" style="padding:10px;color:#f1416c">客户备注:{{item.CreateRemark}}</div>
<div v-if="item.Remark" style="padding:10px;color:#f1416c"
:style="{'padding':!item.CreateRemark?'10px':'0 10px 10px 10px'}">
<template v-if="item.Remark||item.OfferState!=3">OP备注:{{item.Remark}}</template>
<i v-if="item.OfferState!=3" class="el-icon-edit cursor-pointer c059FF6 mx" @click="editRemark(item)"></i>
</div>
......
......@@ -18,7 +18,7 @@
</li>
<li>
<span>
<em>订单流水号</em>
<em>订单Id</em>
<el-input v-model='msg.OrderId' class="w200"></el-input>
</span>
</li>
......
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