Browse Source

供应商发票,小数点问题

master_hella_20240701
yufei0306 7 months ago
parent
commit
c133368a87
  1. 2
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

2
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -68,7 +68,7 @@
@submitForm="submitForm" @submitForm="submitForm"
> >
<template v-slot="{row}"> <template v-slot="{row}">
<el-input :disabled="true" :class="{'is-red': row['singlePrice'] - row['purchasePrice'] > 0}" :modelValue="row['singlePrice'] - row['purchasePrice']"/> <el-input :disabled="true" :class="{'is-red': row['singlePrice'] - row['purchasePrice'] > 0}" :modelValue="((row['singlePrice']) - (row['purchasePrice'])).toFixed(6)"/>
</template> </template>
</BasicForm> </BasicForm>

Loading…
Cancel
Save