浏览代码

Merge branch 'develop_yh12' of http://git.chelingzhu.com/jianguan-web/jg-ocs-html into develop_yh12

lilei 2 年之前
父节点
当前提交
5a3aed8504
共有 2 个文件被更改,包括 6 次插入3 次删除
  1. 3 1
      src/api/sparePartsReturn.js
  2. 3 2
      src/views/reportData/urchaseDetailReturn/detailList.vue

+ 3 - 1
src/api/sparePartsReturn.js

@@ -123,4 +123,6 @@ export const sparePartsReturnDetailSaveBatch = (params) => {
     data: params,
     method: 'post'
   })
-}
+}
+
+//批量选择列表

+ 3 - 2
src/views/reportData/urchaseDetailReturn/detailList.vue

@@ -281,6 +281,7 @@ export default {
         { title: '入库单号', dataIndex: 'sparePartsNo', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '品牌', dataIndex: 'product.productBrandName', width: 130, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '二级分类', dataIndex: 'product.productTypeName2', width: 130, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '三级分类', dataIndex: 'product.productTypeName3', width: 130, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品编码', dataIndex: 'productCode', width: 150, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品名称', dataIndex: 'product.name', width: 150, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '单位', dataIndex: 'product.unit', width: 50, align: 'center', customRender: function (text) { return text || '--' } },
@@ -292,8 +293,8 @@ export default {
       ]
 
       if (this.$hasPermissions('B_isShowCost')) {
-        arr.splice(14, 0, { title: '入库单价', dataIndex: 'cost', width: 80, align: 'center', customRender: function (text) { return ((text || text == 0) ? toFixedDecimal(text, 2) : '--') } })
-        arr.splice(18, 0, { title: '退货金额', dataIndex: 'totalCost', width: 90, align: 'center', customRender: function (text) { return ((text || text == 0) ? toFixedDecimal(text, 2) : '--') } })
+        arr.splice(15, 0, { title: '入库单价', dataIndex: 'cost', width: 80, align: 'center', customRender: function (text) { return ((text || text == 0) ? toFixedDecimal(text, 2) : '--') } })
+        arr.splice(19, 0, { title: '退货金额', dataIndex: 'totalCost', width: 90, align: 'center', customRender: function (text) { return ((text || text == 0) ? toFixedDecimal(text, 2) : '--') } })
       }
       return arr
     }