新增标签打印

This commit is contained in:
gyq
2024-06-18 18:36:53 +08:00
parent 1439f12ee5
commit c86fff9691
14 changed files with 690 additions and 110 deletions

View File

@@ -6,8 +6,8 @@
<span>{{ dayjs(item.create_time).format("YYYY-MM-DD HH:mm:ss") }}</span>
</div>
<div class="dialog_footer_right">
<span :class="{ active: checkIn(item.biz_code) }">
<template v-if="checkIn(item.biz_code)">+</template>
<span :class="{ active: item.type == '+' }">
<template v-if="item.type == '+'">+</template>
<template v-else>-</template>
{{ formatDecimal(item.amount) }}
</span>
@@ -29,13 +29,6 @@ const props = defineProps({
default: {}
}
})
// 检测是否包含In
function checkIn(str) {
let reg = RegExp(/In/)
return str.match(reg)
}
</script>
<style scoped lang="scss">