Commit fc32996c authored by youjie's avatar youjie

no message

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