Przeglądaj źródła

修改达沃特销售单体积保留小数问题

bug 2 lat temu
rodzic
commit
a387a392db

+ 3 - 0
src/views/businessManagement/salesOrder/detailsPageEdit.vue

@@ -267,6 +267,9 @@
               <span class="order_number">序号</span>
               <el-button class="number_button" type="primary" icon="el-icon-circle-plus-outline" circle size="mini" @click="$refs.crudContact.rowCellAdd()"></el-button>
             </template>
+            <template slot="cntrVolumn" slot-scope="{row}">
+              <span>{{row.cntrVolumn?parseFloat(row.cntrVolumn):row.cntrVolumn }}</span>
+            </template>
 <!--            <template slot="corpId" slot-scope="{ row, index }">-->
 <!--              <crop-select-->
 <!--                v-if="row.$cellEdit"-->