提交 fd6877bf 编写于 作者: q289089000's avatar q289089000

6-29

上级 daeb637e
......@@ -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
......
......@@ -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.
先完成此消息的编辑!
想要评论请 注册