using System; using System.Collections.Generic; using DefaultNamespace.ProcessMode; using UnityEngine; using UnityEngine.UI; namespace Zion.Scripts.ERP.退出退役资产物资代保管出库作业 { public class RetiredAssetOutboundDanJuManager : MonoBehaviour { public Button saveBt; private void Start() { saveBt.onClick.AddListener(delegate { List uI_StampConfirmations = UI_StampConfirmationManager.Instance.uI_StampConfirmations; List stampNames = new List(); for (int i = uI_StampConfirmations.Count - 1; i >= 0; i--) { Debug.Log(uI_StampConfirmations[i].name); string IsChecked = uI_StampConfirmations[i].IsClick ? "true" : "false"; stampNames.Add(IsChecked); } bool isMatch = MotionFramework.MotionEngine.GetModule().HandleClick(stampNames); if (isMatch) //查询 { Debug.Log("单据验收完毕"); } else { Debug.Log("未查询到入库单,请检查输入是否正确"); } }); } } }