38 lines
991 B
C#
38 lines
991 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using DefaultNamespace;
|
|
using DefaultNamespace.ProcessMode;
|
|
using Framework.Manager;
|
|
using MotionFramework;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
/// <summary>
|
|
/// 退出退役资产物资代保管出库作业+库存物资查询报表
|
|
/// </summary>
|
|
public class RetiredAssetsWithdrawalAndQuery : MonoBehaviour
|
|
{
|
|
public TMP_InputField wuliao;
|
|
public TMP_InputField gongchang;
|
|
public Button chaxun;
|
|
public GameObject plane2;
|
|
|
|
|
|
private void Start()
|
|
{
|
|
chaxun.onClick.AddListener(delegate
|
|
{
|
|
List<string> list = new List<string>();
|
|
list.Add(wuliao.text);
|
|
list.Add(gongchang.text);
|
|
if(MotionEngine.GetModule<ProcessManager>().HandleClick(list))
|
|
{ plane2.SetActive(true);
|
|
TutorialGuideManager.Instance.TriggerNextGuide(chaxun.name);
|
|
}
|
|
|
|
|
|
});
|
|
}
|
|
} |