|
|
@@ -1,4 +1,5 @@
|
|
|
-using Business.Models;
|
|
|
+using Business.EntityFrameworkCore;
|
|
|
+using Business.Models;
|
|
|
using Microsoft.VisualBasic;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
@@ -76,26 +77,32 @@ namespace Bussiness.Model.MES.PO
|
|
|
/// <summary>
|
|
|
/// 订单数量
|
|
|
/// </summary>
|
|
|
+ [DecimalPrecision(20, 8)]
|
|
|
public decimal qty { get; set; }
|
|
|
/// <summary>
|
|
|
/// 净价
|
|
|
/// </summary>
|
|
|
+ [DecimalPrecision(20, 8)]
|
|
|
public decimal netprice { get; set; }
|
|
|
/// <summary>
|
|
|
/// 税率
|
|
|
/// </summary>
|
|
|
+ [DecimalPrecision(20, 8)]
|
|
|
public decimal rate { get; set; }
|
|
|
/// <summary>
|
|
|
/// 含税单价
|
|
|
/// </summary>
|
|
|
+ [DecimalPrecision(20, 8)]
|
|
|
public decimal price { get; set; }
|
|
|
/// <summary>
|
|
|
/// 总价
|
|
|
/// </summary>
|
|
|
+ [DecimalPrecision(20, 8)]
|
|
|
public decimal total_price { get; set; }
|
|
|
/// <summary>
|
|
|
/// 计划数量
|
|
|
/// </summary>
|
|
|
+ [DecimalPrecision(20, 8)]
|
|
|
public decimal plan_qty { get; set; }
|
|
|
/// <summary>
|
|
|
/// 单位
|
|
|
@@ -120,26 +127,32 @@ namespace Bussiness.Model.MES.PO
|
|
|
/// <summary>
|
|
|
/// 已收货数量
|
|
|
/// </summary>
|
|
|
+ [DecimalPrecision(20, 8)]
|
|
|
public decimal rqty { get; set; }
|
|
|
/// <summary>
|
|
|
/// 已入库数量
|
|
|
/// </summary>
|
|
|
+ [DecimalPrecision(20, 8)]
|
|
|
public decimal esqty { get; set; }
|
|
|
/// <summary>
|
|
|
/// 采购到货日期
|
|
|
/// </summary>
|
|
|
+ [DecimalPrecision(20, 8)]
|
|
|
public decimal procurement_rarr_date { get; set; }
|
|
|
/// <summary>
|
|
|
/// 再计划到货日期
|
|
|
/// </summary>
|
|
|
+ [DecimalPrecision(20, 8)]
|
|
|
public decimal rparrive_date { get; set; }
|
|
|
/// <summary>
|
|
|
/// 供应商交期
|
|
|
/// </summary>
|
|
|
+ [DecimalPrecision(20, 8)]
|
|
|
public decimal purchase_date { get; set; }
|
|
|
/// <summary>
|
|
|
/// 采购确认到货日期
|
|
|
/// </summary>
|
|
|
+ [DecimalPrecision(20, 8)]
|
|
|
public decimal pur_affirmdate { get; set; }
|
|
|
/// <summary>
|
|
|
/// 币别
|