|
|
|
@ -118,13 +118,15 @@ const details = reactive<any>({
|
|
|
|
|
values: '', |
|
|
|
|
width: '150', |
|
|
|
|
checkarr: [ |
|
|
|
|
{ label: '未发车', value: '0' }, |
|
|
|
|
{ label: '已发车', value: '10' }, |
|
|
|
|
{ label: '网点到车', value: '20' }, |
|
|
|
|
{ label: '网点发车', value: '30' }, |
|
|
|
|
{ label: '终点到车', value: '40' }, |
|
|
|
|
{ label: '已卸车', value: '80' }, |
|
|
|
|
{ label: '取消配载', value: '100' }, |
|
|
|
|
{ label: '未发车', value: 0 }, |
|
|
|
|
{ label: '已发车', value: 10 }, |
|
|
|
|
{ label: '网点到车', value: 20 }, |
|
|
|
|
{ label: '网点发车', value: 30 }, |
|
|
|
|
{ label: '终点到车', value: 40 }, |
|
|
|
|
{ label: '已卸车', value: 80 }, |
|
|
|
|
{ label: '已签收', value: 90 }, |
|
|
|
|
{ label: '部分签收', value: 91 }, |
|
|
|
|
{ label: '取消配载', value: 100 }, |
|
|
|
|
], |
|
|
|
|
fixed: false, |
|
|
|
|
sortable: true, |
|
|
|
@ -255,13 +257,15 @@ const onLoad = async (params = {}) => {
|
|
|
|
|
// const valueArr = details.columnList.filter(val => val.type === 3); |
|
|
|
|
|
|
|
|
|
const loadStatusArr = [ |
|
|
|
|
{ label: '未发车', value: '0' }, |
|
|
|
|
{ label: '已发车', value: '10' }, |
|
|
|
|
{ label: '网点到车', value: '20' }, |
|
|
|
|
{ label: '网点发车', value: '30' }, |
|
|
|
|
{ label: '终点到车', value: '40' }, |
|
|
|
|
{ label: '已卸车', value: '80' }, |
|
|
|
|
{ label: '取消配载', value: '100' }, |
|
|
|
|
{ label: '未发车', value: 0 }, |
|
|
|
|
{ label: '已发车', value: 10 }, |
|
|
|
|
{ label: '网点到车', value: 20 }, |
|
|
|
|
{ label: '网点发车', value: 30 }, |
|
|
|
|
{ label: '终点到车', value: 40 }, |
|
|
|
|
{ label: '已卸车', value: 80 }, |
|
|
|
|
{ label: '已签收', value: 90 }, |
|
|
|
|
{ label: '部分签收', value: 91 }, |
|
|
|
|
{ label: '取消配载', value: 100 }, |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
for (let i = 0; i < details.data.length; i++) { |
|
|
|
@ -271,7 +275,7 @@ const onLoad = async (params = {}) => {
|
|
|
|
|
for (let index = 0; index < loadStatusArr.length; index++) { |
|
|
|
|
const item = loadStatusArr[index]; |
|
|
|
|
|
|
|
|
|
if (value.loadStatus + '' !== item.value) continue; |
|
|
|
|
if (Number(value.loadStatus) !== item.value) continue; |
|
|
|
|
value.loadStatusName = item.label; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|