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

37 lines
991 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using DefaultNamespace.ProcessMode;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class MaterialIssueDeliveryNoteManager : MonoBehaviour
{
public TMP_InputField kuguanyuan;
public TMP_InputField cangkuzhuguanshenhe;
public TMP_InputField jihe;
public TMP_InputField lingliaoyuan;
public Button closebt;
private void Start()
{
closebt.onClick.AddListener(() =>
{
List<string> inputList = new List<string>();
inputList.Add(kuguanyuan.text);
inputList.Add(cangkuzhuguanshenhe.text);
inputList.Add(jihe.text);
inputList.Add(lingliaoyuan.text);
bool isSave = MotionFramework.MotionEngine.GetModule<ProcessManager>().HandleClick(inputList);
if (isSave)
{
// 保存成功
Debug.Log("保存成功");
}
});
}
}