瀏覽代碼

修改bug

chenrui 2 年之前
父節點
當前提交
457a233c3d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/purchasingManagement/bulkWarehousingOrder/detailModal.vue

+ 1 - 1
src/views/purchasingManagement/bulkWarehousingOrder/detailModal.vue

@@ -110,7 +110,7 @@ export default {
       ]
       if (this.$hasPermissions('B_sparePartsDetail_costPrice')) { //  成本价权限
         arr.splice(5, 0, { title: '入库单价', dataIndex: 'productCost', width: '10%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
-        arr.splice(6, 0, { title: '小计', dataIndex: 'subtotal', width: '12%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
+        arr.splice(6, 0, { title: '小计', dataIndex: 'subtotal', width: '12%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') })
       }
       return arr
     }