using System;
using System.Collections;
using System.Collections.Generic;
using DefaultNamespace.ProcessMode;
using Framework.Manager;
using MotionFramework;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
///
/// 管理库存收发货+物资领用出库
///
public class InventoryTransactionManager : MonoBehaviour
{
public TMP_InputField numberinput;
public Button querybt;
public GameObject plane1;
public GameObject plane2;
public GameObject plane3;
public TMP_InputField shuliang;
public TMP_InputField pici;
public TMP_InputField kucundidian;
public Button jiancha;
public Button guozhang;
private void Start()
{
jiancha.onClick.AddListener(delegate
{
List list = new List();
list.Add(shuliang.text);
list.Add(pici.text);
list.Add(kucundidian.text);
if (MotionEngine.GetModule().HandleClick(list))
{
plane2.SetActive(true);
TutorialGuideManager.Instance.TriggerNextGuide();
}
});
guozhang.onClick.AddListener(delegate
{
// MotionEngine.GetModule().HandleClick("过账");
TutorialGuideManager.Instance.TriggerNextGuide();
});
querybt.onClick.AddListener(delegate
{
MotionEngine.GetModule().HandleClick(numberinput.text);
plane3.SetActive(false);
plane1.SetActive(true);
TutorialGuideManager.Instance.TriggerNextGuide();
});
}
}