Commit fc32996c authored by youjie's avatar youjie

no message

parent 51a4b95f
......@@ -920,7 +920,7 @@
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false">取 消</el-button>
<el-button type="primary" @click="driverdetermine">确 定</el-button>
<el-button type="primary" @click="driverdetermine('drivermsg')">确 定</el-button>
</span>
</el-dialog>
</div>
......@@ -1097,10 +1097,10 @@
driverdetermine(drivermsg) {
this.$refs[drivermsg].validate((valid) => {
if (valid) {
if(!this.drivermsg.DriverInfo||!this.drivermsg.BusNo){
this.$message.error('司机名称和车牌号不能为空');
return
}
// if(!this.drivermsg.DriverInfo||!this.drivermsg.BusNo){
// this.$message.error('司机名称和车牌号不能为空');
// return
// }
this.loading2 = false
this.apipost('tripbus_SetBusPriceInfo', this.drivermsg, res => {
if (res.data.resultCode == 1) {
......@@ -1120,7 +1120,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
......
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