using System.Collections;
using System.Collections.Generic;
using DefaultNamespace;
using UnityEngine;
using TMPro;
using static InterfaceManager;
using UnityEngine.UI;
using DefaultNamespace.ProcessMode;
using Framework.Manager;
using MotionFramework;
using Zion.Scripts.ERP.退出退役资产物资代保管出库作业;
///
/// 任务要求
///
public class TaskPrompt : MonoBehaviour
{
///
/// 任务要求实例
///
public static TaskPrompt Instance;
///
/// 关闭任务要求面板按钮
///
public Button btnClosePanelTaskPrompt;
///
/// 是否处理过
///
private bool isHandle = true;
///
/// 任务要求展示
///
public TMP_InputField taskInput;
public GameObject duihua;
private bool isDuihua = false;
private Framework.Dto.InventoryReversalVoucherAnalyzer returnRevVoucherAnalyzer;
//public GameObject datika;
void Awake()
{
Instance = this;
if (MotionEngine.GetModule().ExamName.Contains("入库") && !MotionEngine.GetModule().ExamName.Contains("借用物资入库"))
{
ChatPanel.isclick = false;
}
else
{
ChatPanel.isclick = true;
}
if (MotionEngine.GetModule().ExamName.Contains("系统入库冲销凭证分析"))
{
ChatPanel.isclick = true;
}
if (MotionEngine.GetModule().ExamName.Contains("月度采购物资入库凭证分析"))
{
ChatPanel.isclick = true;
}
// taskInput = FindObjectByName("InputPanelTaskPrompt");
// btnClosePanelTaskPrompt = FindObjectByName