fix bug
This commit is contained in:
@@ -797,11 +797,25 @@ export default {
|
||||
result.push(
|
||||
`是否接单:${node.confirmMode === 'no_confirm_accept' ? '无需确认接单' : '是'}`
|
||||
);
|
||||
result.push(
|
||||
`确认接单人(司机):${node.confirmMode === 'yes' && node.confirmDriver ? '是' : '否'}`
|
||||
);
|
||||
return result;
|
||||
}
|
||||
if (node.key === 'return') {
|
||||
if (node.uploadVoucher && node.voucherTypes.length) {
|
||||
result.push(`上传凭证:${node.voucherTypes.join('、')}`);
|
||||
result.push(
|
||||
`是否确认:${node.confirmMode === 'no_confirm_complete' ? '无需确认完成' : '是'}`
|
||||
);
|
||||
result.push(
|
||||
`确认完成(内部人员):${
|
||||
node.confirmMode === 'yes' && node.confirmInternal ? '是' : '否'
|
||||
}`
|
||||
);
|
||||
if (node.supportVoucher) {
|
||||
result.push(`上传凭证:${node.uploadVoucher ? '是' : '否'}`);
|
||||
if (node.uploadVoucher && node.voucherTypes.length) {
|
||||
result.push(`凭证类型:${node.voucherTypes.join('、')}`);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
@@ -816,11 +830,17 @@ export default {
|
||||
result.push(`打卡操作:${node.punch ? '是' : '否'}`);
|
||||
result.push(`打卡定位:${node.location ? '是' : '否'}`);
|
||||
}
|
||||
if (node.supportCargo && node.uploadCargo && node.cargoTypes.length) {
|
||||
result.push(`上传货量:${node.cargoTypes.join('、')}`);
|
||||
if (node.supportCargo) {
|
||||
result.push(`上传货量:${node.uploadCargo ? '是' : '否'}`);
|
||||
if (node.uploadCargo && node.cargoTypes.length) {
|
||||
result.push(`上传货量类型:${node.cargoTypes.join('、')}`);
|
||||
}
|
||||
}
|
||||
if (node.supportVoucher && node.uploadVoucher && node.voucherTypes.length) {
|
||||
result.push(`上传凭证:${node.voucherTypes.join('、')}`);
|
||||
if (node.supportVoucher) {
|
||||
result.push(`上传凭证:${node.uploadVoucher ? '是' : '否'}`);
|
||||
if (node.uploadVoucher && node.voucherTypes.length) {
|
||||
result.push(`凭证类型:${node.voucherTypes.join('、')}`);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user