using DefaultNamespace;
using DefaultNamespace.ProcessMode;
using MotionFramework;
using OfficeOpenXml.FormulaParsing.Excel.Functions.Logical;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
using static InterfaceManager;
///
/// 管理库存收发货
///
public class ManageInventoryReceivingShipping : MonoBehaviour
{
///
/// 单例
///
public static ManageInventoryReceivingShipping Instance;
///
/// UI文本
///
public TextMeshProUGUI TextManageInventoryReceivingShipping;
///
/// 收发货类型
///
public TMP_Dropdown DropdownManageInventoryReceivingShippingType;
///
/// 收发货类型子项
///
public TMP_Dropdown DropdownManageInventoryReceivingShippingTypeItem;
///
/// 订单号
///
public TMP_InputField InputFieldManageInventoryReceivingShippingOrderNumber;
///
///
///
public Button BtnManageInventoryReceivingShippingOrderNumber;
///
/// GR收货
///
public TMP_InputField InputFieldManageInventoryReceivingShippingGRNumber;
///
/// 凭证日期
///
public TMP_InputField InputFieldManageInventoryReceivingShippingInDate;
///
/// 过账日期
///
public TMP_InputField InputFieldManageInventoryReceivingShippingOutDate;
///
/// 检查按钮
///
public Button BtnManageInventoryReceivingShippingCheck;
///
/// 是否检查
///
public bool IsCheck = false;
///
/// 过账按钮
///
public Button BtnManageInventoryReceivingShippingOut;
///
/// 行项目 物料短文本
///
public TMP_InputField InputFieldManageInventoryReceivingShippingItemShortText;
///
/// 行项目 数量
///
public TMP_InputField InputFieldManageInventoryReceivingShippingItemQuantity;
///
/// 行项目 EUn
///
public TMP_InputField InputFieldManageInventoryReceivingShippingItemEUn;
///
/// 行项目 库存地点
///
public TMP_InputField InputFieldManageInventoryReceivingShippingItemStorageLocation;
///
/// 行项目 批次
///
public TMP_InputField InputFieldManageInventoryReceivingShippingItemBatch;
///
/// 行项目 单位
///
public TMP_InputField InputFieldManageInventoryReceivingShippingItemUnit;
///
/// 行项目 物料
///
public TMP_InputField InputFieldManageInventoryReceivingShippingItemMaterial;
///
/// 行项目 确认Toggle
///
public Toggle ManageInventoryReceivingShippingOK;
///
/// 凭证OK预制体
///
public Animator ImgerManageInventoryReceivingShippingVoucherOK;
///
/// 凭证OK
///
public GameObject ManageInventoryReceivingShippingVoucherOK;
///
/// 发货面板
///
public Transform PanelManageInventoryReceivingShippingDelivery;
///
/// 收货面板
///
public Transform PanelManageInventoryReceivingShippingReceive;
///
/// 物资退库入库
///
public Transform PanelManageInventoryReceivingShippingReturnWarehousing;
///
/// 确认按钮
///
public Button ToConfirmPostVerification;
///
/// 取消按钮
///
public Button CancelPostVerification;
///
/// 过账面板
///
public Transform PostVerification;
///
/// 物料凭证完成预制体
///
public Animator MaterialDocumentPostingCompleted;
///
/// 物料凭证完成
///
public GameObject MaterialDocumentPostingCompletedOK;
///
/// 物料过账
///
public TextMeshProUGUI TextMaterialDocumentPostingCompleted;
///
/// 物料过账完成文本
///
public TextMeshProUGUI TextPanelMaterialDocumentPostingCompleted;
///
/// 物料过账完成面板
///
public Transform PanelMaterialDocumentPostingCompleted;
///
/// 物料过账完成按钮
///
public Button BtnPanelMaterialDocumentPostingCompleted;
///
/// 工厂输入框面板
///
public GameObject PanelManageInventoryReceivingShippingReceiveFactory;
///
/// 工厂输入框
///
public TMP_InputField PanelManageInventoryReceivingShippingReceiveFactoryInputField;
private void Awake()
{
Instance = this;
TextManageInventoryReceivingShipping = FindObjectByName("TextManageInventoryReceivingShipping");
DropdownManageInventoryReceivingShippingType = FindObjectByName("DropdownManageInventoryReceivingShippingType");
DropdownManageInventoryReceivingShippingTypeItem = FindObjectByName("DropdownManageInventoryReceivingShippingTypeItem");
InputFieldManageInventoryReceivingShippingOrderNumber = FindObjectByName("InputFieldManageInventoryReceivingShippingOrderNumber");
BtnManageInventoryReceivingShippingOrderNumber = FindObjectByName