<span style="font-family: Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255);">制单管理:主要功能是进行国际正式制单</span><span style="font-family: 'Times New Roman'; background-color: rgb(255, 255, 255);">,</span><span style="font-family: 宋体; background-color: rgb(255, 255, 255);">国际公务制单及运单承运信息,日志信息不正常登记信息的查询,运单的修改,作废等处理。当在制单页面输入运单号按</span><span style="font-family: 'Times New Roman'; background-color: rgb(255, 255, 255);">Tab</span><span style="font-family: 宋体; background-color: rgb(255, 255, 255);">键,若运单号已制单则可以提取相关信息,若还没进行制单则可以进行制单操作。运单在生成后的操作中的操作会生成运单日志,在运单查询页面可查看。</span>
1.8.1提取已制单运单信息
在输入运单号码时,系统会根据用户输入的数字自动检索出已制单的运单号码,选中已制单号码按Tab键可提取出运单制单信息。
1.8.1(图1)
1.8.1(图2)
从界面上可以看到我们这里用到的控件有
控件名称 |
说明 |
下拉框(ComboBox) |
选择数据类型 |
文本框(TextBox) |
输入制单内容 |
按钮(Button) |
实现对应功能 |
表格(DataGridView) |
承载数据 |
第一步:数据库
这是制单模块涉及的主要操作表:
1.8.1(图3)
dbo.PW_WaybillTable
主键(s): WaybillID
列名 |
数据类型 |
Nulls? |
说明 |
WaybillID |
int - Identity |
No |
运单ID
|
WaybillMarkPrefix |
nchar (10) |
Yes |
运单号前缀
|
WaybillNumber |
nchar (20) |
Yes |
运单号码
|
InceptionPointID |
int |
Yes |
起点站ID
|
CarrierID1 |
int |
Yes |
承运人ID1
|
ArrivePointID1 |
int |
Yes |
到达站ID1
|
CarrierID2 |
int |
Yes |
承运人ID2
|
ArrivePointID2 |
int |
Yes |
到达站ID2
|
CarrierID3 |
int |
Yes |
承运人ID3
|
ArrivePointID3 |
int |
Yes |
到达站ID3
|
ObjectiveStandID |
int |
Yes |
目的站ID
|
DeliverGoodsID |
int |
Yes |
发货人ID
|
ConsigneeID |
int |
Yes |
收货人ID
|
AttributeList_WeightUnitID |
nchar (10) |
Yes |
重量单位ID
|
AttributeList_VolumeUnitID |
nchar (10) |
Yes |
体积单位ID
|
CargoTypeID |
int |
Yes |
货物类型ID
|
PackTypeID |
int |
Yes |
包装类型ID
|
AlwaysCargoName |
nchar (100) |
Yes |
总货物品名
|
AlwaysCargoNumber |
nchar (10) |
Yes |
总货物件数
|
AlwaysSLACNumber |
nchar (10) |
Yes |
总SLAC件数
|
TotalVolume |
nchar (10) |
Yes |
总体积
|
AlwaysWeight |
nchar (10) |
Yes |
总重量
|
GrossFeeWeight |
nchar (10) |
Yes |
总计费重量
|
AlwaysFreight |
nchar (100) |
Yes |
总运价
|
AttributeList_WaybillStateID |
nchar (10) |
Yes |
运单状态ID
|
WaybillTypeID |
int |
Yes |
运单类型ID
|
InsureStatementValue |
nchar (10) |
Yes |
保险声明价值
|
SettleAccountsAttention |
nchar (50) |
Yes |
结算注意
|
PickUpGoodsDoBusineessDotID |
int |
Yes |
提货营业点ID
|
TransportStatementValue |
nchar (10) |
Yes |
运输声明价值
|
SecurityOfficer |
nchar (10) |
Yes |
安检员
|
CustomsStatementValue |
nchar (10) |
Yes |
海关声明价值
|
AttributeList_InceptionPointCoinSeedID |
nchar (10) |
Yes |
起点站币种ID
|
AttributeList_ObjectiveStandCoinSeedID |
nchar (10) |
Yes |
目的站币种ID
|
Parities |
decimal (18, 2) |
Yes |
汇率
|
StoreAnnouncementsInformationID |
int |
Yes |
储运注意事项信息ID
|
InceptionPointStorageID |
int |
Yes |
起点站点仓库ID
|
ObjectiveStandStorageID |
int |
Yes |
目的站点仓库ID
|
MakeSinglePerson |
nchar (10) |
Yes |
制单人
|
MakeSingleTime |
datetime |
Yes |
制单时间
|
MakeSingleDoBusineessDot |