|
@@ -30,7 +30,14 @@ const goods = new Schema({
|
|
|
number: { type: Number, maxLength: 200 },
|
|
|
weight: { type: Number, maxLength: 200 },
|
|
|
volume: { type: Number, maxLength: 200 },
|
|
|
- transport_type: { type: String, maxLength: 200, default: '直达' },
|
|
|
+
|
|
|
+ mode: { type: String, maxlength: 200 },
|
|
|
+ price: { type: Number, maxLength: 200 },
|
|
|
+ taxes: { type: String, maxLength: 200 },
|
|
|
+ sq_ys: { type: Number, maxLength: 200 },
|
|
|
+ sq_ss: { type: Number, maxLength: 200 },
|
|
|
+ sh_ys: { type: Number, maxLength: 200 },
|
|
|
+ sh_ss: { type: Number, maxLength: 200 },
|
|
|
remark: { type: String, maxLength: 200 },
|
|
|
});
|
|
|
|
|
@@ -57,21 +64,6 @@ const recordList = new Schema({
|
|
|
time: { type: String, default: moment().format('YYYY-MM-DD HH:mm:ss') },
|
|
|
});
|
|
|
|
|
|
-
|
|
|
-const goods_bill = new Schema({
|
|
|
- name: { type: String, maxlength: 200 },
|
|
|
- mode: { type: String, maxlength: 200 },
|
|
|
- number: { type: Number, maxLength: 200 },
|
|
|
- weight: { type: Number, maxLength: 200 },
|
|
|
- volume: { type: Number, maxLength: 200 },
|
|
|
- price: { type: Number, maxLength: 200 },
|
|
|
- taxes: { type: String, maxLength: 200 },
|
|
|
- sq_ys: { type: Number, maxLength: 200 },
|
|
|
- sq_ss: { type: Number, maxLength: 200 },
|
|
|
- sh_ys: { type: Number, maxLength: 200 },
|
|
|
- sh_ss: { type: Number, maxLength: 200 },
|
|
|
-});
|
|
|
-
|
|
|
|
|
|
const cost_bill = new Schema({
|
|
|
item: { type: String, maxlength: 200 },
|
|
@@ -165,11 +157,6 @@ const order = {
|
|
|
remark: '货物录入后,同时进入这里,这里的货物供拆分使用',
|
|
|
},
|
|
|
},
|
|
|
- goods_bill: {
|
|
|
- type: [ goods_bill ],
|
|
|
- maxLength: 200,
|
|
|
- field: { label: '货物收入单据' },
|
|
|
- },
|
|
|
in_bill: {
|
|
|
type: [ cost_bill ],
|
|
|
maxLength: 200,
|