chenrui 3 lat temu
rodzic
commit
92159e9099

+ 1 - 1
src/views/inventoryManagement/inventoryQuery/detailModal.vue

@@ -97,7 +97,7 @@ export default {
     stockCost () { //  库存总成本 合计
       const currentStockCost = Number(this.currentStock.currentStockCost) || 0
       const freezeStockCost = Number(this.currentStock.freezeStockCost) || 0
-      return (currentStockCost * 100 + freezeStockCost * 100) / 100
+      return (currentStockCost * 1000 + freezeStockCost * 1000) / 1000
     }
   },
   methods: {

+ 1 - 1
src/views/inventoryManagement/inventoryQuery/list.vue

@@ -95,7 +95,7 @@
         <span v-if="record.freezeQty">(冻结{{ record.freezeQty }})</span>
       </template>
       <template slot="currentStockCost" slot-scope="text, record">
-        {{ (Number(record.currentStockCost)*100 + Number(record.freezeCost)*100)/100 || 0 }}
+        {{ (Number(record.currentStockCost)*1000 + Number(record.freezeCost)*1000)/1000 || 0 }}
       </template>
       <!-- 操作 -->
       <template slot="action" slot-scope="text, record">

+ 2 - 1
src/views/salesManagement/waitDispatch/edit.vue

@@ -99,6 +99,7 @@
             style="width: 150px;"
             type="primary"
             class="button-primary"
+            v-if="dataSource.length>0"
             @click="handleSubmit()"
             :loading="loading"
             id="productInfoList-handleSubmit">下推</a-button>
@@ -137,7 +138,7 @@ export default {
       columns: [
         { title: '序号', dataIndex: 'no', width: 80, align: 'center' },
         { title: '产品编码', dataIndex: 'productEntity.code', scopedSlots: { customRender: 'productCode' }, width: 220, align: 'center' },
-        { title: '产品名称', dataIndex: 'productEntity.name', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品名称', dataIndex: 'productEntity.name', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '剩余待下推', dataIndex: 'surplusQty', width: 150, align: 'center' },
         { title: '本次下推数', scopedSlots: { customRender: 'salesNums' }, width: 150, align: 'center' },
         { title: '单位', dataIndex: 'productEntity.unit', width: 100, align: 'center', customRender: function (text) { return text || '--' } },

+ 1 - 1
src/views/salesManagement/waitDispatch/queryPart.vue

@@ -155,7 +155,7 @@ export default {
       columns: [
         { title: '序号', dataIndex: 'no', width: 80, align: 'center' },
         { title: '产品编码', dataIndex: 'productEntity.code', scopedSlots: { customRender: 'productCode' }, width: 220, align: 'center' },
-        { title: '产品名称', dataIndex: 'productEntity.name', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品名称', dataIndex: 'productEntity.name', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '原厂编码', dataIndex: 'productEntity.origCode', width: 220, align: 'center', customRender: function (text) { return text == '' ? text : '--' } },
         { title: '成本价', dataIndex: 'showCost', width: 120, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
         { title: '销售价', dataIndex: 'price', width: 120, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },