Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
q289089000
server
提交
fd6877bf
S
server
项目概览
q289089000
/
server
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
server
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
fd6877bf
编写于
6月 29, 2021
作者:
q289089000
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6-29
上级
daeb637e
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
43 addition
and
9 deletion
+43
-9
src/controller/shipper-bill/shipper-bill.model.ts
src/controller/shipper-bill/shipper-bill.model.ts
+25
-9
src/controller/shipper/shipper.model.ts
src/controller/shipper/shipper.model.ts
+18
-0
未找到文件。
src/controller/shipper-bill/shipper-bill.model.ts
浏览文件 @
fd6877bf
...
...
@@ -19,38 +19,54 @@ export class ShipperBill extends Document {
shipper
:
string
;
@
Prop
({
default
:
Date
.
now
default
:
new
Date
()
})
date
:
Date
;
//运单号
@
Prop
()
@
Prop
({
default
:
'
000000
'
})
no
:
string
;
//箱数
@
Prop
()
@
Prop
({
default
:
0
})
box
:
number
//收货
@
Prop
()
@
Prop
({
default
:
0
})
got
:
number
//重量
@
Prop
()
@
Prop
({
default
:
0
})
weight
:
number
//大小
@
Prop
()
@
Prop
({
default
:
0
})
size
:
number
//计费单价
@
Prop
()
@
Prop
({
default
:
0
})
price
:
number
//计费方式
@
Prop
()
@
Prop
({
default
:
0
})
paytype
:
number
//总金额
@
Prop
()
@
Prop
({
default
:
0
})
total
:
number
...
...
src/controller/shipper/shipper.model.ts
浏览文件 @
fd6877bf
...
...
@@ -19,6 +19,24 @@ export class Shipper extends Document {
bank
:
string
@
Prop
()
region
:
string
//计费方式 0计件 1计方 2计重
@
Prop
({
default
:
0
,
})
paytype
:
number
//计费单价
@
Prop
({
default
:
0
,
})
paybox
:
number
@
Prop
({
default
:
0
,
})
paysize
:
number
@
Prop
({
default
:
0
,
})
payweight
:
number
}
export
const
ShipperSchema
=
SchemaFactory
.
createForClass
(
Shipper
);
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录