using DefaultNamespace.ProcessMode; using System.Collections; using System.Collections.Generic; using System.Linq; using DefaultNamespace; using Framework.Manager; using MotionFramework; using TMPro; using UnityEngine; using UnityEngine.UI; using static InterfaceManager; using HighlightPlus; /// /// 单据验收管理 /// public class DocumentManagement : MonoBehaviour { /// /// 单据管理实例 /// public static DocumentManagement Instance; /// /// 显示按钮 /// public Button btnShowToggle; /// /// 单据Group /// public ToggleGroup toggleGroup; /// /// 单据集合 /// [Header("单据集合")] public DocumentCollection[] documentCollections; /// /// 采购物资入库单据集合 /// [Header("采购物资入库单据集合记录")] public DocumentCollection[] purchaseDocumentCollections; /// /// 调拨入库单据 /// [Header("调拨入库单据集合记录")] public DocumentCollection[] documentGoListDBRK; /// /// 退出退役资产物资代保管出库作业 /// [Header("退出退役资产物资代保管出库作业")] public DocumentCollection[] documentGoListTC; /// /// 退料物资入库 /// [Header("退料物资入库")] public DocumentCollection[] documentGoListTLWZRK; /// /// 跨省调拨物资出库任务 /// [Header("跨省调拨物资出库任务")] public DocumentCollection[] documentGoListKSDBWZ; /// /// 跨省调拨物资出库任务 /// [Header("箱式开闭所借用物资领料出库系统操作")] public DocumentCollection[] documentGoListXSKBSJYWZ; /// /// 库存物资报废 /// [Header("库存物资报废")] public DocumentCollection[] documentGoListKCWZBF; /// /// 物资领用出库 /// [Header("领用出库")] public DocumentCollection[] documentGoListWZLYCK; /// /// 退出退役资产代保管入库作业 /// [Header("退出退役资产代保管入库作业")] public DocumentCollection[] documentGoListTCYUDBGRK; /// /// 电缆分支箱跨地市物资调配 /// [Header("电缆分支箱跨地市物资调配")] public DocumentCollection[] documentGoListDLFZXKSWZDP; /// /// 重点物资排产计划制定 /// [Header("重点物资排产计划制定")] public DocumentCollection[] documentGoListDLZDWZPCJH; /// /// 废旧物资入库 /// [Header("废旧物资入库")] public DocumentCollection[] documentGoListDLFJWZRK; /// /// 借用物资入库 /// [Header("借用物资入库")] public DocumentCollection[] documentGoListJYWZRK; /// /// 单据按钮预制体 /// public GameObject documentButtonPrefab; /// /// tog按钮父物体 /// public Transform togParent; /// /// 验收单父物体 /// public Transform acceptParent; /// /// tog按钮列表 /// public List togList = new List(); /// /// tog按钮列表高亮物体列表 /// public List HightObjToList = new List(); /// /// 单据列表 /// public List documentGoList = new List(); /// /// 单据 /// public List documentScripts; /// /// 单据验收完毕保存按钮 /// public Button btnSaveQuantityDocumentManagement; /// /// 单据填写保存按钮 /// public Button btnSaveQuantityDocumentManagementTemp; /// /// 单据验收完毕是否已经保存 /// private bool isSave = true; /// /// 单据确认是否已经保存 /// private bool isSaveTemp = true; /// /// 单据确认管理器 /// public List uI_StampConfirmations = new List(); /// /// 单据确认输入框列表 /// public List InputFieldsConfirm = new List(); /// /// 单据确认输入框列表高亮框 /// public List hightObjConfirm = new List(); /// /// 入库单 /// public WarehouseReceipt warehouseReceipt; private Framework.Dto.InventoryReversalVoucherAnalyzer inventoryReversalVoucherAnalyzer; #region 引导高亮 /// /// 单据验收完毕保存按钮高亮物体 /// public Transform btnSaveQuantityDocumentManagementHighlightObj; /// /// 单据填写保存按钮高亮物体 /// public Transform btnSaveQuantityDocumentManagementTempHighlightObj; /// /// 单据显示按钮高亮物体 /// public Transform btnShowToggleHighlightObj; #endregion /// /// 是否填写单据验收 /// bool isSaveInput = false; private void Awake() { Instance = this; btnSaveQuantityDocumentManagement = FindObjectByName