Documentation ¶
Index ¶
- Constants
- func AddFeeOnRpTRecpayRecordInfo(feeDate time.Time, feeBrief string, feeAmount float64, signName string, ...) (string, error)
- func DeleteFeeByFeeNo(feeNo string) error
- func GetSubNo(idName string) string
- func UpdateFeeByFeeNo(feeNo string, feeDate time.Time, feeBrief string, feeAmount float64, ...) error
- type BiTSupcustInfo
- type RpTRecpayRecordInfo
- type RpTRecpayRecordItem
- type SpePriceSoldItem
- type SupplierFeeItem
Constants ¶
View Source
const (
//KMJXCConnStr 科脉进销存连接字符串
KMJXCConnStr = "DSN=mssql;UID=km;PWD=kmtech"
)
View Source
const (
//KMJXCFeeSubID 科脉进销存费用id
KMJXCFeeSubID = "kmjxc_fee_sub_id"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BiTSupcustInfo ¶
type BiTSupcustInfo struct { SupcustNo string //供应商编号 SupName string //供应商名称 RegionName string //所属地区 SupMan string //供应商联系人 SupTel string //供应商联系方式 SupCashBankMan string //供应商银行开户名 SupCashBankNo string //供应商银行账号 PaymentList []*RpTRecpayRecordInfo //供应商付款明细 }
BiTSupcustInfo 供应商
func GetBiTSupcupstInfo ¶
func GetBiTSupcupstInfo(supcustNo string) []*BiTSupcustInfo
GetBiTSupcupstInfo 获取供应商信息
type RpTRecpayRecordInfo ¶
type RpTRecpayRecordInfo struct { Supcust *BiTSupcustInfo //供应商信息 SheetNo string //付款单编号 OperName string //操作员 OperDate time.Time //操作日期 ApproveFlag bool //未知 PrintTimes int //打印次数 Detail []*RpTRecpayRecordItem //付款单据明细 FeeDetail []SupplierFeeItem //扣款费用明细 }
RpTRecpayRecordInfo 供应商付款单
func GetRpTRecpayRecordInfoBySheetNo ¶
func GetRpTRecpayRecordInfoBySheetNo(sheetNo string) RpTRecpayRecordInfo
GetRpTRecpayRecordInfoBySheetNo 获取付款汇付单明细
func GetRpTRecpayRecordInfoListBySupcustNo ¶
func GetRpTRecpayRecordInfoListBySupcustNo(supcustNo string) []*RpTRecpayRecordInfo
GetRpTRecpayRecordInfoListBySupcustNo 通过供应商编号获取付款列表
type RpTRecpayRecordItem ¶
type RpTRecpayRecordItem struct { Master *RpTRecpayRecordInfo //主表 SettleNo string //单据编号 SettleDate time.Time //单据日期 SheetAmount float64 //单据总金额 PaidAmount float64 //付款金额 PaidDate time.Time //付款日期 Other1 string //其它1 Other2 string //其它2 Other3 string //其它3 DiscAmt float64 //未知 }
RpTRecpayRecordItem 付款单明细
type SpePriceSoldItem ¶
type SpePriceSoldItem struct { ItemNo string ItemSubno string ItemName string UnitNo string DiaplayFlag bool SalePrice float64 OldPrice float64 SpePrice float64 SoldQnty float64 StartDate time.Time EndDate time.Time Other3 string BranchNo string Price float64 }
SpePriceSoldItem 特价销售明细
func GetSpePriceSoldItems ¶
GetSpePriceSoldItems 获取特价销售明细
type SupplierFeeItem ¶
type SupplierFeeItem struct { FeeNo string `orm:"pk"` //FE费用编码 FeeAmount float64 `orm:"digits(10);decimals(2)"` //费用金额 SupcustNo string //所属供应商 FeeDate time.Time `orm:"type(date)"` //费用所属日期 PaidDate time.Time `orm:"type(date)"` //费用扣取日期 PaidAmount float64 `orm:"digits(10);decimals(2)"` //已扣取金额 FeeBrief string //费用信息 SignName string //申请人 SheetNo string //所属付款单 }
SupplierFeeItem 费用明细
Click to show internal directories.
Click to hide internal directories.