Commit 983c8c81 by 王勇飞

pp

parent adcb37b6
...@@ -43,36 +43,36 @@ module.exports = (db, DataTypes) => { ...@@ -43,36 +43,36 @@ module.exports = (db, DataTypes) => {
type: DataTypes.STRING type: DataTypes.STRING
}, },
product_code: { // 产品编码 product_code: { // 产品编码
allowNull: false, allowNull: true,
type: DataTypes.STRING type: DataTypes.STRING
}, },
product_name: { // 产品名称 product_name: { // 产品名称
allowNull: false, allowNull: true,
type: DataTypes.STRING type: DataTypes.STRING
}, },
service_address: { // 区域地址 service_address: { // 区域地址
allowNull: false, allowNull: true,
type: DataTypes.STRING type: DataTypes.STRING
}, },
delivery_info: { //服务概况 delivery_info: { //服务概况
allowNull: false, allowNull: true,
type: DataTypes.JSON type: DataTypes.JSON
}, },
delivery_status: {// 服务单流转状态 delivery_status: {// 服务单流转状态
allowNull: false, allowNull: true,
type: DataTypes.STRING type: DataTypes.STRING
}, },
master_source_number:{//主订单号 master_source_number:{//主订单号
allowNull: false, allowNull: true,
type: DataTypes.STRING type: DataTypes.STRING
}, },
settle_status: {// 服务单流转状态 settle_status: {// 服务单流转状态
allowNull: false, allowNull: true,
type: DataTypes.STRING, type: DataTypes.STRING,
defaultValue:'waittosettle' defaultValue:'waittosettle'
}, },
selling_price: {//售价 selling_price: {//售价
allowNull: false, allowNull: true,
type: DataTypes.INTEGER type: DataTypes.INTEGER
}, },
cost_price: {//成本价 cost_price: {//成本价
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment