using DefaultNamespace.ProcessMode;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using static InterfaceManager;
///
/// m查询物资采购合同执行状态
///
public class ERPQueryPurchaseExecutionStatus : BasePanel
{
private InputField 物资采购合同执行_工厂, 物资采购合同执行_公司代码, 物资采购合同执行_批次, 物资采购合同执行_批次_1, 物资采购合同执行_批次_2;
private Button 物资采购合同执行_btn确定按钮, 物资采购合同执行_btn多批次, 物资采购合同执行_btn执行;
List isRightList = new List();
protected override void Awake()
{
base.Awake();
}
protected override void OnClick(string value)
{
base.OnClick(value);
switch (value)
{
case "物资采购合同执行_btn多批次":
LoadTriggerNextGuide();
break;
case "物资采购合同执行_btn执行":
GetControl("物资采购合同执行_批次").text = GetControl("物资采购合同执行_批次_1").text;
if (MotionFramework.MotionEngine.GetModule().HandleClick(value))
{
LoadTriggerNextGuide();
}
break;
case "物资采购合同执行_btn确定按钮":
LoadTriggerNextGuide();
break;
default:
break;
}
}
protected override void OnInputChange(string inputPath, string value)
{
base.OnInputChange(inputPath, value);
switch (inputPath)
{
case "物资采购合同执行_工厂":
if (MotionFramework.MotionEngine.GetModule().HandleClick(new List { value }))
{
LoadTriggerNextGuide();
}
break;
case "物资采购合同执行_公司代码":
if (MotionFramework.MotionEngine.GetModule().HandleClick(new List { value }))
{
LoadTriggerNextGuide();
}
break;
case "物资采购合同执行_批次":
break;
case "物资采购合同执行_批次_1":
if (MotionFramework.MotionEngine.GetModule().HandleClick(new List { value }))
{
LoadTriggerNextGuide();
}
break;
case "物资采购合同执行_批次_2":
if (MotionFramework.MotionEngine.GetModule().HandleClick(new List { value }))
{
LoadTriggerNextGuide();
}
break;
default:
break;
}
}
}