| | |
| | | <el-table-column prop="carrierName" label="运输公司" min-width="100" show-overflow-tooltip /> |
| | | <el-table-column prop="driverName" label="司机" min-width="100" show-overflow-tooltip /> |
| | | <el-table-column prop="drivierPhone" label="司机电话" min-width="100" show-overflow-tooltip /> |
| | | <!-- <el-table-column prop="wmsContractNum" label="WMS合同号" min-width="100" show-overflow-tooltip > |
| | | <template v-slot="scope"> |
| | | <span v-if="scope.row.platformWmsJob">{{ scope.row.platformWmsJob.contractNum }}</span> |
| | | </template> |
| | | </el-table-column>--> |
| | | <el-table-column prop="inTypeTemp" label="作业类型" min-width="100" show-overflow-tooltip> |
| | | <template v-slot="scope"> |
| | | <template v-slot="scope"> |
| | | <span v-if="scope.row.type == '0'">自有车卸货</span> |
| | | <span v-if="scope.row.type == '1'">自有车装货</span> |
| | | <span v-if="scope.row.type == '2'">外协车卸货</span> |
| | |
| | | </el-table-column> |
| | | <el-table-column prop="name" label="操作" min-width="120" align="center" fixed="right" show-overflow-tooltip> |
| | | <template v-slot="scope"> |
| | | <el-button v-if="scope.row.status == '12'" type="text" class="red" v-permissions="['business:platformjob:delete']" |
| | | @click="handleDel(scope.row)">删除</el-button> |
| | | <el-button v-if="scope.row.status == '12'" type="text" class="red" |
| | | v-permissions="['business:platformjob:delete']" @click="handleDel(scope.row)">删除</el-button> |
| | | <el-button v-if="scope.row != 12" type="text" v-permissions="['business:platformjob:query']" |
| | | @click="handleDetail(scope.row)">运单详情</el-button> |
| | | </template> |
| | |
| | | filed: 'driverName', |
| | | type: 'input', |
| | | label: '驾驶员' |
| | | }, |
| | | { |
| | | filed: 'wmsContractNum', |
| | | type: 'input', |
| | | label: '合同号' |
| | | }, |
| | | { |
| | | filed: 'carCodeFront', |
| | |
| | | this.$dialog.exportConfirm('确认导出吗?') |
| | | .then(() => { |
| | | this.exLoading = true |
| | | const { filters } = this |
| | | platformJobExport({ |
| | | page: this.pagination.page, |
| | | capacity: 1000000, |
| | | jobType: '0', |
| | | model: this.filters |
| | | model: { |
| | | ...filters, |
| | | jobType: '0', |
| | | createDateStart: filters.selDate && filters.selDate.length > 0 ? filters.selDate[0] : null, |
| | | createDateEnd: filters.selDate && filters.selDate.length > 0 ? filters.selDate[1] : null, |
| | | } |
| | | }) |
| | | .then(response => { |
| | | this.download(response) |
| | |
| | | this.pagination.page = 1 |
| | | this.filters = { |
| | | selDate: [], |
| | | fastdate: 0 |
| | | } |
| | | this.changeRadio('0') |
| | | this.getList() |
| | | // this.changeRadio('0') |
| | | }, |
| | | handleDetail(row) { |
| | | this.isShowDetail = true |
| | |
| | | }, |
| | | handleSizeChange(capacity) { |
| | | this.pagination.pageSize = capacity |
| | | this.getList() |
| | | } |
| | | } |
| | | } |
| | |
| | | color: #000000; |
| | | margin-bottom: 15px; |
| | | } |
| | | </style> |
| | | </style> |