Tz2/Assets/Zion/Scripts/ERP/物资领用出库/MaterialIssueWithSapShelfHa...

58 lines
1.3 KiB
C#

using System;
using System.Collections;
using System.Collections.Generic;
using DefaultNamespace.ProcessMode;
using Framework.Manager;
using MotionFramework;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// 物资领用出库+SAP上下架功能
/// </summary>
public class MaterialIssueWithSapShelfHandlerManager : MonoBehaviour
{
public InputField cangkuhao;
public Button querybt;
public GameObject plane1;
public Toggle isSelect;
public InputField number;
public Button generateTransferBt;
public ZCalendarDemo zCalendarDemo;
private void Start()
{
querybt.onClick.AddListener(delegate
{
List<string> list = new List<string>();
list.Add(cangkuhao.text);
if (MotionEngine.GetModule<ProcessManager>().HandleClick(list))
{
TutorialGuideManager.Instance.TriggerNextGuide();
plane1.SetActive(true);
}
});
generateTransferBt.onClick.AddListener(delegate
{
List<string> list = new List<string>();
// list.Add(isSelect.isOn.ToString());
list.Add(number.text);
if (MotionEngine.GetModule<ProcessManager>().HandleClick(list))
{
TutorialGuideManager.Instance.TriggerNextGuide();
}
});
}
}