snow 3 months ago
parent
commit
d56711e18d
1 changed files with 9 additions and 2 deletions
  1. 9 2
      src/utils/details/sale.ts

+ 9 - 2
src/utils/details/sale.ts

@@ -222,12 +222,19 @@ export const ORDER_COLUMNS: DescriptionColumns = [
         if(!context || !context.orderTax) return ''
         if(context.orderTax.length === 0) return ''
         const {cat_code, cat_name, tax, short_name } = context.orderTax || {}
-        return cat_code + '-' + cat_name + '-' +short_name  + '-' + tax + '%'
+        return cat_code + '-' + cat_name + '-' + short_name  + '-' + tax + '%'
       }
     },
+  {
+    label: '订单商品名称',
+    span: 9,
+    render(_, context) {
+      return context.goodName
+    }
+  },
     {
       label: '开票商品名称',
-      span: 18,
+      span: 9,
       render(_, context){
         if(!context || !context.orderTax) return ''
         const { inv_good_name } = context.orderTax || {}