|
@@ -27,6 +27,9 @@ type PaperBill struct {
|
|
|
// 下单数量
|
|
|
OrderCount int `bson:"orderCount,omitempty" json:"orderCount"`
|
|
|
|
|
|
+ // 下单单价
|
|
|
+ OrderPrice float64 `bson:"orderPrice,omitempty" json:"orderPrice"`
|
|
|
+
|
|
|
//备注
|
|
|
Remark string `bson:"remark,omitempty" json:"remark"`
|
|
|
|
|
@@ -71,15 +74,6 @@ type PurchaseBill struct {
|
|
|
SerialNumber string `bson:"serialNumber,omitempty" json:"serialNumber"`
|
|
|
|
|
|
Remark string `bson:"remark,omitempty" json:"remark"`
|
|
|
-
|
|
|
- // 实际金额
|
|
|
- RealAmount float64 `bson:"realAmount,omitempty" json:"realAmount"`
|
|
|
-
|
|
|
- // 预算金额
|
|
|
- BudgetAmount float64 `bson:"budgetAmount,omitempty" json:"budgetAmount"`
|
|
|
-
|
|
|
- //确认收货数量
|
|
|
- ConfirmCount int `bson:"confirmCount,omitempty" json:"confirmCount"`
|
|
|
}
|
|
|
|
|
|
// 工艺生产数据
|
|
@@ -98,6 +92,12 @@ type ProduceBillData struct {
|
|
|
// 下单数量
|
|
|
OrderCount int `bson:"orderCount,omitempty" json:"orderCount"`
|
|
|
|
|
|
+ // 下单单价
|
|
|
+ OrderPrice float64 `bson:"orderPrice,omitempty" json:"orderPrice"`
|
|
|
+
|
|
|
+ // 确认收货数量
|
|
|
+ ConfirmCount int `bson:"confirmCount,omitempty" json:"confirmCount"`
|
|
|
+
|
|
|
//备注
|
|
|
Remark string `bson:"remark,omitempty" json:"remark"`
|
|
|
|
|
@@ -113,9 +113,6 @@ type ProduceBillData struct {
|
|
|
//交货时间
|
|
|
DeliveryTime time.Time `bson:"deliveryTime,omitempty" json:"deliveryTime"`
|
|
|
|
|
|
- // 确认收货数量
|
|
|
- ConfirmCount int `bson:"confirmCount,omitempty" json:"confirmCount"`
|
|
|
-
|
|
|
// 确认收货数量
|
|
|
BatchCount int `bson:"batchCount,omitempty" json:"batchCount"`
|
|
|
|
|
@@ -142,14 +139,14 @@ type ProduceBill struct {
|
|
|
UpdateTime time.Time `bson:"updateTime,omitempty" json:"updateTime"`
|
|
|
CompleteTime time.Time `bson:"completeTime,omitempty" json:"completeTime"`
|
|
|
|
|
|
- //确认收货数量
|
|
|
- ConfirmCount int `bson:"confirmCount,omitempty" json:"confirmCount"`
|
|
|
+ // //确认收货数量
|
|
|
+ // ConfirmCount int `bson:"confirmCount,omitempty" json:"confirmCount"`
|
|
|
|
|
|
- // 实际金额
|
|
|
- RealAmount float64 `bson:"realAmount,omitempty" json:"realAmount"`
|
|
|
+ // // 实际金额
|
|
|
+ // RealAmount float64 `bson:"realAmount,omitempty" json:"realAmount"`
|
|
|
|
|
|
- // 预算金额
|
|
|
- BudgetAmount float64 `bson:"budgetAmount,omitempty" json:"budgetAmount"`
|
|
|
+ // // 预算金额
|
|
|
+ // BudgetAmount float64 `bson:"budgetAmount,omitempty" json:"budgetAmount"`
|
|
|
|
|
|
//供应商
|
|
|
Supplier string `bson:"supplier,omitempty" json:"supplier"`
|
|
@@ -187,14 +184,14 @@ type ProductBill struct {
|
|
|
UpdateTime time.Time `bson:"updateTime,omitempty" json:"updateTime"`
|
|
|
CompleteTime time.Time `bson:"completeTime,omitempty" json:"completeTime"`
|
|
|
|
|
|
- //确认收货数量
|
|
|
- ConfirmCount int `bson:"confirmCount,omitempty" json:"confirmCount"`
|
|
|
+ // //确认收货数量
|
|
|
+ // ConfirmCount int `bson:"confirmCount,omitempty" json:"confirmCount"`
|
|
|
|
|
|
- // 实际金额
|
|
|
- RealAmount float64 `bson:"realAmount,omitempty" json:"realAmount"`
|
|
|
+ // // 实际金额
|
|
|
+ // RealAmount float64 `bson:"realAmount,omitempty" json:"realAmount"`
|
|
|
|
|
|
- // 预算金额
|
|
|
- BudgetAmount float64 `bson:"budgetAmount,omitempty" json:"budgetAmount"`
|
|
|
+ // // 预算金额
|
|
|
+ // BudgetAmount float64 `bson:"budgetAmount,omitempty" json:"budgetAmount"`
|
|
|
|
|
|
//供应商
|
|
|
Supplier string `bson:"supplier,omitempty" json:"supplier"`
|
|
@@ -229,6 +226,9 @@ type ProductBillData struct {
|
|
|
// 下单数量
|
|
|
OrderCount int `bson:"orderCount,omitempty" json:"orderCount"`
|
|
|
|
|
|
+ // 下单单价
|
|
|
+ OrderPrice float64 `bson:"orderPrice,omitempty" json:"orderPrice"`
|
|
|
+
|
|
|
//备注
|
|
|
Remark string `bson:"remark,omitempty" json:"remark"`
|
|
|
|