55 lines
1.1 KiB
C#
55 lines
1.1 KiB
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using static InterfaceManager;
|
|
|
|
/// <summary>
|
|
/// 到货验收单
|
|
/// </summary>
|
|
public class ArrivalInspectionReport : MonoBehaviour
|
|
{
|
|
/// <summary>
|
|
/// 物料描述
|
|
/// </summary>
|
|
public Text materialDescription;
|
|
/// <summary>
|
|
/// 单位
|
|
/// </summary>
|
|
public Text unit;
|
|
/// <summary>
|
|
/// 合同数量
|
|
/// </summary>
|
|
public Text contractQuantity;
|
|
/// <summary>
|
|
/// 发货数量
|
|
/// </summary>
|
|
public Text deliveryQuantity;
|
|
/// <summary>
|
|
/// 预计发货期
|
|
/// </summary>
|
|
public Text deliveryDate;
|
|
/// <summary>
|
|
/// 预计到货期
|
|
/// </summary>
|
|
public Text arrivalDate;
|
|
|
|
// Start is called before the first frame update
|
|
void Start()
|
|
{
|
|
Init();
|
|
}
|
|
|
|
|
|
private void Init()
|
|
{
|
|
CombinedClass combinedClass = GameManager.Instance.combinedClass;
|
|
if (combinedClass != null)
|
|
{
|
|
materialDescription.text = combinedClass.materialName;
|
|
unit.text = combinedClass.materialUnit;
|
|
|
|
}
|
|
}
|
|
}
|