szh_zidingyibiaoti
张同海 2 years ago
parent d64de775b6
commit 16aec22561

@ -13,6 +13,7 @@
<a slot="name" slot-scope="text">{{ text }}</a> <a slot="name" slot-scope="text">{{ text }}</a>
</a-table> --> </a-table> -->
<vxe-table <vxe-table
ref="xTable1"
stripe stripe
resizable resizable
round round
@ -612,6 +613,8 @@ export default {
}, },
SData(id) { SData(id) {
this.confirmLoading = true this.confirmLoading = true
this.ContactsData = []
this.form = this.$form.createForm(this)
BookingTruckGetInfo({ id }) BookingTruckGetInfo({ id })
.then(res => { .then(res => {
if (res.data.ext.contaList) { if (res.data.ext.contaList) {
@ -699,6 +702,7 @@ export default {
if (this.$route.query.BookingId) { if (this.$route.query.BookingId) {
BookingTruckGetTruckListByBooking({ bookingId: this.$route.query.BookingId }).then(res => { BookingTruckGetTruckListByBooking({ bookingId: this.$route.query.BookingId }).then(res => {
this.Bookingdata = res.data this.Bookingdata = res.data
this.$refs.xTable1.setRadioRow(res.data[0])
this.SData(res.data[0].id) this.SData(res.data[0].id)
}) })
} }

Loading…
Cancel
Save