Browse Source

修复部分干线bug

dev-xx
qb 11 months ago
parent
commit
3018538397
  1. 14
      src/option/distribution/VehicleArrivalManagement.js
  2. 1
      src/option/distribution/VehicleStowage.js
  3. 7
      src/views/distribution/artery/TripartiteTransfer.vue
  4. 14
      src/views/distribution/artery/VehicleArrivalManagement.vue
  5. 1
      src/views/distribution/artery/VehicleStowage.vue
  6. 18
      src/views/distribution/inventory/BookingNoteComponent/RelayInformation.vue
  7. 34
      src/views/distribution/inventory/BookingNoteComponent/WaybillStowage.vue

14
src/option/distribution/VehicleArrivalManagement.js

@ -126,13 +126,15 @@ export const columnList = [
values: '',
width: '130',
checkarr: [
{ value: 0, label: '未发车' },
{ value: 10, label: '已发车' },
{ value: 20, label: '网点到车' },
{ value: 30, label: '网点发车' },
{ value: 40, label: '终点到车' },
{ label: '未发车', value: 0 },
{ label: '已发车', value: 10 },
{ label: '网点到车', value: 20 },
{ label: '网点发车', value: 30 },
{ label: '终点到车', value: 40 },
{ label: '已卸车', value: 80 },
{ value: 100, label: '取消配载' },
{ label: '已签收', value: 90 },
{ label: '部分签收', value: 91 },
{ label: '取消配载', value: 100 },
],
fixed: false,
sortable: true,

1
src/option/distribution/VehicleStowage.js

@ -133,6 +133,7 @@ export const columnList = [
{ label: '终点到车', value: 40 },
{ label: '已卸车', value: 80 },
{ label: '已签收', value: 90 },
{ label: '部分签收', value: 91 },
{ label: '取消配载', value: 100 },
],
fixed: false,

7
src/views/distribution/artery/TripartiteTransfer.vue

@ -546,6 +546,7 @@ const details = reactive<any>({
{ label: '终点到车', value: 40 },
{ label: '已卸车', value: 80 },
{ label: '已签收', value: 90 },
{ label: '部分签收', value: 91 },
{ label: '取消配载', value: 100 },
],
/** 是否结算 */
@ -915,6 +916,12 @@ const editTransfer = async () => {
if (Number(details.selectionList[0].isSettlement) === 1)
return ElMessage.warning('已结算, 无法修改');
if (Number(details.selectionList[0].loadStatus) === 90)
return ElMessage.warning('已签收, 无法修改');
if (Number(details.selectionList[0].loadStatus) === 91)
return ElMessage.warning('部分签收, 无法修改');
const _item = details.selectionList[0];
$router.push({

14
src/views/distribution/artery/VehicleArrivalManagement.vue

@ -567,13 +567,15 @@ const details = reactive({
view: false,
/** 车辆状态 */
carsStatus: [
{ value: 0, label: '未发车' },
{ value: 10, label: '已发车' },
{ value: 20, label: '网点到车' },
{ value: 30, label: '网点发车' },
{ value: 40, label: '终点到车' },
{ label: '未发车', value: 0 },
{ label: '已发车', value: 10 },
{ label: '网点到车', value: 20 },
{ label: '网点发车', value: 30 },
{ label: '终点到车', value: 40 },
{ label: '已卸车', value: 80 },
{ value: 100, label: '取消配载' },
{ label: '已签收', value: 90 },
{ label: '部分签收', value: 91 },
{ label: '取消配载', value: 100 },
],
/** 节点状态 */
nodeStatus: [

1
src/views/distribution/artery/VehicleStowage.vue

@ -574,6 +574,7 @@ const carStateDictionaries = reactive([
{ label: '终点到车', value: 40 },
{ label: '已卸车', value: 80 },
{ label: '已签收', value: 90 },
{ label: '部分签收', value: 91 },
{ label: '取消配载', value: 100 },
]);

18
src/views/distribution/inventory/BookingNoteComponent/RelayInformation.vue

@ -254,13 +254,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++) {
@ -270,7 +272,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;
}

34
src/views/distribution/inventory/BookingNoteComponent/WaybillStowage.vue

@ -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;
}

Loading…
Cancel
Save