Explorar o código

风险管理路由 其他填充数据

wangyingjie hai 10 meses
pai
achega
f79940761d

+ 3 - 3
src/router/routers.js

@@ -734,8 +734,8 @@ let menu = [
             },
             },
           },
           },
           {
           {
-            path: '/mst/sales-management/sales-accounting-books/sales-accounting-books/index',
-            name: 'sales-accounting-books',
+            path: '/mst/sales-management/interest-management/overdue-interest-management/index',
+            name: 'overdue-interest-management',
             component: () => import('@/view/mst/sales-management/interest-management/overdue-interest-management/index.vue'),
             component: () => import('@/view/mst/sales-management/interest-management/overdue-interest-management/index.vue'),
             menuType:1,
             menuType:1,
             meta: {
             meta: {
@@ -959,7 +959,7 @@ let menu = [
           },
           },
           {
           {
             path: '/mst/risk-management/risk-warning/outbound-warning/index',
             path: '/mst/risk-management/risk-warning/outbound-warning/index',
-            name: 'inventory-alerts',
+            name: 'outbound-warning',
             menuType:1,
             menuType:1,
             component: () => import('@/view/mst/risk-management/risk-warning/outbound-warning/index.vue'),
             component: () => import('@/view/mst/risk-management/risk-warning/outbound-warning/index.vue'),
             meta: {
             meta: {

+ 381 - 14
src/view/mst/risk-management/risk-warning/early-warning-payables/index.vue

@@ -1,23 +1,390 @@
  <!-- @desc:风险预警-应付款预警  @auth:???  @time:----- -->
  <!-- @desc:风险预警-应付款预警  @auth:???  @time:----- -->
-<template>
-  <div class="main-div" ref="mainDiv">
+ <template>
+   <div class="main-div" ref="mainDiv">
+     <loading :loading="loading" v-if="!modalVisible"></loading>
+     <!--按钮区-->
+     <BaseIndexButtonGroup id="BaseIndexButtonGroup">
+       <template #left>
+         <!--    查询    -->
+         <BaseIndexButton  ref="search" name="search"></BaseIndexButton>
+         <!--    清空条件    -->
+         <BaseIndexButton ref="clear" name="clear"></BaseIndexButton>
+         <!--    编辑    -->
+         <BaseIndexButton right-button="warehouse-management-edit" ref="edit" name="edit"></BaseIndexButton>
+         <!--    启用    -->
+         <BaseIndexButton right-button="warehouse-management-enable" ref="enable" name="enable"></BaseIndexButton>
+         <!--    停用    -->
+         <BaseIndexButton right-button="warehouse-management-disable" ref="disable" name="disable"></BaseIndexButton>
+         <!--    导入    -->
+         <BaseIndexButton right-button="warehouse-management-import" ref="import" name="import"></BaseIndexButton>
+         <!--    导出    -->
+         <BaseIndexButton right-button="warehouse-management-export" ref="export" name="export"></BaseIndexButton>
+       </template>
+       <template #right>
+         <!--   新建     -->
+         <BaseIndexButton right-button="warehouse-management-add" ref="add" name="add"></BaseIndexButton>
+       </template>
+     </BaseIndexButtonGroup>
 
 
-  </div>
-</template>
 
 
-<script>
+     <!--  表格部分  -->
+     <div :style="'height: ' + tableHeight + 'px'" class="split-div-class">
+       <!--  卡片区  -->
+       <div class="index-card">
+         <!--  查询条件区域  -->
+         <div id="search-cond-div" ref="search-cond-div" class="search-cond-class">
+           <SearchCond ref="searchCond" v-model="searchCond"
+                       @collapse-change="collapseChange" :setFlag="false"
+                       :searchContent="searchContent"  ></SearchCond>
+         </div>
 
 
-import {indexMixin} from '@/mixins'
+         <!--  表格部分  -->
+         <DkTable
+           :id="'table-' + $options.name"
+           ref="table-select"
+           :data="tableData"
+           :height="tableHeight - 60"
+           primaryKey="paymentWarningId"
+           :multiple="false"
+           :choose-flag="false"
+           @current-change="currentChangeTable"
+           :page-flag="true"
+           :page-total="pageInfo.total"
+           @pageChange="pageSizeChange"
+           :pageSizeOpts="pageSizeOpts"
+           :current-page="pageInfo.currentPage"
+           :pageSize="pageInfo.pageSize"
+         >
+           <DkTableColumn field="paymentOrderNo" title="应付单号"></DkTableColumn>
+           <DkTableColumn field="supplierName" title="供应商名称"></DkTableColumn>
+           <DkTableColumn field="supplierCode" title="供应商编号"></DkTableColumn>
+           <DkTableColumn field="purchaseOrderNo" title="采购订单号"></DkTableColumn>
+           <DkTableColumn field="totalAmount" title="应付金额"></DkTableColumn>
+           <DkTableColumn field="paidAmount" title="已付金额"></DkTableColumn>
+           <DkTableColumn field="unpaidAmount" title="未付金额"></DkTableColumn>
+           <DkTableColumn field="paymentDeadline" title="付款期限"></DkTableColumn>
+           <DkTableColumn field="overdueDays" title="逾期天数"></DkTableColumn>
+           <DkTableColumn field="overdueStartDate" title="逾期开始日期"></DkTableColumn>
+           <DkTableColumn field="warningLevel" title="预警等级"></DkTableColumn>
+           <DkTableColumn field="supplierCreditRating" title="供应商信用评级"></DkTableColumn>
+           <DkTableColumn field="penaltyAmount" title="违约金计算"></DkTableColumn>
+           <DkTableColumn field="contractClause" title="关联合同条款"></DkTableColumn>
+           <DkTableColumn field="responsibleDepartment" title="责任部门"></DkTableColumn>
+           <DkTableColumn field="suggestedAction" title="建议操作"></DkTableColumn>
+           <DkTableColumn field="processingStatus" title="处理状态"></DkTableColumn>
+           <DkTableColumn field="latestCommunication" title="最近沟通记录"></DkTableColumn>
+           <DkTableColumn field="warningTriggerTime" title="预警触发时间"></DkTableColumn>
+           <DkTableColumn field="dataUpdateTime" title="数据更新时间"></DkTableColumn>
+           <DkTableColumn field="approvalStatus" title="审批流程状态"></DkTableColumn>
+         </DkTable>
+       </div>
 
 
-export default {
-  name: 'futures-warrant-batch-management',
-  data() {
-    return  {}
-  },
-  methods: {},
+     </div>
 
 
 
 
 
 
-}
 
 
-</script>
+   </div>
+ </template>
+
+ <script>
+
+ import {indexMixin} from '@/mixins'
+
+ export default {
+   name: 'early-warning-payables',
+   mixins: [indexMixin],
+   data() {
+     return  {
+       buyerList:[],
+       //查询条件
+       searchContent: [
+         {
+           //公司名称
+           itemCode: 'cpIds',
+           title: '编码',
+
+           required: true
+         },
+         {
+           //员工工号
+           itemCode: 'staffCode',
+           title: '名称',
+         },
+         {
+           //员工名称
+           itemCode: 'staffName',
+           title: '预警等级',
+         },
+
+
+       ],
+       formData: {
+         staffCode: null,//员工工号
+         staffName: null,//员工编码
+       },
+       tableData: [
+         {
+           paymentWarningId: 1,
+           paymentOrderNo: 'AP-2025-001',
+           supplierName: '新疆XX棉业有限公司',
+           supplierCode: 'SUPP-2023-005',
+           purchaseOrderNo: 'PO-2025-088',
+           totalAmount: '500,000.00元',
+           paidAmount: '300,000.00元',
+           unpaidAmount: '200,000.00元',
+           paymentDeadline: '2025-06-05',
+           overdueDays: '+1天',
+           overdueStartDate: '2025-06-06',
+           warningLevel: '黄色预警',
+           supplierCreditRating: 'AA',
+           penaltyAmount: '200,000×0.1%×1=200.00元',
+           contractClause: '逾期利率0.1%/日',
+           responsibleDepartment: '采购部',
+           suggestedAction: '尽快安排付款',
+           processingStatus: '未处理',
+           latestCommunication: '2025-06-06 14:30 电话沟通,供应商同意宽限3天',
+           warningTriggerTime: '2025-06-06 09:00:00',
+           dataUpdateTime: '2025-06-06 11:00:00',
+           approvalStatus: '财务主管审批中'
+         },
+         {
+           paymentWarningId: 2,
+           paymentOrderNo: 'AP-2025-002',
+           supplierName: '美国XX棉商',
+           supplierCode: 'SUPP-2023-012',
+           purchaseOrderNo: 'PO-2025-092',
+           totalAmount: '800,000.00元',
+           paidAmount: '0.00元',
+           unpaidAmount: '800,000.00元',
+           paymentDeadline: '2025-05-25',
+           overdueDays: '+12天',
+           overdueStartDate: '2025-05-26',
+           warningLevel: '红色预警',
+           supplierCreditRating: 'B',
+           penaltyAmount: '800,000×0.15%×12=14,400.00元',
+           contractClause: '逾期利率0.15%/日',
+           responsibleDepartment: '财务部',
+           suggestedAction: '联系供应商协商展期,启动风险预案',
+           processingStatus: '处理中',
+           latestCommunication: '2025-06-05 10:00 邮件申请延期至6月15日',
+           warningTriggerTime: '2025-05-26 09:00:00',
+           dataUpdateTime: '2025-06-06 11:00:00',
+           approvalStatus: '总经理已批准'
+         },
+         {
+           paymentWarningId: 3,
+           paymentOrderNo: 'AP-2025-003',
+           supplierName: '山东XX棉业',
+           supplierCode: 'SUPP-2023-020',
+           purchaseOrderNo: 'PO-2025-076',
+           totalAmount: '350,000.00元',
+           paidAmount: '350,000.00元',
+           unpaidAmount: '0.00元',
+           paymentDeadline: '2025-06-01',
+           overdueDays: '0天',
+           overdueStartDate: '-',
+           warningLevel: '无预警',
+           supplierCreditRating: 'AAA',
+           penaltyAmount: '0.00元',
+           contractClause: '逾期利率0.1%/日',
+           responsibleDepartment: '采购部',
+           suggestedAction: '-',
+           processingStatus: '已结案',
+           latestCommunication: '2025-05-31 16:00 全额付款,供应商确认',
+           warningTriggerTime: '-',
+           dataUpdateTime: '2025-06-06 11:00:00',
+           approvalStatus: '已完成'
+         },
+         {
+           paymentWarningId: 4,
+           paymentOrderNo: 'AP-2025-004',
+           supplierName: '江苏XX有机农业',
+           supplierCode: 'SUPP-2023-035',
+           purchaseOrderNo: 'PO-2025-101',
+           totalAmount: '220,000.00元',
+           paidAmount: '100,000.00元',
+           unpaidAmount: '120,000.00元',
+           paymentDeadline: '2025-06-03',
+           overdueDays: '+3天',
+           overdueStartDate: '2025-06-04',
+           warningLevel: '黄色预警',
+           supplierCreditRating: 'AA',
+           penaltyAmount: '120,000×0.1%×3=360.00元',
+           contractClause: '逾期利率0.1%/日',
+           responsibleDepartment: '财务部',
+           suggestedAction: '尽快安排付款',
+           processingStatus: '未处理',
+           latestCommunication: '2025-06-04 15:00 供应商邮件催款',
+           warningTriggerTime: '2025-06-04 09:00:00',
+           dataUpdateTime: '2025-06-06 11:00:00',
+           approvalStatus: '财务经理审批中'
+         },
+         {
+           paymentWarningId: 5,
+           paymentOrderNo: 'AP-2025-005',
+           supplierName: '澳大利亚XX棉商',
+           supplierCode: 'SUPP-2023-040',
+           purchaseOrderNo: 'PO-2025-112',
+           totalAmount: '650,000.00元',
+           paidAmount: '0.00元',
+           unpaidAmount: '650,000.00元',
+           paymentDeadline: '2025-05-20',
+           overdueDays: '+17天',
+           overdueStartDate: '2025-05-21',
+           warningLevel: '红色预警',
+           supplierCreditRating: 'BB',
+           penaltyAmount: '650,000×0.2%×17=22,100.00元',
+           contractClause: '逾期利率0.2%/日',
+           responsibleDepartment: '采购部',
+           suggestedAction: '联系供应商协商展期,启动风险预案',
+           processingStatus: '处理中',
+           latestCommunication: '2025-06-03 14:00 电话协商,供应商要求6月10日前付款',
+           warningTriggerTime: '2025-05-21 09:00:00',
+           dataUpdateTime: '2025-06-06 11:00:00',
+           approvalStatus: '总经理审批中'
+         },
+         {
+           paymentWarningId: 6,
+           paymentOrderNo: 'AP-2025-006',
+           supplierName: '哈萨克斯坦XX公司',
+           supplierCode: 'SUPP-2023-050',
+           purchaseOrderNo: 'PO-2025-107',
+           totalAmount: '480,000.00元',
+           paidAmount: '200,000.00元',
+           unpaidAmount: '280,000.00元',
+           paymentDeadline: '2025-05-30',
+           overdueDays: '+7天',
+           overdueStartDate: '2025-05-31',
+           warningLevel: '红色预警',
+           supplierCreditRating: 'BBB',
+           penaltyAmount: '280,000×0.12%×7=2,352.00元',
+           contractClause: '逾期利率0.12%/日',
+           responsibleDepartment: '财务部',
+           suggestedAction: '联系供应商协商展期,启动风险预案',
+           processingStatus: '未处理',
+           latestCommunication: '2025-05-31 16:30 邮件提醒逾期风险',
+           warningTriggerTime: '2025-05-31 09:00:00',
+           dataUpdateTime: '2025-06-06 11:00:00',
+           approvalStatus: '财务总监审批中'
+         },
+         {
+           paymentWarningId: 7,
+           paymentOrderNo: 'AP-2025-007',
+           supplierName: '河北XX棉业',
+           supplierCode: 'SUPP-2023-060',
+           purchaseOrderNo: 'PO-2025-083',
+           totalAmount: '320,000.00元',
+           paidAmount: '320,000.00元',
+           unpaidAmount: '0.00元',
+           paymentDeadline: '2025-06-02',
+           overdueDays: '0天',
+           overdueStartDate: '-',
+           warningLevel: '无预警',
+           supplierCreditRating: 'AAA',
+           penaltyAmount: '0.00元',
+           contractClause: '逾期利率0.1%/日',
+           responsibleDepartment: '采购部',
+           suggestedAction: '-',
+           processingStatus: '已结案',
+           latestCommunication: '2025-06-01 15:00 全额付款,供应商确认',
+           warningTriggerTime: '-',
+           dataUpdateTime: '2025-06-06 11:00:00',
+           approvalStatus: '已完成'
+         },
+         {
+           paymentWarningId: 8,
+           paymentOrderNo: 'AP-2025-008',
+           supplierName: '非洲XX农业',
+           supplierCode: 'SUPP-2023-070',
+           purchaseOrderNo: 'PO-2025-123',
+           totalAmount: '180,000.00元',
+           paidAmount: '50,000.00元',
+           unpaidAmount: '130,000.00元',
+           paymentDeadline: '2025-06-04',
+           overdueDays: '+2天',
+           overdueStartDate: '2025-06-05',
+           warningLevel: '黄色预警',
+           supplierCreditRating: 'BB',
+           penaltyAmount: '130,000×0.15%×2=390.00元',
+           contractClause: '逾期利率0.15%/日',
+           responsibleDepartment: '财务部',
+           suggestedAction: '尽快安排付款',
+           processingStatus: '处理中',
+           latestCommunication: '2025-06-05 11:00 电话协商,供应商要求本周内付款',
+           warningTriggerTime: '2025-06-05 09:00:00',
+           dataUpdateTime: '2025-06-06 11:00:00',
+           approvalStatus: '财务主管审批中'
+         },
+         {
+           paymentWarningId: 9,
+           paymentOrderNo: 'AP-2025-009',
+           supplierName: '河南XX纺织',
+           supplierCode: 'SUPP-2023-080',
+           purchaseOrderNo: 'PO-2025-098',
+           totalAmount: '450,000.00元',
+           paidAmount: '200,000.00元',
+           unpaidAmount: '250,000.00元',
+           paymentDeadline: '2025-05-28',
+           overdueDays: '+9天',
+           overdueStartDate: '2025-05-29',
+           warningLevel: '红色预警',
+           supplierCreditRating: 'A',
+           penaltyAmount: '250,000×0.12%×9=2,700.00元',
+           contractClause: '逾期利率0.12%/日',
+           responsibleDepartment: '采购部',
+           suggestedAction: '联系供应商协商展期,启动风险预案',
+           processingStatus: '未处理',
+           latestCommunication: '2025-06-02 14:30 邮件告知资金紧张,争取宽限5天',
+           warningTriggerTime: '2025-05-29 09:00:00',
+           dataUpdateTime: '2025-06-06 11:00:00',
+           approvalStatus: '财务总监审批中'
+         },
+         {
+           paymentWarningId: 10,
+           paymentOrderNo: 'AP-2025-010',
+           supplierName: '陕西XX棉业',
+           supplierCode: 'SUPP-2023-090',
+           purchaseOrderNo: 'PO-2025-104',
+           totalAmount: '380,000.00元',
+           paidAmount: '380,000.00元',
+           unpaidAmount: '0.00元',
+           paymentDeadline: '2025-06-07',
+           overdueDays: '0天',
+           overdueStartDate: '-',
+           warningLevel: '无预警',
+           supplierCreditRating: 'AAA',
+           penaltyAmount: '0.00元',
+           contractClause: '逾期利率0.1%/日',
+           responsibleDepartment: '财务部',
+           suggestedAction: '-',
+           processingStatus: '已结案',
+           latestCommunication: '2025-06-06 10:00 全额付款,供应商确认',
+           warningTriggerTime: '-',
+           dataUpdateTime: '2025-06-06 11:00:00',
+           approvalStatus: '已完成'
+         }
+       ],
+     }
+   },
+   methods: {
+     /**
+      * @desc   : 点击预览页当前行
+      * @author : 王英杰
+      * @date   : 2025/5/28 14:41
+      */
+     currentChangeTable(e) {
+       if (e && e.row) {
+         this.row = e
+       }
+     },
+   },
+   created() {
+     this.primaryKey = 'staffId'  // 设置主键Id
+     this.routeObjName = 'warehouseManagement'  // 设置路由名称
+   },
+
+
+ }
+
+ </script>

+ 392 - 14
src/view/mst/risk-management/risk-warning/inventory-alerts/index.vue

@@ -1,23 +1,401 @@
  <!-- @desc:风险预警-库存预警  @auth:???  @time:----- -->
  <!-- @desc:风险预警-库存预警  @auth:???  @time:----- -->
-<template>
-  <div class="main-div" ref="mainDiv">
+ <template>
+   <div class="main-div" ref="mainDiv">
+     <loading :loading="loading" v-if="!modalVisible"></loading>
+     <!--按钮区-->
+     <BaseIndexButtonGroup id="BaseIndexButtonGroup">
+       <template #left>
+         <!--    查询    -->
+         <BaseIndexButton  ref="search" name="search"></BaseIndexButton>
+         <!--    清空条件    -->
+         <BaseIndexButton ref="clear" name="clear"></BaseIndexButton>
+         <!--    编辑    -->
+         <BaseIndexButton right-button="warehouse-management-edit" ref="edit" name="edit"></BaseIndexButton>
+         <!--    启用    -->
+         <BaseIndexButton right-button="warehouse-management-enable" ref="enable" name="enable"></BaseIndexButton>
+         <!--    停用    -->
+         <BaseIndexButton right-button="warehouse-management-disable" ref="disable" name="disable"></BaseIndexButton>
+         <!--    导入    -->
+         <BaseIndexButton right-button="warehouse-management-import" ref="import" name="import"></BaseIndexButton>
+         <!--    导出    -->
+         <BaseIndexButton right-button="warehouse-management-export" ref="export" name="export"></BaseIndexButton>
+       </template>
+       <template #right>
+         <!--   新建     -->
+         <BaseIndexButton right-button="warehouse-management-add" ref="add" name="add"></BaseIndexButton>
+       </template>
+     </BaseIndexButtonGroup>
 
 
-  </div>
-</template>
 
 
-<script>
+     <!--  表格部分  -->
+     <div :style="'height: ' + tableHeight + 'px'" class="split-div-class">
+       <!--  卡片区  -->
+       <div class="index-card">
+         <!--  查询条件区域  -->
+         <div id="search-cond-div" ref="search-cond-div" class="search-cond-class">
+           <SearchCond ref="searchCond" v-model="searchCond"
+                       @collapse-change="collapseChange" :setFlag="false"
+                       :searchContent="searchContent"  ></SearchCond>
+         </div>
 
 
-import {indexMixin} from '@/mixins'
+         <!--  表格部分  -->
+         <DkTable
+           :id="'table-' + $options.name"
+           ref="table-select"
+           :data="tableData"
+           :height="tableHeight - 60"
+           primaryKey="inventoryWarningId"
+           :multiple="false"
+           :choose-flag="false"
+           @current-change="currentChangeTable"
+           :page-flag="true"
+           :page-total="pageInfo.total"
+           @pageChange="pageSizeChange"
+           :pageSizeOpts="pageSizeOpts"
+           :current-page="pageInfo.currentPage"
+           :pageSize="pageInfo.pageSize"
+         >
+           <DkTableColumn field="inventoryCode" title="存货编码"></DkTableColumn>
+           <DkTableColumn field="inventoryName" title="存货名称"></DkTableColumn>
+           <DkTableColumn field="warehouseLocation" title="所属仓库 / 库区"></DkTableColumn>
+           <DkTableColumn field="warningType" title="预警类型"></DkTableColumn>
+           <DkTableColumn field="currentStock" title="当前库存量"></DkTableColumn>
+           <DkTableColumn field="safetyStockUpperLimit" title="安全库存上限(预警值)"></DkTableColumn>
+           <DkTableColumn field="safetyStockLowerLimit" title="安全库存下限(预警值)"></DkTableColumn>
+           <DkTableColumn field="deviationValue" title="超量 / 缺量值"></DkTableColumn>
+           <DkTableColumn field="deviationRatio" title="超量 / 缺量比例"></DkTableColumn>
+           <DkTableColumn field="warningLevel" title="预警等级"></DkTableColumn>
+           <DkTableColumn field="accumulationDuration" title="积压时长/预计断货天数"></DkTableColumn>
+           <DkTableColumn field="lastInboundTime" title="最近入库时间"></DkTableColumn>
+           <DkTableColumn field="lastOutboundTime" title="最近出库时间"></DkTableColumn>
+           <DkTableColumn field="relatedPurchaseOrders" title="关联采购订单"></DkTableColumn>
+           <DkTableColumn field="relatedSalesOrders" title="关联销售订单"></DkTableColumn>
+           <DkTableColumn field="supplierInfo" title="供应商信息"></DkTableColumn>
+           <DkTableColumn field="suggestedAction" title="建议操作"></DkTableColumn>
+           <DkTableColumn field="warningResponsiblePerson" title="预警责任人"></DkTableColumn>
+           <DkTableColumn field="processingStatus" title="处理状态"></DkTableColumn>
+           <DkTableColumn field="triggerTime" title="触发时间"></DkTableColumn>
+           <DkTableColumn field="thresholdSetter" title="预警阈值设置人"></DkTableColumn>
+           <DkTableColumn field="dataUpdateTime" title="数据更新时间"></DkTableColumn>
+         </DkTable>
+       </div>
 
 
-export default {
-  name: 'futures-warrant-batch-management',
-  data() {
-    return  {}
-  },
-  methods: {},
+     </div>
 
 
 
 
 
 
-}
 
 
-</script>
+   </div>
+ </template>
+
+ <script>
+
+ import {indexMixin} from '@/mixins'
+
+ export default {
+   name: 'early-warning-payables',
+   mixins: [indexMixin],
+   data() {
+     return  {
+       buyerList:[],
+       //查询条件
+       searchContent: [
+         {
+           //公司名称
+           itemCode: 'cpIds',
+           title: '存货编码',
+
+           required: true
+         },
+         {
+           //员工工号
+           itemCode: 'staffCode',
+           title: '存货名称',
+         },
+         {
+           //员工名称
+           itemCode: 'staffName',
+           title: '预警类型',
+         },
+
+
+       ],
+       formData: {
+         staffCode: null,//员工工号
+         staffName: null,//员工编码
+       },
+       tableData: [
+         {
+           inventoryWarningId: 1,
+           inventoryCode: 'PM-2025-001',
+           inventoryName: '新疆长绒棉',
+           warehouseLocation: '原料仓A库区',
+           warningType: '库存过高预警',
+           currentStock: '500吨',
+           safetyStockUpperLimit: '300吨',
+           safetyStockLowerLimit: '100吨',
+           deviationValue: '+200吨',
+           deviationRatio: '+66.7%',
+           warningLevel: '红色预警',
+           accumulationDuration: '52天',
+           lastInboundTime: '2025-05-20',
+           lastOutboundTime: '2025-04-15',
+           relatedPurchaseOrders: 'PO-2025-088/200吨',
+           relatedSalesOrders: '-',
+           supplierInfo: '新疆XX棉业有限公司/13899998888',
+           suggestedAction: '启动促销清仓,联系供应商退换货',
+           warningResponsiblePerson: '采购经理-张XX',
+           processingStatus: '未处理',
+           triggerTime: '2025-06-06 14:30:00',
+           thresholdSetter: '王XX',
+           dataUpdateTime: '2025-06-06 15:00:00'
+         },
+         {
+           inventoryWarningId: 2,
+           inventoryCode: 'PM-2025-002',
+           inventoryName: '进口美棉',
+           warehouseLocation: '保税仓B库区',
+           warningType: '库存过低预警',
+           currentStock: '50吨',
+           safetyStockUpperLimit: '350吨',
+           safetyStockLowerLimit: '100吨',
+           deviationValue: '-50吨',
+           deviationRatio: '-50%',
+           warningLevel: '红色预警',
+           accumulationDuration: '2天',
+           lastInboundTime: '2025-03-01',
+           lastOutboundTime: '2025-06-01',
+           relatedPurchaseOrders: '-',
+           relatedSalesOrders: 'SO-2025-123/80吨',
+           supplierInfo: '美国XX棉商/13900001111',
+           suggestedAction: '触发紧急采购,协调供应商加急供货',
+           warningResponsiblePerson: '仓库主管-李XX',
+           processingStatus: '处理中',
+           triggerTime: '2025-06-06 15:10:00',
+           thresholdSetter: '王XX',
+           dataUpdateTime: '2025-06-06 15:00:00'
+         },
+         {
+           inventoryWarningId: 3,
+           inventoryCode: 'PM-2025-003',
+           inventoryName: '细绒棉',
+           warehouseLocation: '原料仓C库区',
+           warningType: '库存过高预警',
+           currentStock: '350吨',
+           safetyStockUpperLimit: '300吨',
+           safetyStockLowerLimit: '80吨',
+           deviationValue: '+50吨',
+           deviationRatio: '+16.7%',
+           warningLevel: '黄色预警',
+           accumulationDuration: '38天',
+           lastInboundTime: '2025-05-10',
+           lastOutboundTime: '2025-04-28',
+           relatedPurchaseOrders: 'PO-2025-076/150吨',
+           relatedSalesOrders: '-',
+           supplierInfo: '山东XX棉业/13766665555',
+           suggestedAction: '优化采购计划,控制进货量',
+           warningResponsiblePerson: '采购专员-赵XX',
+           processingStatus: '已结案',
+           triggerTime: '2025-06-05 09:45:00',
+           thresholdSetter: '刘XX',
+           dataUpdateTime: '2025-06-06 15:00:00'
+         },
+         {
+           inventoryWarningId: 4,
+           inventoryCode: 'PM-2025-004',
+           inventoryName: '有机棉',
+           warehouseLocation: '保税仓D库区',
+           warningType: '库存过低预警',
+           currentStock: '80吨',
+           safetyStockUpperLimit: '200吨',
+           safetyStockLowerLimit: '120吨',
+           deviationValue: '-40吨',
+           deviationRatio: '-33.3%',
+           warningLevel: '黄色预警',
+           accumulationDuration: '5天',
+           lastInboundTime: '2025-04-18',
+           lastOutboundTime: '2025-06-02',
+           relatedPurchaseOrders: '-',
+           relatedSalesOrders: 'SO-2025-119/60吨',
+           supplierInfo: '江苏XX有机农业/13644443333',
+           suggestedAction: '启动常规采购流程',
+           warningResponsiblePerson: '计划主管-孙XX',
+           processingStatus: '未处理',
+           triggerTime: '2025-06-04 16:20:00',
+           thresholdSetter: '刘XX',
+           dataUpdateTime: '2025-06-06 15:00:00'
+         },
+         {
+           inventoryWarningId: 5,
+           inventoryCode: 'PM-2025-005',
+           inventoryName: '澳棉',
+           warehouseLocation: '临港仓E库区',
+           warningType: '库存过高预警',
+           currentStock: '420吨',
+           safetyStockUpperLimit: '350吨',
+           safetyStockLowerLimit: '100吨',
+           deviationValue: '+70吨',
+           deviationRatio: '+20%',
+           warningLevel: '红色预警',
+           accumulationDuration: '45天',
+           lastInboundTime: '2025-05-15',
+           lastOutboundTime: '2025-04-20',
+           relatedPurchaseOrders: 'PO-2025-092/220吨',
+           relatedSalesOrders: '-',
+           supplierInfo: '澳大利亚XX棉商/13522221111',
+           suggestedAction: '启动促销清仓,联系供应商退换货',
+           warningResponsiblePerson: '销售经理-周XX',
+           processingStatus: '处理中',
+           triggerTime: '2025-06-03 11:10:00',
+           thresholdSetter: '陈XX',
+           dataUpdateTime: '2025-06-06 15:00:00'
+         },
+         {
+           inventoryWarningId: 6,
+           inventoryCode: 'PM-2025-006',
+           inventoryName: '中亚棉',
+           warehouseLocation: '内陆仓F库区',
+           warningType: '库存过低预警',
+           currentStock: '65吨',
+           safetyStockUpperLimit: '250吨',
+           safetyStockLowerLimit: '100吨',
+           deviationValue: '-35吨',
+           deviationRatio: '-35%',
+           warningLevel: '红色预警',
+           accumulationDuration: '3天',
+           lastInboundTime: '2025-04-05',
+           lastOutboundTime: '2025-06-03',
+           relatedPurchaseOrders: '-',
+           relatedSalesOrders: 'SO-2025-107/50吨',
+           supplierInfo: '哈萨克斯坦XX公司/13477776666',
+           suggestedAction: '触发紧急采购,协调供应商加急供货',
+           warningResponsiblePerson: '采购经理-张XX',
+           processingStatus: '未处理',
+           triggerTime: '2025-06-02 14:55:00',
+           thresholdSetter: '陈XX',
+           dataUpdateTime: '2025-06-06 15:00:00'
+         },
+         {
+           inventoryWarningId: 7,
+           inventoryCode: 'PM-2025-007',
+           inventoryName: '地产棉',
+           warehouseLocation: '原料仓G库区',
+           warningType: '库存过高预警',
+           currentStock: '380吨',
+           safetyStockUpperLimit: '320吨',
+           safetyStockLowerLimit: '90吨',
+           deviationValue: '+60吨',
+           deviationRatio: '+18.75%',
+           warningLevel: '黄色预警',
+           accumulationDuration: '40天',
+           lastInboundTime: '2025-05-08',
+           lastOutboundTime: '2025-04-25',
+           relatedPurchaseOrders: 'PO-2025-083/180吨',
+           relatedSalesOrders: '-',
+           supplierInfo: '河北XX棉业/13388887777',
+           suggestedAction: '优化采购计划,控制进货量',
+           warningResponsiblePerson: '采购专员-赵XX',
+           processingStatus: '已结案',
+           triggerTime: '2025-06-01 10:20:00',
+           thresholdSetter: '吴XX',
+           dataUpdateTime: '2025-06-06 15:00:00'
+         },
+         {
+           inventoryWarningId: 8,
+           inventoryCode: 'PM-2025-008',
+           inventoryName: '非洲棉',
+           warehouseLocation: '保税仓H库区',
+           warningType: '库存过低预警',
+           currentStock: '90吨',
+           safetyStockUpperLimit: '220吨',
+           safetyStockLowerLimit: '150吨',
+           deviationValue: '-60吨',
+           deviationRatio: '-40%',
+           warningLevel: '红色预警',
+           accumulationDuration: '4天',
+           lastInboundTime: '2025-03-20',
+           lastOutboundTime: '2025-06-04',
+           relatedPurchaseOrders: '-',
+           relatedSalesOrders: 'SO-2025-104/70吨',
+           supplierInfo: '非洲XX农业/13255554444',
+           suggestedAction: '触发紧急采购,协调供应商加急供货',
+           warningResponsiblePerson: '计划主管-孙XX',
+           processingStatus: '处理中',
+           triggerTime: '2025-05-31 17:30:00',
+           thresholdSetter: '吴XX',
+           dataUpdateTime: '2025-06-06 15:00:00'
+         },
+         {
+           inventoryWarningId: 9,
+           inventoryCode: 'PM-2025-009',
+           inventoryName: '高强棉',
+           warehouseLocation: '成品仓I库区',
+           warningType: '库存过高预警',
+           currentStock: '450吨',
+           safetyStockUpperLimit: '380吨',
+           safetyStockLowerLimit: '120吨',
+           deviationValue: '+70吨',
+           deviationRatio: '+18.4%',
+           warningLevel: '黄色预警',
+           accumulationDuration: '42天',
+           lastInboundTime: '2025-05-12',
+           lastOutboundTime: '2025-04-18',
+           relatedPurchaseOrders: 'PO-2025-098/200吨',
+           relatedSalesOrders: '-',
+           supplierInfo: '河南XX纺织/13166665555',
+           suggestedAction: '优化采购计划,控制进货量',
+           warningResponsiblePerson: '销售经理-周XX',
+           processingStatus: '未处理',
+           triggerTime: '2025-05-30 09:15:00',
+           thresholdSetter: '郑XX',
+           dataUpdateTime: '2025-06-06 15:00:00'
+         },
+         {
+           inventoryWarningId: 10,
+           inventoryCode: 'PM-2025-010',
+           inventoryName: '低绒棉',
+           warehouseLocation: '内陆仓J库区',
+           warningType: '库存过低预警',
+           currentStock: '70吨',
+           safetyStockUpperLimit: '200吨',
+           safetyStockLowerLimit: '120吨',
+           deviationValue: '-50吨',
+           deviationRatio: '-41.7%',
+           warningLevel: '红色预警',
+           accumulationDuration: '3天',
+           lastInboundTime: '2025-03-15',
+           lastOutboundTime: '2025-06-05',
+           relatedPurchaseOrders: '-',
+           relatedSalesOrders: 'SO-2025-101/65吨',
+           supplierInfo: '陕西XX棉业/13099998888',
+           suggestedAction: '触发紧急采购,协调供应商加急供货',
+           warningResponsiblePerson: '仓库主管-李XX',
+           processingStatus: '处理中',
+           triggerTime: '2025-05-29 15:40:00',
+           thresholdSetter: '郑XX',
+           dataUpdateTime: '2025-06-06 15:00:00'
+         }
+       ],
+     }
+   },
+   methods: {
+     /**
+      * @desc   : 点击预览页当前行
+      * @author : 王英杰
+      * @date   : 2025/5/28 14:41
+      */
+     currentChangeTable(e) {
+       if (e && e.row) {
+         this.row = e
+       }
+     },
+   },
+   created() {
+     this.primaryKey = 'staffId'  // 设置主键Id
+     this.routeObjName = 'warehouseManagement'  // 设置路由名称
+   },
+
+
+ }
+
+ </script>

+ 381 - 14
src/view/mst/risk-management/risk-warning/inventory-cycle-overtime-warning/index.vue

@@ -1,23 +1,390 @@
  <!-- @desc:风险预警-存货周期超时预警  @auth:???  @time:----- -->
  <!-- @desc:风险预警-存货周期超时预警  @auth:???  @time:----- -->
-<template>
-  <div class="main-div" ref="mainDiv">
+ <template>
+   <div class="main-div" ref="mainDiv">
+     <loading :loading="loading" v-if="!modalVisible"></loading>
+     <!--按钮区-->
+     <BaseIndexButtonGroup id="BaseIndexButtonGroup">
+       <template #left>
+         <!--    查询    -->
+         <BaseIndexButton  ref="search" name="search"></BaseIndexButton>
+         <!--    清空条件    -->
+         <BaseIndexButton ref="clear" name="clear"></BaseIndexButton>
+         <!--    编辑    -->
+         <BaseIndexButton right-button="warehouse-management-edit" ref="edit" name="edit"></BaseIndexButton>
+         <!--    启用    -->
+         <BaseIndexButton right-button="warehouse-management-enable" ref="enable" name="enable"></BaseIndexButton>
+         <!--    停用    -->
+         <BaseIndexButton right-button="warehouse-management-disable" ref="disable" name="disable"></BaseIndexButton>
+         <!--    导入    -->
+         <BaseIndexButton right-button="warehouse-management-import" ref="import" name="import"></BaseIndexButton>
+         <!--    导出    -->
+         <BaseIndexButton right-button="warehouse-management-export" ref="export" name="export"></BaseIndexButton>
+       </template>
+       <template #right>
+         <!--   新建     -->
+         <BaseIndexButton right-button="warehouse-management-add" ref="add" name="add"></BaseIndexButton>
+       </template>
+     </BaseIndexButtonGroup>
 
 
-  </div>
-</template>
 
 
-<script>
+     <!--  表格部分  -->
+     <div :style="'height: ' + tableHeight + 'px'" class="split-div-class">
+       <!--  卡片区  -->
+       <div class="index-card">
+         <!--  查询条件区域  -->
+         <div id="search-cond-div" ref="search-cond-div" class="search-cond-class">
+           <SearchCond ref="searchCond" v-model="searchCond"
+                       @collapse-change="collapseChange" :setFlag="false"
+                       :searchContent="searchContent"  ></SearchCond>
+         </div>
 
 
-import {indexMixin} from '@/mixins'
+         <!--  表格部分  -->
+         <DkTable
+           :id="'table-' + $options.name"
+           ref="table-select"
+           :data="tableData"
+           :height="tableHeight - 60"
+           primaryKey="inventoryCycleWarningId"
+           :multiple="false"
+           :choose-flag="false"
+           @current-change="currentChangeTable"
+           :page-flag="true"
+           :page-total="pageInfo.total"
+           @pageChange="pageSizeChange"
+           :pageSizeOpts="pageSizeOpts"
+           :current-page="pageInfo.currentPage"
+           :pageSize="pageInfo.pageSize"
+         >
+           <DkTableColumn field="inventoryCode" title="存货编码"></DkTableColumn>
+           <DkTableColumn field="inventoryName" title="存货名称"></DkTableColumn>
+           <DkTableColumn field="warehouseLocation" title="所属仓库 / 库区"></DkTableColumn>
+           <DkTableColumn field="supplierName" title="供应商名称"></DkTableColumn>
+           <DkTableColumn field="warehousingDate" title="入库日期"></DkTableColumn>
+           <DkTableColumn field="setCycleDays" title="设定周期天数"></DkTableColumn>
+           <DkTableColumn field="currentCycleDays" title="当前周期天数"></DkTableColumn>
+           <DkTableColumn field="overdueDays" title="超期天数"></DkTableColumn>
+           <DkTableColumn field="warningTriggerTime" title="预警触发时间"></DkTableColumn>
+           <DkTableColumn field="warningLevel" title="预警等级"></DkTableColumn>
+           <DkTableColumn field="lastOutboundTime" title="最近出库时间"></DkTableColumn>
+           <DkTableColumn field="estimatedStagnantLoss" title="预计呆滞损失"></DkTableColumn>
+           <DkTableColumn field="inventoryTurnoverRate" title="存货周转率"></DkTableColumn>
+           <DkTableColumn field="responsibleDepartment" title="责任部门"></DkTableColumn>
+           <DkTableColumn field="responsiblePerson" title="责任人"></DkTableColumn>
+           <DkTableColumn field="suggestedAction" title="建议操作"></DkTableColumn>
+           <DkTableColumn field="processingStatus" title="处理状态"></DkTableColumn>
+           <DkTableColumn field="historicalProcessingRecord" title="历史处理记录"></DkTableColumn>
+           <DkTableColumn field="dataUpdateTime" title="数据更新时间"></DkTableColumn>
+           <DkTableColumn field="cycleRuleSetter" title="周期规则设置人"></DkTableColumn>
+           <DkTableColumn field="relatedPurchaseOrder" title="关联采购订单"></DkTableColumn>
+         </DkTable>
+       </div>
 
 
-export default {
-  name: 'futures-warrant-batch-management',
-  data() {
-    return  {}
-  },
-  methods: {},
+     </div>
 
 
 
 
 
 
-}
 
 
-</script>
+   </div>
+ </template>
+
+ <script>
+
+ import {indexMixin} from '@/mixins'
+
+ export default {
+   name: 'early-warning-payables',
+   mixins: [indexMixin],
+   data() {
+     return  {
+       buyerList:[],
+       //查询条件
+       searchContent: [
+         {
+           //公司名称
+           itemCode: 'cpIds',
+           title: '存货编码',
+
+           required: true
+         },
+         {
+           //员工工号
+           itemCode: 'staffCode',
+           title: '存货名称',
+         },
+         {
+           //员工名称
+           itemCode: 'staffName',
+           title: '预警类型',
+         },
+
+
+       ],
+       formData: {
+         staffCode: null,//员工工号
+         staffName: null,//员工编码
+       },
+       tableData: [
+         {
+           inventoryCycleWarningId: 1,
+           inventoryCode: 'PM-2025-001',
+           inventoryName: '新疆长绒棉',
+           warehouseLocation: '原料仓A库区',
+           supplierName: '新疆XX棉业有限公司',
+           warehousingDate: '2025-03-15',
+           setCycleDays: '60天',
+           currentCycleDays: '92天',
+           overdueDays: '+32天',
+           warningTriggerTime: '2025-05-16 09:00:00',
+           warningLevel: '红色预警',
+           lastOutboundTime: '2025-04-20',
+           estimatedStagnantLoss: '25,600元(超期每天减值0.1%)',
+           inventoryTurnoverRate: '0.3次/月',
+           responsibleDepartment: '销售部',
+           responsiblePerson: '张三(销售专员)',
+           suggestedAction: '启动报废/退换货流程',
+           processingStatus: '处理中',
+           historicalProcessingRecord: '2025-05-16 首次预警,已通知销售部',
+           dataUpdateTime: '2025-06-15 11:00:00',
+           cycleRuleSetter: '王XX',
+           relatedPurchaseOrder: 'PO-2025-088'
+         },
+         {
+           inventoryCycleWarningId: 2,
+           inventoryCode: 'PM-2025-002',
+           inventoryName: '进口美棉',
+           warehouseLocation: '保税仓B库区',
+           supplierName: '美国XX棉商',
+           warehousingDate: '2025-04-01',
+           setCycleDays: '90天',
+           currentCycleDays: '75天',
+           overdueDays: '0天',
+           warningTriggerTime: '-',
+           warningLevel: '无预警',
+           lastOutboundTime: '2025-05-10',
+           estimatedStagnantLoss: '0元',
+           inventoryTurnoverRate: '0.5次/月',
+           responsibleDepartment: '-',
+           responsiblePerson: '-',
+           suggestedAction: '-',
+           processingStatus: '-',
+           historicalProcessingRecord: '-',
+           dataUpdateTime: '2025-06-15 11:00:00',
+           cycleRuleSetter: '王XX',
+           relatedPurchaseOrder: 'PO-2025-092'
+         },
+         {
+           inventoryCycleWarningId: 3,
+           inventoryCode: 'PM-2025-003',
+           inventoryName: '细绒棉',
+           warehouseLocation: '原料仓C库区',
+           supplierName: '山东XX棉业',
+           warehousingDate: '2025-03-25',
+           setCycleDays: '50天',
+           currentCycleDays: '82天',
+           overdueDays: '+32天',
+           warningTriggerTime: '2025-05-16 09:00:00',
+           warningLevel: '红色预警',
+           lastOutboundTime: '2025-04-15',
+           estimatedStagnantLoss: '16,400元(超期每天减值0.1%)',
+           inventoryTurnoverRate: '0.2次/月',
+           responsibleDepartment: '销售部',
+           responsiblePerson: '李四(销售主管)',
+           suggestedAction: '启动报废/退换货流程',
+           processingStatus: '未处理',
+           historicalProcessingRecord: '2025-05-16 首次预警,已通知销售部',
+           dataUpdateTime: '2025-06-15 11:00:00',
+           cycleRuleSetter: '刘XX',
+           relatedPurchaseOrder: 'PO-2025-076'
+         },
+         {
+           inventoryCycleWarningId: 4,
+           inventoryCode: 'PM-2025-004',
+           inventoryName: '有机棉',
+           warehouseLocation: '保税仓D库区',
+           supplierName: '江苏XX有机农业',
+           warehousingDate: '2025-04-10',
+           setCycleDays: '75天',
+           currentCycleDays: '66天',
+           overdueDays: '0天',
+           warningTriggerTime: '-',
+           warningLevel: '无预警',
+           lastOutboundTime: '2025-05-25',
+           estimatedStagnantLoss: '0元',
+           inventoryTurnoverRate: '0.6次/月',
+           responsibleDepartment: '-',
+           responsiblePerson: '-',
+           suggestedAction: '-',
+           processingStatus: '-',
+           historicalProcessingRecord: '-',
+           dataUpdateTime: '2025-06-15 11:00:00',
+           cycleRuleSetter: '刘XX',
+           relatedPurchaseOrder: 'PO-2025-101'
+         },
+         {
+           inventoryCycleWarningId: 5,
+           inventoryCode: 'PM-2025-005',
+           inventoryName: '澳棉',
+           warehouseLocation: '临港仓E库区',
+           supplierName: '澳大利亚XX棉商',
+           warehousingDate: '2025-03-30',
+           setCycleDays: '80天',
+           currentCycleDays: '77天',
+           overdueDays: '0天',
+           warningTriggerTime: '-',
+           warningLevel: '无预警',
+           lastOutboundTime: '2025-05-20',
+           estimatedStagnantLoss: '0元',
+           inventoryTurnoverRate: '0.4次/月',
+           responsibleDepartment: '-',
+           responsiblePerson: '-',
+           suggestedAction: '-',
+           processingStatus: '-',
+           historicalProcessingRecord: '-',
+           dataUpdateTime: '2025-06-15 11:00:00',
+           cycleRuleSetter: '陈XX',
+           relatedPurchaseOrder: 'PO-2025-112'
+         },
+         {
+           inventoryCycleWarningId: 6,
+           inventoryCode: 'PM-2025-006',
+           inventoryName: '中亚棉',
+           warehouseLocation: '内陆仓F库区',
+           supplierName: '哈萨克斯坦XX公司',
+           warehousingDate: '2025-03-10',
+           setCycleDays: '65天',
+           currentCycleDays: '97天',
+           overdueDays: '+32天',
+           warningTriggerTime: '2025-05-16 09:00:00',
+           warningLevel: '红色预警',
+           lastOutboundTime: '2025-04-05',
+           estimatedStagnantLoss: '29,100元(超期每天减值0.1%)',
+           inventoryTurnoverRate: '0.15次/月',
+           responsibleDepartment: '销售部',
+           responsiblePerson: '张三(销售专员)',
+           suggestedAction: '启动报废/退换货流程',
+           processingStatus: '处理中',
+           historicalProcessingRecord: '2025-05-16 首次预警,已通知销售部',
+           dataUpdateTime: '2025-06-15 11:00:00',
+           cycleRuleSetter: '陈XX',
+           relatedPurchaseOrder: 'PO-2025-107'
+         },
+         {
+           inventoryCycleWarningId: 7,
+           inventoryCode: 'PM-2025-007',
+           inventoryName: '地产棉',
+           warehouseLocation: '原料仓G库区',
+           supplierName: '河北XX棉业',
+           warehousingDate: '2025-04-05',
+           setCycleDays: '55天',
+           currentCycleDays: '72天',
+           overdueDays: '+17天',
+           warningTriggerTime: '2025-05-31 09:00:00',
+           warningLevel: '黄色预警',
+           lastOutboundTime: '2025-05-10',
+           estimatedStagnantLoss: '8,640元(超期每天减值0.1%)',
+           inventoryTurnoverRate: '0.35次/月',
+           responsibleDepartment: '销售部',
+           responsiblePerson: '李四(销售主管)',
+           suggestedAction: '加大促销力度',
+           processingStatus: '未处理',
+           historicalProcessingRecord: '2025-05-31 首次预警,已通知销售部',
+           dataUpdateTime: '2025-06-15 11:00:00',
+           cycleRuleSetter: '吴XX',
+           relatedPurchaseOrder: 'PO-2025-083'
+         },
+         {
+           inventoryCycleWarningId: 8,
+           inventoryCode: 'PM-2025-008',
+           inventoryName: '非洲棉',
+           warehouseLocation: '保税仓H库区',
+           supplierName: '非洲XX农业',
+           warehousingDate: '2025-03-20',
+           setCycleDays: '70天',
+           currentCycleDays: '87天',
+           overdueDays: '+17天',
+           warningTriggerTime: '2025-05-31 09:00:00',
+           warningLevel: '黄色预警',
+           lastOutboundTime: '2025-04-30',
+           estimatedStagnantLoss: '13,050元(超期每天减值0.1%)',
+           inventoryTurnoverRate: '0.3次/月',
+           responsibleDepartment: '销售部',
+           responsiblePerson: '王五(销售经理)',
+           suggestedAction: '加大促销力度',
+           processingStatus: '处理中',
+           historicalProcessingRecord: '2025-05-31 首次预警,已通知销售部',
+           dataUpdateTime: '2025-06-15 11:00:00',
+           cycleRuleSetter: '吴XX',
+           relatedPurchaseOrder: 'PO-2025-123'
+         },
+         {
+           inventoryCycleWarningId: 9,
+           inventoryCode: 'PM-2025-009',
+           inventoryName: '高强棉',
+           warehouseLocation: '成品仓I库区',
+           supplierName: '河南XX纺织',
+           warehousingDate: '2025-04-01',
+           setCycleDays: '60天',
+           currentCycleDays: '75天',
+           overdueDays: '+15天',
+           warningTriggerTime: '2025-06-01 09:00:00',
+           warningLevel: '黄色预警',
+           lastOutboundTime: '2025-05-15',
+           estimatedStagnantLoss: '11,250元(超期每天减值0.1%)',
+           inventoryTurnoverRate: '0.4次/月',
+           responsibleDepartment: '销售部',
+           responsiblePerson: '王五(销售经理)',
+           suggestedAction: '加大促销力度',
+           processingStatus: '处理中',
+           historicalProcessingRecord: '2025-06-01 首次预警,已通知销售部',
+           dataUpdateTime: '2025-06-15 11:00:00',
+           cycleRuleSetter: '郑XX',
+           relatedPurchaseOrder: 'PO-2025-098'
+         },
+         {
+           inventoryCycleWarningId: 10,
+           inventoryCode: 'PM-2025-010',
+           inventoryName: '低绒棉',
+           warehouseLocation: '内陆仓J库区',
+           supplierName: '陕西XX棉业',
+           warehousingDate: '2025-04-15',
+           setCycleDays: '50天',
+           currentCycleDays: '61天',
+           overdueDays: '+11天',
+           warningTriggerTime: '2025-06-06 09:00:00',
+           warningLevel: '黄色预警',
+           lastOutboundTime: '2025-05-20',
+           estimatedStagnantLoss: '6,720元(超期每天减值0.1%)',
+           inventoryTurnoverRate: '0.45次/月',
+           responsibleDepartment: '销售部',
+           responsiblePerson: '张三(销售专员)',
+           suggestedAction: '加大促销力度',
+           processingStatus: '未处理',
+           historicalProcessingRecord: '2025-06-06 首次预警,已通知销售部',
+           dataUpdateTime: '2025-06-15 11:00:00',
+           cycleRuleSetter: '郑XX',
+           relatedPurchaseOrder: 'PO-2025-104'
+         }
+       ],
+     }
+   },
+   methods: {
+     /**
+      * @desc   : 点击预览页当前行
+      * @author : 王英杰
+      * @date   : 2025/5/28 14:41
+      */
+     currentChangeTable(e) {
+       if (e && e.row) {
+         this.row = e
+       }
+     },
+   },
+   created() {
+     this.primaryKey = 'staffId'  // 设置主键Id
+     this.routeObjName = 'warehouseManagement'  // 设置路由名称
+   },
+
+
+ }
+
+ </script>

+ 392 - 14
src/view/mst/risk-management/risk-warning/outbound-warning/index.vue

@@ -1,23 +1,401 @@
  <!-- @desc:风险预警-出库预警  @auth:???  @time:----- -->
  <!-- @desc:风险预警-出库预警  @auth:???  @time:----- -->
-<template>
-  <div class="main-div" ref="mainDiv">
+ <template>
+   <div class="main-div" ref="mainDiv">
+     <loading :loading="loading" v-if="!modalVisible"></loading>
+     <!--按钮区-->
+     <BaseIndexButtonGroup id="BaseIndexButtonGroup">
+       <template #left>
+         <!--    查询    -->
+         <BaseIndexButton  ref="search" name="search"></BaseIndexButton>
+         <!--    清空条件    -->
+         <BaseIndexButton ref="clear" name="clear"></BaseIndexButton>
+         <!--    编辑    -->
+         <BaseIndexButton right-button="warehouse-management-edit" ref="edit" name="edit"></BaseIndexButton>
+         <!--    启用    -->
+         <BaseIndexButton right-button="warehouse-management-enable" ref="enable" name="enable"></BaseIndexButton>
+         <!--    停用    -->
+         <BaseIndexButton right-button="warehouse-management-disable" ref="disable" name="disable"></BaseIndexButton>
+         <!--    导入    -->
+         <BaseIndexButton right-button="warehouse-management-import" ref="import" name="import"></BaseIndexButton>
+         <!--    导出    -->
+         <BaseIndexButton right-button="warehouse-management-export" ref="export" name="export"></BaseIndexButton>
+       </template>
+       <template #right>
+         <!--   新建     -->
+         <BaseIndexButton right-button="warehouse-management-add" ref="add" name="add"></BaseIndexButton>
+       </template>
+     </BaseIndexButtonGroup>
 
 
-  </div>
-</template>
 
 
-<script>
+     <!--  表格部分  -->
+     <div :style="'height: ' + tableHeight + 'px'" class="split-div-class">
+       <!--  卡片区  -->
+       <div class="index-card">
+         <!--  查询条件区域  -->
+         <div id="search-cond-div" ref="search-cond-div" class="search-cond-class">
+           <SearchCond ref="searchCond" v-model="searchCond"
+                       @collapse-change="collapseChange" :setFlag="false"
+                       :searchContent="searchContent"  ></SearchCond>
+         </div>
 
 
-import {indexMixin} from '@/mixins'
+         <!--  表格部分  -->
+         <DkTable
+           :id="'table-' + $options.name"
+           ref="table-select"
+           :data="tableData"
+           :height="tableHeight - 60"
+           primaryKey="inventoryCycleWarningId"
+           :multiple="false"
+           :choose-flag="false"
+           @current-change="currentChangeTable"
+           :page-flag="true"
+           :page-total="pageInfo.total"
+           @pageChange="pageSizeChange"
+           :pageSizeOpts="pageSizeOpts"
+           :current-page="pageInfo.currentPage"
+           :pageSize="pageInfo.pageSize"
+         >
+           <DkTableColumn field="customerCode" title="客户编号"></DkTableColumn>
+           <DkTableColumn field="customerName" title="客户名称"></DkTableColumn>
+           <DkTableColumn field="contactPerson" title="联系人"></DkTableColumn>
+           <DkTableColumn field="outboundOrderNumber" title="出库单号"></DkTableColumn>
+           <DkTableColumn field="outboundDate" title="出库日期"></DkTableColumn>
+           <DkTableColumn field="customerCreditLimit" title="客户信用额度"></DkTableColumn>
+           <DkTableColumn field="usedCredit" title="已使用额度"></DkTableColumn>
+           <DkTableColumn field="availableCredit" title="剩余可用额度"></DkTableColumn>
+           <DkTableColumn field="currentOutboundAmount" title="本次出库金额"></DkTableColumn>
+           <DkTableColumn field="exceededAmount" title="超额度金额"></DkTableColumn>
+           <DkTableColumn field="warningType" title="预警类型"></DkTableColumn>
+           <DkTableColumn field="warningLevel" title="预警等级"></DkTableColumn>
+           <DkTableColumn field="historicalOverdueRecords" title="历史逾期记录"></DkTableColumn>
+           <DkTableColumn field="lastPaymentDate" title="最近付款日期"></DkTableColumn>
+           <DkTableColumn field="responsibleDepartment" title="责任部门"></DkTableColumn>
+           <DkTableColumn field="responsiblePerson" title="责任人"></DkTableColumn>
+           <DkTableColumn field="suggestedAction" title="建议操作"></DkTableColumn>
+           <DkTableColumn field="processingStatus" title="处理状态"></DkTableColumn>
+           <DkTableColumn field="approvalProcessStatus" title="审批流程状态"></DkTableColumn>
+           <DkTableColumn field="warningTriggerTime" title="预警触发时间"></DkTableColumn>
+           <DkTableColumn field="dataUpdateTime" title="数据更新时间"></DkTableColumn>
+           <DkTableColumn field="creditLimitSetter" title="信用额度设置人"></DkTableColumn>
+         </DkTable>
+       </div>
 
 
-export default {
-  name: 'futures-warrant-batch-management',
-  data() {
-    return  {}
-  },
-  methods: {},
+     </div>
 
 
 
 
 
 
-}
 
 
-</script>
+   </div>
+ </template>
+
+ <script>
+
+ import {indexMixin} from '@/mixins'
+
+ export default {
+   name: 'outbound-warning',
+   mixins: [indexMixin],
+   data() {
+     return  {
+       buyerList:[],
+       //查询条件
+       searchContent: [
+         {
+           //公司名称
+           itemCode: 'cpIds',
+           title: '存货编码',
+
+           required: true
+         },
+         {
+           //员工工号
+           itemCode: 'staffCode',
+           title: '存货名称',
+         },
+         {
+           //员工名称
+           itemCode: 'staffName',
+           title: '预警类型',
+         },
+
+
+       ],
+       formData: {
+         staffCode: null,//员工工号
+         staffName: null,//员工编码
+       },
+       tableData: [
+         {
+           inventoryCycleWarningId: 1,
+           customerCode: "CUST001",
+           customerName: "深圳科技有限公司",
+           contactPerson: "张三",
+           outboundOrderNumber: "OUT20250601001",
+           outboundDate: "2025-06-01",
+           customerCreditLimit: 50000,
+           usedCredit: 35000,
+           availableCredit: 15000,
+           currentOutboundAmount: 8000,
+           exceededAmount: 0,
+           warningType: "额度预警",
+           warningLevel: "黄色预警",
+           historicalOverdueRecords: 1,
+           lastPaymentDate: "2025-05-25",
+           responsibleDepartment: "销售一部",
+           responsiblePerson: "李四",
+           suggestedAction: "加强监控",
+           processingStatus: "处理中",
+           approvalProcessStatus: "审批中",
+           warningTriggerTime: "2025-06-01 14:30:00",
+           dataUpdateTime: "2025-06-01 15:00:00",
+           creditLimitSetter: "系统自动设置"
+         },
+         {
+           inventoryCycleWarningId: 2,
+           customerCode: "CUST002",
+           customerName: "上海贸易集团",
+           contactPerson: "王芳",
+           outboundOrderNumber: "OUT20250601002",
+           outboundDate: "2025-06-01",
+           customerCreditLimit: 80000,
+           usedCredit: 75000,
+           availableCredit: 5000,
+           currentOutboundAmount: 6000,
+           exceededAmount: 1000,
+           warningType: "超支预警",
+           warningLevel: "红色预警",
+           historicalOverdueRecords: 3,
+           lastPaymentDate: "2025-05-18",
+           responsibleDepartment: "销售二部",
+           responsiblePerson: "赵六",
+           suggestedAction: "暂停合作",
+           processingStatus: "待处理",
+           approvalProcessStatus: "待审批",
+           warningTriggerTime: "2025-06-01 14:45:00",
+           dataUpdateTime: "2025-06-01 15:15:00",
+           creditLimitSetter: "张经理"
+         },
+         {
+           inventoryCycleWarningId: 3,
+           customerCode: "CUST003",
+           customerName: "广州电子有限公司",
+           contactPerson: "陈丽",
+           outboundOrderNumber: "OUT20250601003",
+           outboundDate: "2025-06-01",
+           customerCreditLimit: 100000,
+           usedCredit: 40000,
+           availableCredit: 60000,
+           currentOutboundAmount: 12000,
+           exceededAmount: 0,
+           warningType: "正常",
+           warningLevel: "绿色预警",
+           historicalOverdueRecords: 0,
+           lastPaymentDate: "2025-06-01",
+           responsibleDepartment: "财务部",
+           responsiblePerson: "周七",
+           suggestedAction: "维持现状",
+           processingStatus: "已处理",
+           approvalProcessStatus: "已通过",
+           warningTriggerTime: "-",
+           dataUpdateTime: "2025-06-01 16:00:00",
+           creditLimitSetter: "李总监"
+         },
+         {
+           inventoryCycleWarningId: 4,
+           customerCode: "CUST004",
+           customerName: "杭州制造企业",
+           contactPerson: "吴明",
+           outboundOrderNumber: "OUT20250601004",
+           outboundDate: "2025-06-01",
+           customerCreditLimit: 60000,
+           usedCredit: 58000,
+           availableCredit: 2000,
+           currentOutboundAmount: 2500,
+           exceededAmount: 500,
+           warningType: "额度预警",
+           warningLevel: "黄色预警",
+           historicalOverdueRecords: 2,
+           lastPaymentDate: "2025-05-30",
+           responsibleDepartment: "风控部",
+           responsiblePerson: "郑八",
+           suggestedAction: "降低额度",
+           processingStatus: "处理中",
+           approvalProcessStatus: "审批中",
+           warningTriggerTime: "2025-06-01 15:10:00",
+           dataUpdateTime: "2025-06-01 15:30:00",
+           creditLimitSetter: "系统自动设置"
+         },
+         {
+           inventoryCycleWarningId: 5,
+           customerCode: "CUST005",
+           customerName: "南京供应链公司",
+           contactPerson: "徐丽",
+           outboundOrderNumber: "OUT20250601005",
+           outboundDate: "2025-06-01",
+           customerCreditLimit: 30000,
+           usedCredit: 28000,
+           availableCredit: 2000,
+           currentOutboundAmount: 1800,
+           exceededAmount: 0,
+           warningType: "接近预警",
+           warningLevel: "黄色预警",
+           historicalOverdueRecords: 1,
+           lastPaymentDate: "2025-05-20",
+           responsibleDepartment: "销售一部",
+           responsiblePerson: "孙九",
+           suggestedAction: "提醒付款",
+           processingStatus: "待处理",
+           approvalProcessStatus: "待审批",
+           warningTriggerTime: "2025-06-01 15:45:00",
+           dataUpdateTime: "2025-06-01 16:15:00",
+           creditLimitSetter: "张经理"
+         },
+         {
+           inventoryCycleWarningId: 6,
+           customerCode: "CUST006",
+           customerName: "成都贸易公司",
+           contactPerson: "胡军",
+           outboundOrderNumber: "OUT20250601006",
+           outboundDate: "2025-06-01",
+           customerCreditLimit: 70000,
+           usedCredit: 65000,
+           availableCredit: 5000,
+           currentOutboundAmount: 5500,
+           exceededAmount: 500,
+           warningType: "超支预警",
+           warningLevel: "红色预警",
+           historicalOverdueRecords: 4,
+           lastPaymentDate: "2025-05-10",
+           responsibleDepartment: "销售二部",
+           responsiblePerson: "林十",
+           suggestedAction: "暂停合作",
+           processingStatus: "待处理",
+           approvalProcessStatus: "待审批",
+           warningTriggerTime: "2025-06-01 16:00:00",
+           dataUpdateTime: "2025-06-01 16:30:00",
+           creditLimitSetter: "李总监"
+         },
+         {
+           inventoryCycleWarningId: 7,
+           customerCode: "CUST007",
+           customerName: "武汉科技企业",
+           contactPerson: "郭伟",
+           outboundOrderNumber: "OUT20250601007",
+           outboundDate: "2025-06-01",
+           customerCreditLimit: 90000,
+           usedCredit: 30000,
+           availableCredit: 60000,
+           currentOutboundAmount: 9000,
+           exceededAmount: 0,
+           warningType: "正常",
+           warningLevel: "绿色预警",
+           historicalOverdueRecords: 0,
+           lastPaymentDate: "2025-06-01",
+           responsibleDepartment: "财务部",
+           responsiblePerson: "马十一",
+           suggestedAction: "维持现状",
+           processingStatus: "已处理",
+           approvalProcessStatus: "已通过",
+           warningTriggerTime: "-",
+           dataUpdateTime: "2025-06-01 17:00:00",
+           creditLimitSetter: "系统自动设置"
+         },
+         {
+           inventoryCycleWarningId: 8,
+           customerCode: "CUST008",
+           customerName: "西安制造集团",
+           contactPerson: "罗芳",
+           outboundOrderNumber: "OUT20250601008",
+           outboundDate: "2025-06-01",
+           customerCreditLimit: 40000,
+           usedCredit: 38000,
+           availableCredit: 2000,
+           currentOutboundAmount: 2200,
+           exceededAmount: 200,
+           warningType: "额度预警",
+           warningLevel: "黄色预警",
+           historicalOverdueRecords: 1,
+           lastPaymentDate: "2025-05-28",
+           responsibleDepartment: "风控部",
+           responsiblePerson: "郑十二",
+           suggestedAction: "降低额度",
+           processingStatus: "处理中",
+           approvalProcessStatus: "审批中",
+           warningTriggerTime: "2025-06-01 17:15:00",
+           dataUpdateTime: "2025-06-01 17:30:00",
+           creditLimitSetter: "张经理"
+         },
+         {
+           inventoryCycleWarningId: 9,
+           customerCode: "CUST009",
+           customerName: "重庆贸易有限公司",
+           contactPerson: "苏明",
+           outboundOrderNumber: "OUT20250601009",
+           outboundDate: "2025-06-01",
+           customerCreditLimit: 20000,
+           usedCredit: 19000,
+           availableCredit: 1000,
+           currentOutboundAmount: 1200,
+           exceededAmount: 200,
+           warningType: "接近预警",
+           warningLevel: "黄色预警",
+           historicalOverdueRecords: 2,
+           lastPaymentDate: "2025-05-15",
+           responsibleDepartment: "销售一部",
+           responsiblePerson: "黄十三",
+           suggestedAction: "提醒付款",
+           processingStatus: "待处理",
+           approvalProcessStatus: "待审批",
+           warningTriggerTime: "2025-06-01 18:00:00",
+           dataUpdateTime: "2025-06-01 18:15:00",
+           creditLimitSetter: "李总监"
+         },
+         {
+           inventoryCycleWarningId: 10,
+           customerCode: "CUST010",
+           customerName: "长沙科技集团",
+           contactPerson: "邓丽",
+           outboundOrderNumber: "OUT20250601010",
+           outboundDate: "2025-06-01",
+           customerCreditLimit: 100000,
+           usedCredit: 50000,
+           availableCredit: 50000,
+           currentOutboundAmount: 15000,
+           exceededAmount: 0,
+           warningType: "正常",
+           warningLevel: "绿色预警",
+           historicalOverdueRecords: 0,
+           lastPaymentDate: "2025-06-01",
+           responsibleDepartment: "财务部",
+           responsiblePerson: "陈十四",
+           suggestedAction: "维持现状",
+           processingStatus: "已处理",
+           approvalProcessStatus: "已通过",
+           warningTriggerTime: "-",
+           dataUpdateTime: "2025-06-01 19:00:00",
+           creditLimitSetter: "系统自动设置"
+         }
+       ],
+     }
+   },
+   methods: {
+     /**
+      * @desc   : 点击预览页当前行
+      * @author : 王英杰
+      * @date   : 2025/5/28 14:41
+      */
+     currentChangeTable(e) {
+       if (e && e.row) {
+         this.row = e
+       }
+     },
+   },
+   created() {
+     this.primaryKey = 'staffId'  // 设置主键Id
+     this.routeObjName = 'warehouseManagement'  // 设置路由名称
+   },
+
+
+ }
+
+ </script>

+ 293 - 14
src/view/mst/risk-management/risk-warning/receivables-warning/index.vue

@@ -1,23 +1,302 @@
  <!-- @desc:风险预警-应收款预警  @auth:???  @time:----- -->
  <!-- @desc:风险预警-应收款预警  @auth:???  @time:----- -->
-<template>
-  <div class="main-div" ref="mainDiv">
+ <template>
+   <div class="main-div" ref="mainDiv">
+     <loading :loading="loading" v-if="!modalVisible"></loading>
+     <!--按钮区-->
+     <BaseIndexButtonGroup id="BaseIndexButtonGroup">
+       <template #left>
+         <!--    查询    -->
+         <BaseIndexButton  ref="search" name="search"></BaseIndexButton>
+         <!--    清空条件    -->
+         <BaseIndexButton ref="clear" name="clear"></BaseIndexButton>
+         <!--    编辑    -->
+         <BaseIndexButton right-button="warehouse-management-edit" ref="edit" name="edit"></BaseIndexButton>
+         <!--    启用    -->
+         <BaseIndexButton right-button="warehouse-management-enable" ref="enable" name="enable"></BaseIndexButton>
+         <!--    停用    -->
+         <BaseIndexButton right-button="warehouse-management-disable" ref="disable" name="disable"></BaseIndexButton>
+         <!--    导入    -->
+         <BaseIndexButton right-button="warehouse-management-import" ref="import" name="import"></BaseIndexButton>
+         <!--    导出    -->
+         <BaseIndexButton right-button="warehouse-management-export" ref="export" name="export"></BaseIndexButton>
+       </template>
+       <template #right>
+         <!--   新建     -->
+         <BaseIndexButton right-button="warehouse-management-add" ref="add" name="add"></BaseIndexButton>
+       </template>
+     </BaseIndexButtonGroup>
 
 
-  </div>
-</template>
 
 
-<script>
+     <!--  表格部分  -->
+     <div :style="'height: ' + tableHeight + 'px'" class="split-div-class">
+       <!--  卡片区  -->
+       <div class="index-card">
+         <!--  查询条件区域  -->
+         <div id="search-cond-div" ref="search-cond-div" class="search-cond-class">
+           <SearchCond ref="searchCond" v-model="searchCond"
+                       @collapse-change="collapseChange" :setFlag="false"
+                       :searchContent="searchContent"  ></SearchCond>
+         </div>
 
 
-import {indexMixin} from '@/mixins'
+         <!--  表格部分  -->
+         <DkTable
+           :id="'table-' + $options.name"
+           ref="table-select"
+           :data="tableData"
+           :height="tableHeight - 60"
+           primaryKey="inventoryCycleWarningId"
+           :multiple="false"
+           :choose-flag="false"
+           @current-change="currentChangeTable"
+           :page-flag="true"
+           :page-total="pageInfo.total"
+           @pageChange="pageSizeChange"
+           :pageSizeOpts="pageSizeOpts"
+           :current-page="pageInfo.currentPage"
+           :pageSize="pageInfo.pageSize"
+         >
+           <DkTableColumn field="documentNumber" title="单据编号"></DkTableColumn>
+           <DkTableColumn field="customerName" title="客户名称"></DkTableColumn>
+           <DkTableColumn field="customerType" title="客户类型"></DkTableColumn>
+           <DkTableColumn field="receivableAmount" title="应收金额"></DkTableColumn>
+           <DkTableColumn field="collectedAmount" title="已收金额"></DkTableColumn>
+           <DkTableColumn field="uncollectedAmount" title="未收金额"></DkTableColumn>
+           <DkTableColumn field="contractPaymentDate" title="合同约定收款日期"></DkTableColumn>
+           <DkTableColumn field="overdueDays" title="超时天数"></DkTableColumn>
+           <DkTableColumn field="warningLevel" title="预警等级"></DkTableColumn>
+           <DkTableColumn field="collectionResponsible" title="收款责任人"></DkTableColumn>
+           <DkTableColumn field="lastFollowUpTime" title="上次跟进时间"></DkTableColumn>
+           <DkTableColumn field="followUpNotes" title="跟进备注"></DkTableColumn>
+           <DkTableColumn field="operations" title="操作"></DkTableColumn>
+         </DkTable>
+       </div>
 
 
-export default {
-  name: 'futures-warrant-batch-management',
-  data() {
-    return  {}
-  },
-  methods: {},
+     </div>
 
 
 
 
 
 
-}
 
 
-</script>
+   </div>
+ </template>
+
+ <script>
+
+ import {indexMixin} from '@/mixins'
+
+ export default {
+   name: 'outbound-warning',
+   mixins: [indexMixin],
+   data() {
+     return  {
+       buyerList:[],
+       //查询条件
+       searchContent: [
+         {
+           //公司名称
+           itemCode: 'cpIds',
+           title: '存货编码',
+
+           required: true
+         },
+         {
+           //员工工号
+           itemCode: 'staffCode',
+           title: '存货名称',
+         },
+         {
+           //员工名称
+           itemCode: 'staffName',
+           title: '预警类型',
+         },
+
+
+       ],
+       formData: {
+         staffCode: null,//员工工号
+         staffName: null,//员工编码
+       },
+       tableData: [
+         {
+           inventoryCycleWarningId: 1,
+           documentNumber: "HT-2025-001",
+           customerName: "XX纺织有限公司",
+           customerType: "长期客户",
+           receivableAmount: 50000,
+           collectedAmount: 30000,
+           uncollectedAmount: 20000,
+           contractPaymentDate: "2025-05-31",
+           overdueDays: 6,
+           warningLevel: "黄色预警",
+           collectionResponsible: "张建国",
+           lastFollowUpTime: "2025-06-05 14:30",
+           followUpNotes: "客户承诺下周一付款",
+           operations: "发送催款函"
+         },
+         {
+           inventoryCycleWarningId: 2,
+           documentNumber: "HT-2025-002",
+           customerName: "YY贸易集团",
+           customerType: "新客户",
+           receivableAmount: 80000,
+           collectedAmount: 0,
+           uncollectedAmount: 80000,
+           contractPaymentDate: "2025-05-15",
+           overdueDays: 21,
+           warningLevel: "红色预警",
+           collectionResponsible: "李丽",
+           lastFollowUpTime: "-",
+           followUpNotes: "多次联系未接通",
+           operations: "生成对账单"
+         },
+         {
+           inventoryCycleWarningId: 3,
+           documentNumber: "DD-2025-003",
+           customerName: "ZZ科技公司",
+           customerType: "战略客户",
+           receivableAmount: 120000,
+           collectedAmount: 90000,
+           uncollectedAmount: 30000,
+           contractPaymentDate: "2025-06-10",
+           overdueDays: 0,
+           warningLevel: "正常",
+           collectionResponsible: "王强",
+           lastFollowUpTime: "2025-06-08 10:00",
+           followUpNotes: "确认本周内安排付款",
+           operations: "标记跟进"
+         },
+         {
+           inventoryCycleWarningId: 4,
+           documentNumber: "HT-2025-004",
+           customerName: "WW纺织厂",
+           customerType: "长期客户",
+           receivableAmount: 35000,
+           collectedAmount: 20000,
+           uncollectedAmount: 15000,
+           contractPaymentDate: "2025-05-20",
+           overdueDays: 17,
+           warningLevel: "红色预警",
+           collectionResponsible: "陈娟",
+           lastFollowUpTime: "2025-06-03 15:45",
+           followUpNotes: "客户资金链紧张,申请延期",
+           operations: "启动法律程序"
+         },
+         {
+           inventoryCycleWarningId: 5,
+           documentNumber: "DD-2025-005",
+           customerName: "RR贸易公司",
+           customerType: "普通客户",
+           receivableAmount: 60000,
+           collectedAmount: 45000,
+           uncollectedAmount: 15000,
+           contractPaymentDate: "2025-06-05",
+           overdueDays: 1,
+           warningLevel: "黄色预警",
+           collectionResponsible: "赵亮",
+           lastFollowUpTime: "2025-06-06 09:30",
+           followUpNotes: "财务审核中",
+           operations: "发送短信提醒"
+         },
+         {
+           inventoryCycleWarningId: 6,
+           documentNumber: "HT-2025-006",
+           customerName: "TT制造企业",
+           customerType: "战略客户",
+           receivableAmount: 90000,
+           collectedAmount: 90000,
+           uncollectedAmount: 0,
+           contractPaymentDate: "2025-06-01",
+           overdueDays: 0,
+           warningLevel: "正常",
+           collectionResponsible: "吴敏",
+           lastFollowUpTime: "-",
+           followUpNotes: "款项已结清",
+           operations: "归档"
+         },
+         {
+           inventoryCycleWarningId: 7,
+           documentNumber: "DD-2025-007",
+           customerName: "YY纺织集团",
+           customerType: "长期客户",
+           receivableAmount: 40000,
+           collectedAmount: 10000,
+           uncollectedAmount: 30000,
+           contractPaymentDate: "2025-04-30",
+           overdueDays: 37,
+           warningLevel: "红色预警",
+           collectionResponsible: "周伟",
+           lastFollowUpTime: "2025-05-20 11:15",
+           followUpNotes: "客户破产清算中",
+           operations: "坏账登记"
+         },
+         {
+           inventoryCycleWarningId: 8,
+           documentNumber: "HT-2025-008",
+           customerName: "XX贸易有限公司",
+           customerType: "新客户",
+           receivableAmount: 25000,
+           collectedAmount: 15000,
+           uncollectedAmount: 10000,
+           contractPaymentDate: "2025-06-05",
+           overdueDays: 1,
+           warningLevel: "黄色预警",
+           collectionResponsible: "郑洁",
+           lastFollowUpTime: "2025-06-06 14:00",
+           followUpNotes: "需核对对账单",
+           operations: "重新发送对账单"
+         },
+         {
+           inventoryCycleWarningId: 9,
+           documentNumber: "DD-2025-009",
+           customerName: "ZZ制造公司",
+           customerType: "普通客户",
+           receivableAmount: 70000,
+           collectedAmount: 30000,
+           uncollectedAmount: 40000,
+           contractPaymentDate: "2025-05-25",
+           overdueDays: 12,
+           warningLevel: "黄色预警",
+           collectionResponsible: "孙磊",
+           lastFollowUpTime: "2025-06-02 16:30",
+           followUpNotes: "申请分期支付",
+           operations: "审核分期申请"
+         },
+         {
+           inventoryCycleWarningId: 10,
+           documentNumber: "HT-2025-010",
+           customerName: "WW科技集团",
+           customerType: "战略客户",
+           receivableAmount: 150000,
+           collectedAmount: 120000,
+           uncollectedAmount: 30000,
+           contractPaymentDate: "2025-06-15",
+           overdueDays: 0,
+           warningLevel: "正常",
+           collectionResponsible: "胡芳",
+           lastFollowUpTime: "2025-06-10 09:00",
+           followUpNotes: "预计下周付款",
+           operations: "跟进确认"
+         }
+       ],
+     }
+   },
+   methods: {
+     /**
+      * @desc   : 点击预览页当前行
+      * @author : 王英杰
+      * @date   : 2025/5/28 14:41
+      */
+     currentChangeTable(e) {
+       if (e && e.row) {
+         this.row = e
+       }
+     },
+   },
+   created() {
+     this.primaryKey = 'staffId'  // 设置主键Id
+     this.routeObjName = 'warehouseManagement'  // 设置路由名称
+   },
+
+
+ }
+
+ </script>

+ 326 - 14
src/view/mst/risk-management/risk-warning/settlement-timeout-warning/index.vue

@@ -1,23 +1,335 @@
  <!-- @desc:风险预警-结算超时预警  @auth:???  @time:----- -->
  <!-- @desc:风险预警-结算超时预警  @auth:???  @time:----- -->
-<template>
-  <div class="main-div" ref="mainDiv">
+ <template>
+   <div class="main-div" ref="mainDiv">
+     <loading :loading="loading" v-if="!modalVisible"></loading>
+     <!--按钮区-->
+     <BaseIndexButtonGroup id="BaseIndexButtonGroup">
+       <template #left>
+         <!--    查询    -->
+         <BaseIndexButton  ref="search" name="search"></BaseIndexButton>
+         <!--    清空条件    -->
+         <BaseIndexButton ref="clear" name="clear"></BaseIndexButton>
+         <!--    编辑    -->
+         <BaseIndexButton right-button="warehouse-management-edit" ref="edit" name="edit"></BaseIndexButton>
+         <!--    启用    -->
+         <BaseIndexButton right-button="warehouse-management-enable" ref="enable" name="enable"></BaseIndexButton>
+         <!--    停用    -->
+         <BaseIndexButton right-button="warehouse-management-disable" ref="disable" name="disable"></BaseIndexButton>
+         <!--    导入    -->
+         <BaseIndexButton right-button="warehouse-management-import" ref="import" name="import"></BaseIndexButton>
+         <!--    导出    -->
+         <BaseIndexButton right-button="warehouse-management-export" ref="export" name="export"></BaseIndexButton>
+       </template>
+       <template #right>
+         <!--   新建     -->
+         <BaseIndexButton right-button="warehouse-management-add" ref="add" name="add"></BaseIndexButton>
+       </template>
+     </BaseIndexButtonGroup>
 
 
-  </div>
-</template>
 
 
-<script>
+     <!--  表格部分  -->
+     <div :style="'height: ' + tableHeight + 'px'" class="split-div-class">
+       <!--  卡片区  -->
+       <div class="index-card">
+         <!--  查询条件区域  -->
+         <div id="search-cond-div" ref="search-cond-div" class="search-cond-class">
+           <SearchCond ref="searchCond" v-model="searchCond"
+                       @collapse-change="collapseChange" :setFlag="false"
+                       :searchContent="searchContent"  ></SearchCond>
+         </div>
 
 
-import {indexMixin} from '@/mixins'
+         <!--  表格部分  -->
+         <DkTable
+           :id="'table-' + $options.name"
+           ref="table-select"
+           :data="tableData"
+           :height="tableHeight - 60"
+           primaryKey="contractWarningId"
+           :multiple="false"
+           :choose-flag="false"
+           @current-change="currentChangeTable"
+           :page-flag="true"
+           :page-total="pageInfo.total"
+           @pageChange="pageSizeChange"
+           :pageSizeOpts="pageSizeOpts"
+           :current-page="pageInfo.currentPage"
+           :pageSize="pageInfo.pageSize"
+         >
+           <DkTableColumn field="contractNumber" title="合同编号"></DkTableColumn>
+           <DkTableColumn field="contractName" title="合同名称"></DkTableColumn>
+           <DkTableColumn field="supplierName" title="供应商名称"></DkTableColumn>
+           <DkTableColumn field="totalContractAmount" title="合同总金额"></DkTableColumn>
+           <DkTableColumn field="settledAmount" title="已结算金额"></DkTableColumn>
+           <DkTableColumn field="unsettledAmount" title="未结算金额"></DkTableColumn>
+           <DkTableColumn field="contractSignDate" title="合同签订日期"></DkTableColumn>
+           <DkTableColumn field="agreedSettlementDays" title="约定结算周期(天)"></DkTableColumn>
+           <DkTableColumn field="remainingDays" title="剩余结算天数"></DkTableColumn>
+           <DkTableColumn field="overdueDays" title="超时天数"></DkTableColumn>
+           <DkTableColumn field="settlementStatus" title="结算状态"></DkTableColumn>
+           <DkTableColumn field="responsibleDepartment" title="责任部门"></DkTableColumn>
+           <DkTableColumn field="responsiblePerson" title="责任人"></DkTableColumn>
+           <DkTableColumn field="lastFollowUpDate" title="上次跟进时间"></DkTableColumn>
+           <DkTableColumn field="followUpNotes" title="跟进备注"></DkTableColumn>
+           <DkTableColumn field="warningLevel" title="预警等级"></DkTableColumn>
+         </DkTable>
+       </div>
 
 
-export default {
-  name: 'futures-warrant-batch-management',
-  data() {
-    return  {}
-  },
-  methods: {},
+     </div>
 
 
 
 
 
 
-}
 
 
-</script>
+   </div>
+ </template>
+
+ <script>
+
+ import {indexMixin} from '@/mixins'
+
+ export default {
+   name: 'outbound-warning',
+   mixins: [indexMixin],
+   data() {
+     return  {
+       buyerList:[],
+       //查询条件
+       searchContent: [
+         {
+           //公司名称
+           itemCode: 'cpIds',
+           title: '存货编码',
+
+           required: true
+         },
+         {
+           //员工工号
+           itemCode: 'staffCode',
+           title: '存货名称',
+         },
+         {
+           //员工名称
+           itemCode: 'staffName',
+           title: '预警类型',
+         },
+
+
+       ],
+       formData: {
+         staffCode: null,//员工工号
+         staffName: null,//员工编码
+       },
+       tableData: [
+         {
+           contractWarningId: 1,
+           contractNumber: "HT-2025-001",
+           contractName: "新疆棉业年度采购合同",
+           supplierName: "西域棉纺有限公司",
+           totalContractAmount: 800000,
+           settledAmount: 500000,
+           unsettledAmount: 300000,
+           contractSignDate: "2025-01-15",
+           agreedSettlementDays: 120,
+           remainingDays: -30, // 超时30天
+           overdueDays: 30,
+           settlementStatus: "超时预警",
+           responsibleDepartment: "采购一部",
+           responsiblePerson: "李明",
+           lastFollowUpDate: "2025-05-10",
+           followUpNotes: "供应商因物流延误申请延期",
+           warningLevel: "高"
+         },
+         {
+           contractWarningId: 2,
+           contractNumber: "HT-2025-002",
+           contractName: "华东纺织厂皮棉供应合同",
+           supplierName: "江南棉业集团",
+           totalContractAmount: 1200000,
+           settledAmount: 900000,
+           unsettledAmount: 300000,
+           contractSignDate: "2025-02-28",
+           agreedSettlementDays: 90,
+           remainingDays: -5, // 超时5天
+           overdueDays: 5,
+           settlementStatus: "超时预警",
+           responsibleDepartment: "采购二部",
+           responsiblePerson: "王芳",
+           lastFollowUpDate: "2025-05-25",
+           followUpNotes: "等待财务审核结算单据",
+           warningLevel: "低"
+         },
+         {
+           contractWarningId: 3,
+           contractNumber: "HT-2025-003",
+           contractName: "华北印染厂皮棉采购协议",
+           supplierName: "黄河棉业有限公司",
+           totalContractAmount: 450000,
+           settledAmount: 450000,
+           unsettledAmount: 0,
+           contractSignDate: "2025-03-20",
+           agreedSettlementDays: 60,
+           remainingDays: 10, // 未超时,剩余10天
+           overdueDays: 0,
+           settlementStatus: "结算完成",
+           responsibleDepartment: "采购三部",
+           responsiblePerson: "张伟",
+           lastFollowUpDate: "-",
+           followUpNotes: "款项已全部结清",
+           warningLevel: "无"
+         },
+         {
+           contractWarningId: 4,
+           contractNumber: "HT-2025-004",
+           contractName: "华南服装公司皮棉长期供应合同",
+           supplierName: "珠江棉纺厂",
+           totalContractAmount: 600000,
+           settledAmount: 200000,
+           unsettledAmount: 400000,
+           contractSignDate: "2025-01-01",
+           agreedSettlementDays: 180,
+           remainingDays: 30, // 未超时,剩余30天
+           overdueDays: 0,
+           settlementStatus: "进行中",
+           responsibleDepartment: "采购一部",
+           responsiblePerson: "刘敏",
+           lastFollowUpDate: "2025-05-30",
+           followUpNotes: "按季度分期结算,本季度待确认",
+           warningLevel: "无"
+         },
+         {
+           contractWarningId: 5,
+           contractNumber: "HT-2025-005",
+           contractName: "西南纺织集团皮棉采购合同",
+           supplierName: "川渝棉业有限公司",
+           totalContractAmount: 300000,
+           settledAmount: 150000,
+           unsettledAmount: 150000,
+           contractSignDate: "2025-04-05",
+           agreedSettlementDays: 60,
+           remainingDays: -10, // 超时10天
+           overdueDays: 10,
+           settlementStatus: "超时预警",
+           responsibleDepartment: "采购二部",
+           responsiblePerson: "陈杰",
+           lastFollowUpDate: "2025-06-02",
+           followUpNotes: "供应商负责人变更,需重新对接",
+           warningLevel: "中"
+         },
+         {
+           contractWarningId: 6,
+           contractNumber: "HT-2025-006",
+           contractName: "东北棉业合作协议",
+           supplierName: "黑土地棉纺厂",
+           totalContractAmount: 550000,
+           settledAmount: 400000,
+           unsettledAmount: 150000,
+           contractSignDate: "2025-02-10",
+           agreedSettlementDays: 150,
+           remainingDays: 20, // 未超时,剩余20天
+           overdueDays: 0,
+           settlementStatus: "进行中",
+           responsibleDepartment: "采购三部",
+           responsiblePerson: "杨璐",
+           lastFollowUpDate: "2025-06-05",
+           followUpNotes: "等待第三方质检报告",
+           warningLevel: "无"
+         },
+         {
+           contractWarningId: 7,
+           contractNumber: "HT-2025-007",
+           contractName: "华中纺织厂皮棉采购合同",
+           supplierName: "长江棉业有限公司",
+           totalContractAmount: 900000,
+           settledAmount: 300000,
+           unsettledAmount: 600000,
+           contractSignDate: "2025-03-01",
+           agreedSettlementDays: 90,
+           remainingDays: -45, // 超时45天
+           overdueDays: 45,
+           settlementStatus: "超时预警",
+           responsibleDepartment: "采购一部",
+           responsiblePerson: "周强",
+           lastFollowUpDate: "2025-05-01",
+           followUpNotes: "供应商濒临破产,启动法律程序",
+           warningLevel: "高"
+         },
+         {
+           contractWarningId: 8,
+           contractNumber: "HT-2025-008",
+           contractName: "西北印染厂皮棉供应协议",
+           supplierName: "丝路棉纺有限公司",
+           totalContractAmount: 200000,
+           settledAmount: 180000,
+           unsettledAmount: 20000,
+           contractSignDate: "2025-05-01",
+           agreedSettlementDays: 30,
+           remainingDays: -1, // 超时1天
+           overdueDays: 1,
+           settlementStatus: "超时预警",
+           responsibleDepartment: "采购二部",
+           responsiblePerson: "吴娜",
+           lastFollowUpDate: "2025-06-06",
+           followUpNotes: "小额尾款待确认支付",
+           warningLevel: "低"
+         },
+         {
+           contractWarningId: 9,
+           contractNumber: "HT-2025-009",
+           contractName: "海外贸易公司皮棉采购合同",
+           supplierName: "国际棉业集团",
+           totalContractAmount: 1500000,
+           settledAmount: 1200000,
+           unsettledAmount: 300000,
+           contractSignDate: "2025-04-15",
+           agreedSettlementDays: 90,
+           remainingDays: 15, // 未超时,剩余15天
+           overdueDays: 0,
+           settlementStatus: "进行中",
+           responsibleDepartment: "采购三部",
+           responsiblePerson: "郑凯",
+           lastFollowUpDate: "2025-06-08",
+           followUpNotes: "等待海关清关完成",
+           warningLevel: "无"
+         },
+         {
+           contractWarningId: 10,
+           contractNumber: "HT-2025-010",
+           contractName: "中部纺织联盟皮棉长期合同",
+           supplierName: "中原棉业有限公司",
+           totalContractAmount: 700000,
+           settledAmount: 700000,
+           unsettledAmount: 0,
+           contractSignDate: "2025-05-20",
+           agreedSettlementDays: 60,
+           remainingDays: 25, // 未超时,提前完成结算
+           overdueDays: 0,
+           settlementStatus: "结算完成",
+           responsibleDepartment: "采购一部",
+           responsiblePerson: "徐丽",
+           lastFollowUpDate: "-",
+           followUpNotes: "提前完成全部款项结算",
+           warningLevel: "无"
+         }
+       ],
+     }
+   },
+   methods: {
+     /**
+      * @desc   : 点击预览页当前行
+      * @author : 王英杰
+      * @date   : 2025/5/28 14:41
+      */
+     currentChangeTable(e) {
+       if (e && e.row) {
+         this.row = e
+       }
+     },
+   },
+   created() {
+     this.primaryKey = 'staffId'  // 设置主键Id
+     this.routeObjName = 'warehouseManagement'  // 设置路由名称
+   },
+
+
+ }
+
+ </script>

+ 151 - 35
src/view/mst/sales-management/sales-accounting-books/sales-accounting-books/index.vue

@@ -39,42 +39,36 @@
         </div>
         </div>
 
 
         <!--  表格部分  -->
         <!--  表格部分  -->
-        <DkTable :id="'table-'+$options.name"
-                 ref="table-select"
-                 :data="tableData"
-                 :height="tableHeight-60"
-                 primaryKey="staffId"
-                 :multiple="false"
-                 :choose-flag="false"
-                 @current-change="currentChangeTable"
-                 :page-flag="true"
-                 :page-total="pageInfo.total"
-                 @pageChange="pageSizeChange"
-                 :pageSizeOpts="pageSizeOpts"
-                 :current-page="pageInfo.currentPage"
-                 :pageSize="pageInfo.pageSize"
+        <DkTable
+          :id="'table-' + $options.name"
+          ref="table-select"
+          :data="tableData"
+          :height="tableHeight - 60"
+          primaryKey="staffId"
+          :multiple="false"
+          :choose-flag="false"
+          @current-change="currentChangeTable"
+          :page-flag="true"
+          :page-total="pageInfo.total"
+          @pageChange="pageSizeChange"
+          :pageSizeOpts="pageSizeOpts"
+          :current-page="pageInfo.currentPage"
+          :pageSize="pageInfo.pageSize"
         >
         >
-          <!--  商品编号  -->
-          <DkTableColumn field="ownCpName" title="台账编号"></DkTableColumn>
-          <!--  商品名称  -->
-          <DkTableColumn field="staffCode" title="销售单号"></DkTableColumn>
-          <!--  规格型号  -->
-          <DkTableColumn field="staffName" type="link" title="业务类型"
-                         @on-link="handleLink(Object.assign($event,{button:'edit'}))"></DkTableColumn>
-          <!--  计量单位  -->
-          <DkTableColumn field="staffPhone"   title="交易日期"></DkTableColumn>
-          <!--  仓库名称  -->
-          <DkTableColumn field="orgName"  title="客户名称"></DkTableColumn>
-          <!--  存放货位  -->
-          <DkTableColumn field="postName" title="皮棉规格"></DkTableColumn>
-          <!--  供应商  -->
-          <DkTableColumn field="jobName" title="销售数量"></DkTableColumn>
-          <!--  采购人  -->
-          <DkTableColumn field="openStatusName" title="销售单价"/>
-          <!--  备注  -->
-          <DkTableColumn field="roleName" title="销售金额"></DkTableColumn>
-
-
+          <DkTableColumn field="ledgerNumber" title="台账编号"></DkTableColumn>
+          <DkTableColumn field="salesOrderNumber" title="销售单号"></DkTableColumn>
+          <DkTableColumn
+            field="businessType"
+            type="link"
+            title="业务类型"
+            @on-link="handleLink(Object.assign($event, {button: 'edit'}))"
+          ></DkTableColumn>
+          <DkTableColumn field="transactionDate" title="交易日期"></DkTableColumn>
+          <DkTableColumn field="customerName" title="客户名称"></DkTableColumn>
+          <DkTableColumn field="cottonSpec" title="皮棉规格"></DkTableColumn>
+          <DkTableColumn field="salesQuantity" title="销售数量"></DkTableColumn>
+          <DkTableColumn field="salesPrice" title="销售单价" />
+          <DkTableColumn field="salesAmount" title="销售金额"></DkTableColumn>
         </DkTable>
         </DkTable>
       </div>
       </div>
 
 
@@ -95,6 +89,128 @@ export default {
   mixins: [indexMixin],
   mixins: [indexMixin],
   data() {
   data() {
     return  {
     return  {
+      tableData: [
+        {
+          staffId: 1,
+          ledgerNumber: 'LD202506001',
+          salesOrderNumber: 'XS202506001',
+          businessType: '现货销售',
+          transactionDate: '2025-06-01',
+          customerName: '东方纺织有限公司',
+          cottonSpec: '3128B',
+          salesQuantity: 25,
+          salesPrice: 17800,
+          salesAmount: 445000
+        },
+        {
+          staffId: 2,
+          ledgerNumber: 'LD202506002',
+          salesOrderNumber: 'XS202506002',
+          businessType: '期货预售',
+          transactionDate: '2025-06-01',
+          customerName: '南方纺织集团',
+          cottonSpec: '2129A',
+          salesQuantity: 40,
+          salesPrice: 18500,
+          salesAmount: 740000
+        },
+        {
+          staffId: 3,
+          ledgerNumber: 'LD202506003',
+          salesOrderNumber: 'XS202506003',
+          businessType: '代理采购',
+          transactionDate: '2025-06-02',
+          customerName: '西部纺织有限公司',
+          cottonSpec: '3128C',
+          salesQuantity: 18,
+          salesPrice: 17500,
+          salesAmount: 315000
+        },
+        {
+          staffId: 4,
+          ledgerNumber: 'LD202506004',
+          salesOrderNumber: 'XS202506004',
+          businessType: '现货销售',
+          transactionDate: '2025-06-02',
+          customerName: '北方纺织集团',
+          cottonSpec: '4128B',
+          salesQuantity: 30,
+          salesPrice: 17200,
+          salesAmount: 516000
+        },
+        {
+          staffId: 5,
+          ledgerNumber: 'LD202506005',
+          salesOrderNumber: 'XS202506005',
+          businessType: '期货预售',
+          transactionDate: '2025-06-03',
+          customerName: '中部纺织有限公司',
+          cottonSpec: '2129B',
+          salesQuantity: 22,
+          salesPrice: 18300,
+          salesAmount: 402600
+        },
+        {
+          staffId: 6,
+          ledgerNumber: 'LD202506006',
+          salesOrderNumber: 'XS202506006',
+          businessType: '现货销售',
+          transactionDate: '2025-06-03',
+          customerName: '华东纺织集团',
+          cottonSpec: '3128A',
+          salesQuantity: 28,
+          salesPrice: 18000,
+          salesAmount: 504000
+        },
+        {
+          staffId: 7,
+          ledgerNumber: 'LD202506007',
+          salesOrderNumber: 'XS202506007',
+          businessType: '代理采购',
+          transactionDate: '2025-06-04',
+          customerName: '华南纺织有限公司',
+          cottonSpec: '4128C',
+          salesQuantity: 15,
+          salesPrice: 17000,
+          salesAmount: 255000
+        },
+        {
+          staffId: 8,
+          ledgerNumber: 'LD202506008',
+          salesOrderNumber: 'XS202506008',
+          businessType: '现货销售',
+          transactionDate: '2025-06-04',
+          customerName: '西南纺织集团',
+          cottonSpec: '3128B',
+          salesQuantity: 35,
+          salesPrice: 17700,
+          salesAmount: 619500
+        },
+        {
+          staffId: 9,
+          ledgerNumber: 'LD202506009',
+          salesOrderNumber: 'XS202506009',
+          businessType: '期货预售',
+          transactionDate: '2025-06-05',
+          customerName: '东北纺织有限公司',
+          cottonSpec: '2129C',
+          salesQuantity: 19,
+          salesPrice: 18100,
+          salesAmount: 343900
+        },
+        {
+          staffId: 10,
+          ledgerNumber: 'LD202506010',
+          salesOrderNumber: 'XS202506010',
+          businessType: '现货销售',
+          transactionDate: '2025-06-05',
+          customerName: '新疆纺织集团',
+          cottonSpec: '1229B',
+          salesQuantity: 23,
+          salesPrice: 18800,
+          salesAmount: 432400
+        }
+      ],
       //查询条件
       //查询条件
       searchContent: [
       searchContent: [
         {
         {