Browse Source

修改bug

chenrui 1 year ago
parent
commit
f156d0ed58

+ 4 - 4
src/config/router.config.js

@@ -2221,8 +2221,8 @@ export const asyncRouterMap = [
             component: BlankLayout,
             meta: {
               title: '销售缺货报表',
-              icon: 'profile',
-              permission: 'M_salesOutofStockReportList'
+              icon: 'profile'
+              // permission: 'M_salesOutofStockReportList'
             },
             hideChildrenInMenu: true,
             children: [
@@ -2233,8 +2233,8 @@ export const asyncRouterMap = [
                 meta: {
                   title: '销售缺货报表',
                   icon: 'profile',
-                  hidden: true,
-                  permission: 'M_salesOutofStockReportList'
+                  hidden: true
+                  // permission: 'M_salesOutofStockReportList'
                 }
               }
             ]

+ 1 - 1
src/views/reportData/salesOutofStockReport/detailModal.vue

@@ -14,7 +14,7 @@
         <a-collapse :activeKey="['1']">
           <a-collapse-panel key="1" header="基础信息">
             <a-descriptions :column="3">
-              <a-descriptions-item label="销售单号">{{ (detailsData&&detailsData.salesOosBillNo) || '--' }}</a-descriptions-item>
+              <a-descriptions-item label="销售单号">{{ (detailsData&&detailsData.salesBillNo) || '--' }}</a-descriptions-item>
             </a-descriptions>
           </a-collapse-panel>
         </a-collapse>

+ 1 - 1
src/views/reportData/salesOutofStockReport/list.vue

@@ -125,7 +125,7 @@ export default {
       const arr = [
         { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
         { title: '创建时间', dataIndex: 'createDate', width: '13%', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '销售单号', dataIndex: 'salesOosBillNo', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '销售单号', dataIndex: 'salesBillNo', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '客户名称', dataIndex: 'targetName', width: '15%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '缺货款数', dataIndex: 'totalCategory', width: '7%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '缺货数量', dataIndex: 'totalQty', width: '7%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },