lilei před 2 roky
rodič
revize
89ecfea632

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1675412651208
+  "version": 1675413101480
 }

+ 2 - 2
src/views/numsGoodsShelves/recallStockManagement/editStock.vue

@@ -12,7 +12,7 @@
         <a-alert type="info" style="margin:10px 0">
           <div slot="message" >
             入库总数量<strong>{{ pageInfo &&pageInfo.productTotalQty?pageInfo.productTotalQty:'--' }}</strong>,
-            入库总成本<strong>{{ pageInfo &&pageInfo.productTotalCost? toThousands(pageInfo.productTotalCost):'--' }}</strong>
+            入库总成本<strong>{{ pageInfo &&pageInfo.productTotalCost ? toThousands(pageInfo.productTotalCost):'0' }}</strong>
           </div>
         </a-alert>
         <s-table
@@ -92,7 +92,7 @@ export default {
         { title: '入库数量', dataIndex: 'putQty', width: '7.5%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '单位', dataIndex: 'productUnit', width: '5%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '入库单价', scopedSlots: { customRender: 'putCost' }, width: '7.5%', align: 'center' },
-        { title: '入库成本', dataIndex: 'putTotalCost', width: '12%', align: 'center', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
+        { title: '入库成本', dataIndex: 'putTotalCost', width: '12%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
         { title: '操作', width: '15%', align: 'left', scopedSlots: { customRender: 'action' } }
       ],
       warehouseCascadeData: [], //  仓库仓位

+ 1 - 1
src/views/numsGoodsShelves/recallStockManagement/list.vue

@@ -103,7 +103,7 @@ export default {
         { title: '调回单号', dataIndex: 'putBizNo', width: '15%', align: 'left', customRender: function (text) { return text || '--' } },
         { title: '货架名称', dataIndex: 'providerName', width: '25%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '入库总数量', dataIndex: 'productTotalQty', width: '10%', align: 'center', customRender: function (text) { return (text || text == 0) ? text : '--' } },
-        { title: '入库总成本', dataIndex: 'productTotalCost', width: '10%', align: 'center', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
+        { title: '入库总成本', dataIndex: 'productTotalCost', width: '10%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
         { title: '状态', dataIndex: 'stateDictValue', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '入库时间', dataIndex: 'auditTime', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '10%', align: 'left' }

+ 1 - 1
src/views/purchasingManagement/purchaseReturnOutSync/detail.vue

@@ -52,7 +52,7 @@
               bordered>
               <!-- 退货金额合计 amount-->
               <template slot="amount" slot-scope="text, record">
-                {{ (record.cost * record.qty).toFixed(2) }}
+                {{ toThousands(record.cost * record.qty) }}
               </template>
             </s-table>
           </a-collapse-panel>