Browse Source

HL-6114线边报废申请、记录,新增数量整数时,主页面数量应也保留2位小数,现没保留2位小数

hella_online_20240924
yufei_wang 2 months ago
parent
commit
a3b15822bd
  1. 9
      src/views/wms/issueManage/productionscrap/productionscrapRecordMain/index.vue

9
src/views/wms/issueManage/productionscrap/productionscrapRecordMain/index.vue

@ -28,6 +28,9 @@
v-model:currentPage="tableObject.currentPage" v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort" v-model:sort="tableObject.sort"
> >
<template #qty="{row}">
<span>{{ Number(row.qty).toFixed(2) }}</span>
</template>
<template #number="{row}"> <template #number="{row}">
<el-button type="primary" link @click="openDetail(row, '单据号', row.number)"> <el-button type="primary" link @click="openDetail(row, '单据号', row.number)">
<span>{{ row.number }}</span> <span>{{ row.number }}</span>
@ -58,7 +61,11 @@
:detailAllSchemas="ProductionscrapRecordDetail.allSchemas" :detailAllSchemas="ProductionscrapRecordDetail.allSchemas"
:detailAllSchemasRules="ProductionscrapRecordDetailRules" :detailAllSchemasRules="ProductionscrapRecordDetailRules"
:apiPage="ProductionscrapRecordDetailApi.getProductionscrapRecordDetailPage" :apiPage="ProductionscrapRecordDetailApi.getProductionscrapRecordDetailPage"
/> >
<template #table-qty="{row}">
<span>{{ Number(row.qty).toFixed(2) }}</span>
</template>
</Detail>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">

Loading…
Cancel
Save