Browse Source

修复配送签收率已知bug

dev
马远东 1 month ago
parent
commit
e85fce8971
  1. 2
      src/option/reportforms/DeliveryStatisticsReport.js
  2. 8
      src/views/reportforms/DeliveryStatisticsReport.vue

2
src/option/reportforms/DeliveryStatisticsReport.js

@ -157,7 +157,7 @@ export const columnList = [
},
{
prop: 'reviewOnTimeRate',
label: '符合及时率',
label: '复核及时率',
type: 6,
values: '',
width: '150',

8
src/views/reportforms/DeliveryStatisticsReport.vue

@ -106,7 +106,7 @@
<template #default="slotProps">
<template
v-if="
['审核率', '签收率', '库存品签收率', '计划准确率'].includes(
['审核率', '签收率', '库存品签收率', '计划准确率','签收及时率','复核及时率'].includes(
slotProps.scope.column.label
)
"
@ -461,8 +461,10 @@ const onLoad = async () => {
item.reviewOnTimeRate = parsePercentage(item.reviewOnTimeRate);
}
details.data = data.records;
details.page.total = data.total;
console.log(details.data,'details.data');
} catch (e) {
console.error(e);
} finally {
@ -485,6 +487,10 @@ const getRateValue = (label, row) => {
return row.signStockRate;
case '计划准确率':
return row.planAccuracy;
case '签收及时率':
return row.signOnTimeRate;
case '复核及时率':
return row.reviewOnTimeRate;
default:
return 0;
}

Loading…
Cancel
Save