|
|
|
@ -778,7 +778,7 @@ export default {
|
|
|
|
|
this.getList(this.formRes)
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
editPageSizeSave (pageSize = 10) {
|
|
|
|
|
editPageSizeSave(pageSize = 10) {
|
|
|
|
|
const data = {
|
|
|
|
|
pageSize: pageSize
|
|
|
|
|
}
|
|
|
|
@ -790,7 +790,7 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
getPageSize () {
|
|
|
|
|
getPageSize() {
|
|
|
|
|
DjyUserConfigGet({ type: 'booking_list_page' }).then(res => {
|
|
|
|
|
if (res.data && JSON.parse(res.data.configJson)) {
|
|
|
|
|
this.gridOptions.pagerConfig.pageSize = JSON.parse(res.data.configJson).pageSize
|
|
|
|
@ -946,7 +946,7 @@ export default {
|
|
|
|
|
this.editColumns(row)
|
|
|
|
|
},
|
|
|
|
|
editColumns(row) {
|
|
|
|
|
this.$router.push({ name: 'BookingDetail', query: { id: row.id, type: row.carrierid, mblno: row.mblno } })
|
|
|
|
|
this.$router.push({ name: 'BookingDetailNew', query: { id: row.id, type: row.carrierid, mblno: row.mblno } })
|
|
|
|
|
},
|
|
|
|
|
getList(queryParam = {}) {
|
|
|
|
|
this.$set(this.gridOptions, 'loading', true)
|
|
|
|
@ -1037,7 +1037,7 @@ export default {
|
|
|
|
|
this.$message.error('请至少选择一条数据')
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
this.$router.push({ name: 'BookingDetail', query: { id: pkIdArr[0], isCopy: true } })
|
|
|
|
|
this.$router.push({ name: 'BookingDetailNew', query: { id: pkIdArr[0], isCopy: true } })
|
|
|
|
|
},
|
|
|
|
|
copyBookingMore() {
|
|
|
|
|
const select = this.$refs.xGrid.getCheckboxRecords()
|
|
|
|
@ -1050,13 +1050,13 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
// 有问题
|
|
|
|
|
// pkIdArr.map((item, index) => {
|
|
|
|
|
// this.$router.push({ name: 'BookingDetail', query: { id: item, isCopy: true } })
|
|
|
|
|
// this.$router.push({ name: 'BookingDetailNew', query: { id: item, isCopy: true } })
|
|
|
|
|
// })
|
|
|
|
|
},
|
|
|
|
|
addSubmit() {
|
|
|
|
|
this.addVisible = false
|
|
|
|
|
this.addNum = Math.round(Math.random() * 1000)
|
|
|
|
|
this.$router.push({ name: 'BookingDetail', query: { type: this.carrierRadio, addNum: this.addNum } })
|
|
|
|
|
this.$router.push({ name: 'BookingDetailNew', query: { type: this.carrierRadio, addNum: this.addNum } })
|
|
|
|
|
},
|
|
|
|
|
addCancel() {
|
|
|
|
|
this.addVisible = false
|
|
|
|
|