feat: 🚀 优化采购入库||生产入库同步金蝶文字显示判断条件

This commit is contained in:
2025-07-15 14:00:39 +08:00
parent 3ad540ed62
commit de7f71339b

View File

@@ -29,9 +29,13 @@
<template #successSync="scope">
<a
@click="handleSuccessSync(scope.row)"
:class="scope.row.successSync == '失败' && scope.row.type == '采购入库' ? 'break-word to-detail1' : ''"
:class="
scope.row.successSync == '失败' && (scope.row.type == '采购入库' || scope.row.type == '生产入库')
? 'break-word to-detail1'
: ''
"
>
{{ scope.row.type == "采购入库" ? scope.row.successSync : "--" }}
{{ scope.row.type == "采购入库" || scope.row.type == "生产入库" ? scope.row.successSync : "--" }}
</a>
</template>
</ProTable>