Compare commits
15 Commits
14cd13f5a7
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 2807fe75c0 | |||
| 2fd4753ee1 | |||
| 5555a14c3c | |||
| b84ba26d9d | |||
| 2fced6d319 | |||
| e2d77a5d3f | |||
| c66dd7f963 | |||
| 08f987b527 | |||
| 8370daf37a | |||
| 327da6a96e | |||
| 6b67fce6a5 | |||
| 8fb7396ff8 | |||
| 1ce0c802cb | |||
| 7406f37764 | |||
| f8355570e6 |
@@ -252,3 +252,20 @@ func (a *accounting) CancelAudit(ctx context.Context, accountingId int64) (err e
|
|||||||
err = xClient.Call(ctx, "CancelAudit", accountingId, &reply)
|
err = xClient.Call(ctx, "CancelAudit", accountingId, &reply)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ArgsAccountingReject struct {
|
||||||
|
StaffId int64 // 操作人
|
||||||
|
AccountingId int64 // 做账合同id
|
||||||
|
Reason string // 驳回原因
|
||||||
|
}
|
||||||
|
|
||||||
|
// Reject @TITLE 一键驳回
|
||||||
|
func (a *accounting) Reject(ctx context.Context, args ArgsAccountingReject) (err error) {
|
||||||
|
xClient, err := client.GetClient(a)
|
||||||
|
if err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
reply := 0
|
||||||
|
err = xClient.Call(ctx, "Reject", args, &reply)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|||||||
@@ -149,18 +149,19 @@ const (
|
|||||||
OrderFieldReceiptReceiptDate OrderField = "receiptDate"
|
OrderFieldReceiptReceiptDate OrderField = "receiptDate"
|
||||||
OrderFieldReceiptPayCompany OrderField = "payCompany"
|
OrderFieldReceiptPayCompany OrderField = "payCompany"
|
||||||
OrderFieldReceiptBankAccount OrderField = "bankAccount"
|
OrderFieldReceiptBankAccount OrderField = "bankAccount"
|
||||||
OrderFieldReceiptIk3cloudUpdatedAt OrderField = "ik3cloudUpdatedAt"
|
OrderFieldReceiptIk3cloudUpdatedAt OrderField = "ik3CloudUpdatedAt"
|
||||||
|
|
||||||
OrderFieldPayableCreatedAt OrderField = "createdAt"
|
OrderFieldPayableCreatedAt OrderField = "createdAt"
|
||||||
OrderFieldPayableAmount OrderField = "amount"
|
OrderFieldPayableAmount OrderField = "amount"
|
||||||
|
|
||||||
OrderFieldRequestCreatedAt OrderField = "createdAt"
|
OrderFieldRequestCreatedAt OrderField = "createdAt"
|
||||||
OrderFieldRequestPrepaidAmount OrderField = "prepaidAmount"
|
OrderFieldRequestPrepaidAmount OrderField = "prepaidAmount"
|
||||||
OrderFieldRequestAmount OrderField = "amount"
|
OrderFieldRequestAmount OrderField = "amount"
|
||||||
OrderFieldRequestPaidAmount OrderField = "paidAmount"
|
OrderFieldRequestPaidAmount OrderField = "paidAmount"
|
||||||
OrderFieldRequestPayAt OrderField = "payAt"
|
OrderFieldRequestPayAt OrderField = "payAt"
|
||||||
OrderFieldRequestFactoryName OrderField = "factoryName"
|
OrderFieldRequestFactoryName OrderField = "factoryName"
|
||||||
OrderFieldRequestInvoiceSerial OrderField = "invoiceSerial"
|
OrderFieldRequestInvoiceSerial OrderField = "invoiceSerial"
|
||||||
|
OrderFieldRequestWorkflowUpdatedAt OrderField = "workflowUpdatedAt"
|
||||||
|
|
||||||
OrderFieldExpenseCreatedAt OrderField = "createdAt"
|
OrderFieldExpenseCreatedAt OrderField = "createdAt"
|
||||||
OrderFieldExpenseAmount OrderField = "amount"
|
OrderFieldExpenseAmount OrderField = "amount"
|
||||||
|
|||||||
@@ -247,3 +247,19 @@ func (r *expense) Cancel(ctx context.Context, expenseId int64) (err error) {
|
|||||||
reply := 0
|
reply := 0
|
||||||
return xClient.Call(ctx, "Cancel", expenseId, &reply)
|
return xClient.Call(ctx, "Cancel", expenseId, &reply)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ArgsExpenseReject struct {
|
||||||
|
StaffId int64 // 员工id
|
||||||
|
ExpenseId int64 // 报销单id
|
||||||
|
Reason string // 驳回原因
|
||||||
|
}
|
||||||
|
|
||||||
|
// Reject @TITLE 驳回(审核通过且打款状态为待提交时可驳回)
|
||||||
|
func (r *expense) Reject(ctx context.Context, args ArgsExpenseReject) (err error) {
|
||||||
|
xClient, err := client.GetClient(r)
|
||||||
|
if err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
reply := 0
|
||||||
|
return xClient.Call(ctx, "Reject", args, &reply)
|
||||||
|
}
|
||||||
|
|||||||
@@ -66,6 +66,9 @@ type FactoryItem struct {
|
|||||||
BanFlag int64 `json:"banFlag"`
|
BanFlag int64 `json:"banFlag"`
|
||||||
MaterialQuality string `json:"materialQuality"`
|
MaterialQuality string `json:"materialQuality"`
|
||||||
InvoiceType string `json:"invoiceType"`
|
InvoiceType string `json:"invoiceType"`
|
||||||
|
Currency string `json:"currency"`
|
||||||
|
CurrencyName string `json:"currencyName"`
|
||||||
|
CurrencySymbol string `json:"currencySymbol"`
|
||||||
Status *int64 `json:"status"`
|
Status *int64 `json:"status"`
|
||||||
CreatedStaffId int64 `json:"createdStaffId"`
|
CreatedStaffId int64 `json:"createdStaffId"`
|
||||||
CreatedAt *time.Time `json:"createdAt"`
|
CreatedAt *time.Time `json:"createdAt"`
|
||||||
@@ -96,6 +99,9 @@ type FactoryAdd struct {
|
|||||||
Origin string // 工厂来源
|
Origin string // 工厂来源
|
||||||
MaterialQuality string // 材质
|
MaterialQuality string // 材质
|
||||||
InvoiceType string // 发票
|
InvoiceType string // 发票
|
||||||
|
Currency string // 币种
|
||||||
|
CurrencyName string // 币种名称
|
||||||
|
CurrencySymbol string // 币种符号
|
||||||
BanFlag int64 // 禁用标记 1=禁用 2=正常
|
BanFlag int64 // 禁用标记 1=禁用 2=正常
|
||||||
City string // 所在城市
|
City string // 所在城市
|
||||||
Address string // 工厂地址
|
Address string // 工厂地址
|
||||||
@@ -171,6 +177,9 @@ type ReplyFactoryInfo struct {
|
|||||||
BanFlag int64 `json:"banFlag"`
|
BanFlag int64 `json:"banFlag"`
|
||||||
MaterialQuality string `json:"materialQuality"`
|
MaterialQuality string `json:"materialQuality"`
|
||||||
InvoiceType string `json:"invoiceType"`
|
InvoiceType string `json:"invoiceType"`
|
||||||
|
Currency string `json:"currency"`
|
||||||
|
CurrencyName string `json:"currencyName"`
|
||||||
|
CurrencySymbol string `json:"currencySymbol"`
|
||||||
Status *int64 `json:"status"`
|
Status *int64 `json:"status"`
|
||||||
CreatedStaffId int64 `json:"createdStaffId"`
|
CreatedStaffId int64 `json:"createdStaffId"`
|
||||||
CreatedAt *time.Time `json:"createdAt"`
|
CreatedAt *time.Time `json:"createdAt"`
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ type PaymentRefundSearch struct {
|
|||||||
PaymentRefundSerial string // 付款退款单号
|
PaymentRefundSerial string // 付款退款单号
|
||||||
FactoryId int64 // 工厂
|
FactoryId int64 // 工厂
|
||||||
FactoryName string // 工厂名称
|
FactoryName string // 工厂名称
|
||||||
|
IsConfirm int64 // 确认状态 1=已确认 2=未确认
|
||||||
CreatedAtStart *time.Time // 创建开始时间
|
CreatedAtStart *time.Time // 创建开始时间
|
||||||
CreatedAtEnd *time.Time // 创建结束时间
|
CreatedAtEnd *time.Time // 创建结束时间
|
||||||
}
|
}
|
||||||
@@ -33,6 +34,7 @@ type PaymentRefundItem struct {
|
|||||||
PaymentRefundSerial string `json:"paymentRefundSerial"`
|
PaymentRefundSerial string `json:"paymentRefundSerial"`
|
||||||
FactoryId int64 `json:"factoryId"`
|
FactoryId int64 `json:"factoryId"`
|
||||||
FactoryName string `json:"factoryName"`
|
FactoryName string `json:"factoryName"`
|
||||||
|
PayCompany string `json:"payCompany"`
|
||||||
Amount decimal.Decimal `json:"amount"`
|
Amount decimal.Decimal `json:"amount"`
|
||||||
Currency string `json:"currency"`
|
Currency string `json:"currency"`
|
||||||
CurrencyName string `json:"currencyName"`
|
CurrencyName string `json:"currencyName"`
|
||||||
@@ -44,6 +46,7 @@ type PaymentRefundItem struct {
|
|||||||
PaymentPurposeNumber string `json:"paymentPurposeNumber"`
|
PaymentPurposeNumber string `json:"paymentPurposeNumber"`
|
||||||
PaymentPurpose string `json:"paymentPurpose"`
|
PaymentPurpose string `json:"paymentPurpose"`
|
||||||
Remark string `json:"remark"`
|
Remark string `json:"remark"`
|
||||||
|
IsConfirm int64 `json:"isConfirm"`
|
||||||
Ik3cloudStatus int64 `json:"ik3CloudStatus"`
|
Ik3cloudStatus int64 `json:"ik3CloudStatus"`
|
||||||
Ik3cloudErrMsg string `json:"ik3CloudErrMsg"`
|
Ik3cloudErrMsg string `json:"ik3CloudErrMsg"`
|
||||||
Ik3cloudUpdatedAt *time.Time `json:"ik3CloudUpdatedAt"`
|
Ik3cloudUpdatedAt *time.Time `json:"ik3CloudUpdatedAt"`
|
||||||
@@ -98,6 +101,25 @@ func (p *paymentRefund) Add(ctx context.Context, args ArgsPaymentRefundAdd) (pay
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ArgsPaymentRefundGen struct {
|
||||||
|
StaffId int64 // 员工id
|
||||||
|
ReceiptId int64 // 收汇单id
|
||||||
|
FactoryId int64 // 工厂id
|
||||||
|
InvoiceSerial string // 发票号
|
||||||
|
PaymentPurposeNumber string // 原付款用途编码
|
||||||
|
PaymentPurpose string // 原付款用途
|
||||||
|
}
|
||||||
|
|
||||||
|
// Gen @TITLE 生成
|
||||||
|
func (p *paymentRefund) Gen(ctx context.Context, args ArgsPaymentRefundGen) (err error) {
|
||||||
|
xClient, err := client.GetClient(p)
|
||||||
|
if err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
reply := 0
|
||||||
|
return xClient.Call(ctx, "Gen", args, &reply)
|
||||||
|
}
|
||||||
|
|
||||||
// Info @TITLE 详情
|
// Info @TITLE 详情
|
||||||
func (p *paymentRefund) Info(ctx context.Context, paymentRefundId int64) (reply PaymentRefundItem, err error) {
|
func (p *paymentRefund) Info(ctx context.Context, paymentRefundId int64) (reply PaymentRefundItem, err error) {
|
||||||
xClient, err := client.GetClient(p)
|
xClient, err := client.GetClient(p)
|
||||||
@@ -123,6 +145,36 @@ func (p *paymentRefund) Edit(ctx context.Context, args ArgsPaymentRefundEdit) (e
|
|||||||
return xClient.Call(ctx, "Edit", args, &reply)
|
return xClient.Call(ctx, "Edit", args, &reply)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Cancel @TITLE 取消付款退款单
|
||||||
|
func (p *paymentRefund) Cancel(ctx context.Context, paymentRefundId int64) error {
|
||||||
|
xClient, err := client.GetClient(p)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
reply := 0
|
||||||
|
return xClient.Call(ctx, "Cancel", paymentRefundId, &reply)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Confirm @TITLE 确认付款退款单
|
||||||
|
func (p *paymentRefund) Confirm(ctx context.Context, paymentRefundId int64) (err error) {
|
||||||
|
xClient, err := client.GetClient(p)
|
||||||
|
if err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
reply := 0
|
||||||
|
return xClient.Call(ctx, "Confirm", paymentRefundId, &reply)
|
||||||
|
}
|
||||||
|
|
||||||
|
// CancelConfirm @TITLE 取消确认付款退款单
|
||||||
|
func (p *paymentRefund) CancelConfirm(ctx context.Context, paymentRefundId int64) (err error) {
|
||||||
|
xClient, err := client.GetClient(p)
|
||||||
|
if err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
reply := 0
|
||||||
|
return xClient.Call(ctx, "CancelConfirm", paymentRefundId, &reply)
|
||||||
|
}
|
||||||
|
|
||||||
// Ik3cloud @TITLE 金蝶同步
|
// Ik3cloud @TITLE 金蝶同步
|
||||||
func (p *paymentRefund) Ik3cloud(ctx context.Context, paymentRefundId int64) (err error) {
|
func (p *paymentRefund) Ik3cloud(ctx context.Context, paymentRefundId int64) (err error) {
|
||||||
xClient, err := client.GetClient(p)
|
xClient, err := client.GetClient(p)
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ type ProductSearch struct {
|
|||||||
CreatedAtStart *time.Time // 录入开始时间
|
CreatedAtStart *time.Time // 录入开始时间
|
||||||
CreatedAtEnd *time.Time // 录入结束时间
|
CreatedAtEnd *time.Time // 录入结束时间
|
||||||
ParentIds []int64 // 上级id
|
ParentIds []int64 // 上级id
|
||||||
|
FactoryName string // 工厂名称
|
||||||
}
|
}
|
||||||
|
|
||||||
type ProductItem struct {
|
type ProductItem struct {
|
||||||
|
|||||||
@@ -20,6 +20,8 @@ type ReceivableSearch struct {
|
|||||||
ReceivableSerial string // 收款单据号
|
ReceivableSerial string // 收款单据号
|
||||||
CustomId int64 // 客户id
|
CustomId int64 // 客户id
|
||||||
CustomName string // 客户名称
|
CustomName string // 客户名称
|
||||||
|
RecCustomId int64 // 收汇客户id
|
||||||
|
RecCustomName string // 收汇客户名称
|
||||||
InvoiceSerial string // 出运发票号
|
InvoiceSerial string // 出运发票号
|
||||||
InvoiceSerialEq string // 出运发票号
|
InvoiceSerialEq string // 出运发票号
|
||||||
CreatedAtStart *time.Time // 创建开始时间
|
CreatedAtStart *time.Time // 创建开始时间
|
||||||
|
|||||||
@@ -276,3 +276,19 @@ func (r *request) Cancel(ctx context.Context, requestId int64) (err error) {
|
|||||||
reply := 0
|
reply := 0
|
||||||
return xClient.Call(ctx, "Cancel", requestId, &reply)
|
return xClient.Call(ctx, "Cancel", requestId, &reply)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ArgsRequestReject struct {
|
||||||
|
StaffId int64 // 员工id
|
||||||
|
RequestId int64 // 付款申请单id
|
||||||
|
Reason string // 驳回原因
|
||||||
|
}
|
||||||
|
|
||||||
|
// Reject @TITLE 驳回(审核通过且打款状态为待提交时可驳回)
|
||||||
|
func (r *request) Reject(ctx context.Context, args ArgsRequestReject) (err error) {
|
||||||
|
xClient, err := client.GetClient(r)
|
||||||
|
if err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
reply := 0
|
||||||
|
return xClient.Call(ctx, "Reject", args, &reply)
|
||||||
|
}
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ type ChangeProductItem struct {
|
|||||||
Id int64 // 产品id
|
Id int64 // 产品id
|
||||||
SaleCount *int64 // 销售数量
|
SaleCount *int64 // 销售数量
|
||||||
SalePrice *decimal.Decimal // 销售单价
|
SalePrice *decimal.Decimal // 销售单价
|
||||||
|
BoxAmount *decimal.Decimal // 单箱金额
|
||||||
}
|
}
|
||||||
|
|
||||||
// Change @TITLE 编辑商品审核
|
// Change @TITLE 编辑商品审核
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ type ProductListItem struct {
|
|||||||
SaleCount int64 `json:"saleCount"`
|
SaleCount int64 `json:"saleCount"`
|
||||||
SaleAmount decimal.Decimal `json:"saleAmount"`
|
SaleAmount decimal.Decimal `json:"saleAmount"`
|
||||||
BoxCount int64 `json:"boxCount"`
|
BoxCount int64 `json:"boxCount"`
|
||||||
|
BoxAmount decimal.Decimal `json:"boxAmount"`
|
||||||
QuotePrice decimal.Decimal `json:"quotePrice"`
|
QuotePrice decimal.Decimal `json:"quotePrice"`
|
||||||
QuoteFactorySerial string `json:"quoteFactorySerial"`
|
QuoteFactorySerial string `json:"quoteFactorySerial"`
|
||||||
QuoteFactoryId int64 `json:"quoteFactoryId"`
|
QuoteFactoryId int64 `json:"quoteFactoryId"`
|
||||||
@@ -113,6 +114,7 @@ type ProductItem struct {
|
|||||||
SaleCount int64 `json:"saleCount"`
|
SaleCount int64 `json:"saleCount"`
|
||||||
SaleAmount decimal.Decimal `json:"saleAmount"`
|
SaleAmount decimal.Decimal `json:"saleAmount"`
|
||||||
BoxCount int64 `json:"boxCount"`
|
BoxCount int64 `json:"boxCount"`
|
||||||
|
BoxAmount decimal.Decimal `json:"boxAmount"`
|
||||||
QuotePrice decimal.Decimal `json:"quotePrice"`
|
QuotePrice decimal.Decimal `json:"quotePrice"`
|
||||||
QuoteFactorySerial string `json:"quoteFactorySerial"`
|
QuoteFactorySerial string `json:"quoteFactorySerial"`
|
||||||
QuoteFactoryId int64 `json:"quoteFactoryId"`
|
QuoteFactoryId int64 `json:"quoteFactoryId"`
|
||||||
@@ -177,6 +179,7 @@ type ProductAdd struct {
|
|||||||
PackageWeight decimal.Decimal // 包装重量
|
PackageWeight decimal.Decimal // 包装重量
|
||||||
Sort int64 // 排序
|
Sort int64 // 排序
|
||||||
SaleCount int64 // 销售数量/合同数量
|
SaleCount int64 // 销售数量/合同数量
|
||||||
|
BoxAmount decimal.Decimal // 单箱金额(手填)
|
||||||
Packages []ProductPackage // 包装
|
Packages []ProductPackage // 包装
|
||||||
Customs ProductCustoms // 海关
|
Customs ProductCustoms // 海关
|
||||||
Quote ProductQuote // 工厂报价
|
Quote ProductQuote // 工厂报价
|
||||||
@@ -277,6 +280,7 @@ type ReplyProductInfo struct {
|
|||||||
PurchasedCount int64 `json:"purchasedCount"`
|
PurchasedCount int64 `json:"purchasedCount"`
|
||||||
ShipmentCount int64 `json:"shipmentCount"`
|
ShipmentCount int64 `json:"shipmentCount"`
|
||||||
ShippedCount int64 `json:"shippedCount"`
|
ShippedCount int64 `json:"shippedCount"`
|
||||||
|
BoxAmount decimal.Decimal `json:"boxAmount"`
|
||||||
AccountingCount int64 `json:"accountingCount"`
|
AccountingCount int64 `json:"accountingCount"`
|
||||||
AccountedCount int64 `json:"accountedCount"`
|
AccountedCount int64 `json:"accountedCount"`
|
||||||
CreatedAt *time.Time `json:"createdAt"`
|
CreatedAt *time.Time `json:"createdAt"`
|
||||||
@@ -369,6 +373,7 @@ type ProductEdit struct {
|
|||||||
Weight *decimal.Decimal // 重量
|
Weight *decimal.Decimal // 重量
|
||||||
Texture string // 材质
|
Texture string // 材质
|
||||||
SalePrice decimal.Decimal // 销售单价
|
SalePrice decimal.Decimal // 销售单价
|
||||||
|
BoxAmount decimal.Decimal // 单箱金额(手填)
|
||||||
BanFlag int64 // 禁用标记 1=禁用,2=可用
|
BanFlag int64 // 禁用标记 1=禁用,2=可用
|
||||||
Mold int64 // 组成类型 1=单件 2=套件
|
Mold int64 // 组成类型 1=单件 2=套件
|
||||||
MoldCount int64 // 子组件数量
|
MoldCount int64 // 子组件数量
|
||||||
@@ -405,6 +410,7 @@ type MultiData struct {
|
|||||||
QuotePrice decimal.Decimal // 采购单价
|
QuotePrice decimal.Decimal // 采购单价
|
||||||
SalePrice decimal.Decimal // 销售单价
|
SalePrice decimal.Decimal // 销售单价
|
||||||
SaleCount int64 // 销售数量
|
SaleCount int64 // 销售数量
|
||||||
|
BoxAmount decimal.Decimal // 单箱金额(手填)
|
||||||
Info string // 备注
|
Info string // 备注
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ type ArgsMixedList struct {
|
|||||||
}
|
}
|
||||||
type MixedSearch struct {
|
type MixedSearch struct {
|
||||||
InvoiceSerial string // 出运发票号
|
InvoiceSerial string // 出运发票号
|
||||||
|
CreatedStaffId int64 // 创建人(精确筛选)
|
||||||
CreatedStaffIds []int64 // 业务员筛选
|
CreatedStaffIds []int64 // 业务员筛选
|
||||||
}
|
}
|
||||||
type ReplyMixedList struct {
|
type ReplyMixedList struct {
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ type ProductItem struct {
|
|||||||
FactoryName string `json:"factoryName"`
|
FactoryName string `json:"factoryName"`
|
||||||
SalePrice decimal.Decimal `json:"salePrice"`
|
SalePrice decimal.Decimal `json:"salePrice"`
|
||||||
SaleAmount decimal.Decimal `json:"saleAmount"`
|
SaleAmount decimal.Decimal `json:"saleAmount"`
|
||||||
|
BoxAmount decimal.Decimal `json:"boxAmount"`
|
||||||
CustomsPrice decimal.Decimal `json:"customsPrice"`
|
CustomsPrice decimal.Decimal `json:"customsPrice"`
|
||||||
CustomsAmount decimal.Decimal `json:"customsAmount"`
|
CustomsAmount decimal.Decimal `json:"customsAmount"`
|
||||||
OuterLength *decimal.Decimal `json:"outerLength"`
|
OuterLength *decimal.Decimal `json:"outerLength"`
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ type SaleProductItem struct {
|
|||||||
CustomsDetail string `json:"customsDetail"`
|
CustomsDetail string `json:"customsDetail"`
|
||||||
BlEngName string `json:"blEngName"`
|
BlEngName string `json:"blEngName"`
|
||||||
BoxCount int64 `json:"boxCount"`
|
BoxCount int64 `json:"boxCount"`
|
||||||
|
BoxAmount decimal.Decimal `json:"boxAmount"`
|
||||||
InnerNum int64 `json:"innerNum"`
|
InnerNum int64 `json:"innerNum"`
|
||||||
InnerBoxCount *int64 `json:"innerBoxCount"`
|
InnerBoxCount *int64 `json:"innerBoxCount"`
|
||||||
BoxNumUnit string `json:"boxNumUnit"`
|
BoxNumUnit string `json:"boxNumUnit"`
|
||||||
@@ -152,6 +153,7 @@ type SaleProductAdd struct {
|
|||||||
CustomsGrossWeight decimal.Decimal // 报关毛重
|
CustomsGrossWeight decimal.Decimal // 报关毛重
|
||||||
TotalCustomsGrossWeight decimal.Decimal // 报关总毛重
|
TotalCustomsGrossWeight decimal.Decimal // 报关总毛重
|
||||||
SalePrice decimal.Decimal // 销售单价
|
SalePrice decimal.Decimal // 销售单价
|
||||||
|
BoxAmount decimal.Decimal // 单箱金额
|
||||||
CustomsPrice decimal.Decimal // 报关价格
|
CustomsPrice decimal.Decimal // 报关价格
|
||||||
CustomsAmount decimal.Decimal // 报关总价
|
CustomsAmount decimal.Decimal // 报关总价
|
||||||
CustomsBrand string // 品牌
|
CustomsBrand string // 品牌
|
||||||
@@ -223,6 +225,7 @@ type SaleProductEdit struct {
|
|||||||
CustomsGrossWeight decimal.Decimal // 报关毛重
|
CustomsGrossWeight decimal.Decimal // 报关毛重
|
||||||
TotalCustomsGrossWeight decimal.Decimal // 报关总毛重
|
TotalCustomsGrossWeight decimal.Decimal // 报关总毛重
|
||||||
SalePrice decimal.Decimal // 销售单价
|
SalePrice decimal.Decimal // 销售单价
|
||||||
|
BoxAmount decimal.Decimal // 单箱金额
|
||||||
CustomsPrice decimal.Decimal // 报关单价
|
CustomsPrice decimal.Decimal // 报关单价
|
||||||
CustomsAmount decimal.Decimal // 报关总价
|
CustomsAmount decimal.Decimal // 报关总价
|
||||||
CustomsBrand string // 品牌
|
CustomsBrand string // 品牌
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ type SaleProductItem struct {
|
|||||||
CustomsDetail string `json:"customsDetail"`
|
CustomsDetail string `json:"customsDetail"`
|
||||||
BlEngName string `json:"blEngName"`
|
BlEngName string `json:"blEngName"`
|
||||||
BoxCount int64 `json:"boxCount"`
|
BoxCount int64 `json:"boxCount"`
|
||||||
|
BoxAmount decimal.Decimal `json:"boxAmount"`
|
||||||
InnerNum int64 `json:"innerNum"`
|
InnerNum int64 `json:"innerNum"`
|
||||||
InnerBoxCount *int64 `json:"innerBoxCount"`
|
InnerBoxCount *int64 `json:"innerBoxCount"`
|
||||||
BoxNumUnit string `json:"boxNumUnit"`
|
BoxNumUnit string `json:"boxNumUnit"`
|
||||||
@@ -153,6 +154,7 @@ type SaleProductAdd struct {
|
|||||||
CustomsGrossWeight decimal.Decimal // 报关毛重
|
CustomsGrossWeight decimal.Decimal // 报关毛重
|
||||||
TotalCustomsGrossWeight decimal.Decimal // 报关总毛重
|
TotalCustomsGrossWeight decimal.Decimal // 报关总毛重
|
||||||
SalePrice decimal.Decimal // 销售单价
|
SalePrice decimal.Decimal // 销售单价
|
||||||
|
BoxAmount decimal.Decimal // 单箱金额
|
||||||
CustomsPrice decimal.Decimal // 报关价格
|
CustomsPrice decimal.Decimal // 报关价格
|
||||||
CustomsAmount decimal.Decimal // 报关总价
|
CustomsAmount decimal.Decimal // 报关总价
|
||||||
CustomsBrand string // 品牌
|
CustomsBrand string // 品牌
|
||||||
@@ -224,6 +226,7 @@ type SaleProductEdit struct {
|
|||||||
CustomsGrossWeight decimal.Decimal // 报关毛重
|
CustomsGrossWeight decimal.Decimal // 报关毛重
|
||||||
TotalCustomsGrossWeight decimal.Decimal // 报关总毛重
|
TotalCustomsGrossWeight decimal.Decimal // 报关总毛重
|
||||||
SalePrice decimal.Decimal // 销售单价
|
SalePrice decimal.Decimal // 销售单价
|
||||||
|
BoxAmount decimal.Decimal // 单箱金额
|
||||||
CustomsBrand string // 品牌
|
CustomsBrand string // 品牌
|
||||||
CustomsPrice decimal.Decimal // 报关价格
|
CustomsPrice decimal.Decimal // 报关价格
|
||||||
CustomsAmount decimal.Decimal // 报关总价
|
CustomsAmount decimal.Decimal // 报关总价
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ type ArgsFactorySave struct {
|
|||||||
Contacts []FactoryContactItem
|
Contacts []FactoryContactItem
|
||||||
DepartmentNumber string // 部门编号
|
DepartmentNumber string // 部门编号
|
||||||
StaffNumber string // 员工编号
|
StaffNumber string // 员工编号
|
||||||
|
CurrencyNumber string // 币种编号
|
||||||
}
|
}
|
||||||
|
|
||||||
type FactoryContactItem struct {
|
type FactoryContactItem struct {
|
||||||
|
|||||||
@@ -26,10 +26,11 @@ type ArgsPaymentRefundSave struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type PaymentRefundCostItem struct {
|
type PaymentRefundCostItem struct {
|
||||||
PaymentPurpose string // 原付款用途
|
PaymentPurpose string // 原付款用途
|
||||||
Amount decimal.Decimal // 金额
|
Amount decimal.Decimal // 金额
|
||||||
BankAccount string // 我方银行账号
|
BankAccount string // 我方银行账号
|
||||||
InvoiceSerial string // 发票号
|
InvoiceSerial string // 发票号
|
||||||
|
DepartmentNumber string // 部门编码
|
||||||
}
|
}
|
||||||
|
|
||||||
// Save @TITLE 保存付款退款单
|
// Save @TITLE 保存付款退款单
|
||||||
|
|||||||
Reference in New Issue
Block a user