lrf402788946 4 年之前
父节点
当前提交
03526e9329
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/model/order.js

+ 1 - 0
app/model/order.js

@@ -31,6 +31,7 @@ const goods = new Schema({
   weight: { type: Number, maxLength: 200 }, // 重量
   volume: { type: Number, maxLength: 200 }, // 体积
   // 收入部分
+  cvalue: { type: Number, maxLength: 200 }, // 计算数量(根据计费方式,改变这个变量)
   mode: { type: String, maxlength: 200 }, // 计费方式
   price: { type: Number, maxLength: 200 }, // 单价
   taxes: { type: String, maxLength: 200 }, // 税率