Browse Source

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

hella_online_20240924
yufei_wang 2 months ago
parent
commit
69904addfc
  1. 3
      src/components/Detail/src/Detail.vue
  2. 10
      src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue

3
src/components/Detail/src/Detail.vue

@ -78,6 +78,9 @@
v-model:currentPage="tableObjectRef.currentPage"
v-model:sort="tableObjectRef.sort"
>
<template v-for="name in Object.keys($slots)" :key="name" #[name.replace('table-','')]="{ row }">
<slot :name="name" :row="row"></slot>
</template>
<template #photos="{ row }">
<div v-for="(item,index) in row.photos.split(',')" :key="index" style="color:#409eff ; cursor: pointer;" @click="openImage(item)">{{ item }}</div>
</template>

10
src/views/wms/issueManage/productionscrap/productionscrapRequestMain/index.vue

@ -28,6 +28,9 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
<template #qty="{row}">
<span>{{ Number(row.qty).toFixed(2) }}</span>
</template>
<template #number="{row}">
<el-button type="primary" link @click="openDetail(row, '单据号', row.number)">
<span>{{ row.number }}</span>
@ -79,7 +82,12 @@
:detailValidate="detailValidate"
@detailBasicFormOnChange="qtyOnChange"
/>
>
<template #table-qty="{row}">
<span>{{ Number(row.qty).toFixed(2) }}</span>
</template>
</Detail>
<!-- 创建标签 -->
<BasicForm

Loading…
Cancel
Save