using DefaultNamespace; using DefaultNamespace.ProcessMode; using MotionFramework; using System.Collections; using System.Collections.Generic; using System.IO; using Framework.Manager; using UnityEngine; using UnityEngine.UI; using static InterfaceManager; using OfficeOpenXml.FormulaParsing.Excel.Functions.Logical; /// /// 查询物资采购合同执行状态 /// public class ERP_PurchaseContractStatus : MonoBehaviour { /// /// 确定按钮 /// public Button Enterbt; /// /// 工厂 /// public InputField Factory; /// /// 公司代码 /// public InputField Companycode; /// /// 物料 /// public InputField Material; /// /// 批次 /// public InputField Batch; /// /// 采购订单 /// public InputField Purchaseorder; /// /// 项目定义 /// public InputField ProjectDefinition; /// /// 合同日期从 /// public InputField Projectfrom; /// /// 合同日期至 /// public InputField Projectend; /// /// 附件1 /// public GameObject Annex1; /// /// 附件2 /// public GameObject Annex2; /// /// 打印按钮 /// public Button PrintBt; /// /// 表格页面 /// public GameObject ExcelPanel; public Button OpenWordBtn; /// /// 单据按钮 /// public Button Order; public Toggle weixuanze; CombinedClass combined; private Framework.Dto.InventoryReversalVoucherAnalyzer returnRevVoucherAnalyzer; /// /// word路径 /// string WordPath; private void Awake() { combined = GameManager.Instance.combinedClass; } void Start() { returnRevVoucherAnalyzer = (Framework.Dto.InventoryReversalVoucherAnalyzer)MotionEngine.GetModule().materialTaskObj; // weixuanze.onValueChanged.AddListener((arg0 => // { // if (arg0) // 只在Toggle为true时触发 // { // TutorialGuideManager.Instance.TriggerNextGuide(weixuanze.name); // } // })); //Enterbt = FindObjectByName