Commit bd8bcb17 by 孙亚楠

dd

parent 35a21629
...@@ -8,11 +8,8 @@ const moment = require('moment') ...@@ -8,11 +8,8 @@ const moment = require('moment')
module.exports = (db, DataTypes) => { module.exports = (db, DataTypes) => {
return db.define("iinvoice", { return db.define("iinvoice", {
// id: { type: DataTypes.STRING(32), allowNull: true, comment: "" },
channel_id: { type: DataTypes.STRING(32), allowNull: true, defaultValue: "", COMMENT: '渠道id' }, channel_id: { type: DataTypes.STRING(32), allowNull: true, defaultValue: "", COMMENT: '渠道id' },
province: { type: DataTypes.STRING(10), allowNull: true, comment: "发票对应省份" },
invoice_type: { type: DataTypes.STRING(4), allowNull: true, comment: '发票类型 10 增值税专用发票 20 增值税普通发票 30 普通发票' }, invoice_type: { type: DataTypes.STRING(4), allowNull: true, comment: '发票类型 10 增值税专用发票 20 增值税普通发票 30 普通发票' },
invoice_join: { type: DataTypes.STRING(4), allowNull: true, comment: '发票联次 10 记账联 20 发票联 30 抵扣联 40 销售方次' },
invoice_no: { type: DataTypes.STRING(20), allowNull: true,delaultValue:"", comment: "发票代码" }, invoice_no: { type: DataTypes.STRING(20), allowNull: true,delaultValue:"", comment: "发票代码" },
invoice_number: { type: DataTypes.STRING(20), allowNull: true,delaultValue:"", comment: "发票号码" }, invoice_number: { type: DataTypes.STRING(20), allowNull: true,delaultValue:"", comment: "发票号码" },
invoice_time: { type: DataTypes.DATE, allowNull: true, delaultValue:null,comment: "开票日期" }, invoice_time: { type: DataTypes.DATE, allowNull: true, delaultValue:null,comment: "开票日期" },
......
...@@ -9,11 +9,6 @@ module.exports = (db, DataTypes) => { ...@@ -9,11 +9,6 @@ module.exports = (db, DataTypes) => {
deliver_id: { type: DataTypes.STRING, field: 'deliver_id', allowNull: true, comment: '交付商id' }, deliver_id: { type: DataTypes.STRING, field: 'deliver_id', allowNull: true, comment: '交付商id' },
deliver_name: { type: DataTypes.STRING, field: 'deliver_name', allowNull: true, comment: '交付商id' }, deliver_name: { type: DataTypes.STRING, field: 'deliver_name', allowNull: true, comment: '交付商id' },
deliver_delive: { type: DataTypes.BIGINT, field: 'deliver_delive', allowNull: true, defaultValue:0, comment: '交付商分成' }, deliver_delive: { type: DataTypes.BIGINT, field: 'deliver_delive', allowNull: true, defaultValue:0, comment: '交付商分成' },
deliver_mail_addr: { type: DataTypes.STRING, field: 'deliver_mail_addr', allowNull: true, comment: '交付地址' },
deliver_mail_to: { type: DataTypes.STRING, field: 'deliver_mail_to', allowNull: true, comment: '收件人' },
deliver_mail_mobile: { type: DataTypes.STRING, field: 'deliver_mail_mobile', allowNull: true, comment: '联系电话' },
audit_content: { type: DataTypes.STRING, field: 'audit_content', allowNull: true, defaultValue: "", comment: '交付审核内容' },
deliver_content: { type: DataTypes.STRING, field: 'deliver_content', allowNull: true, defaultValue: "", comment: '交付内容' },
deliver_mail_no: { type: DataTypes.STRING, field: 'deliver_mail_no', allowNull: true, defaultValue: "", comment: '交付商交付快递单号' }, deliver_mail_no: { type: DataTypes.STRING, field: 'deliver_mail_no', allowNull: true, defaultValue: "", comment: '交付商交付快递单号' },
deliver_img: { type: DataTypes.STRING, field: 'deliver_img', allowNull: true, defaultValue: "", comment: '交接单' }, deliver_img: { type: DataTypes.STRING, field: 'deliver_img', allowNull: true, defaultValue: "", comment: '交接单' },
operator_id: { type: DataTypes.STRING, field: 'operator_id', allowNull: true, defaultValue:"", comment: '交付商业务员id' }, operator_id: { type: DataTypes.STRING, field: 'operator_id', allowNull: true, defaultValue:"", comment: '交付商业务员id' },
......
...@@ -10,7 +10,6 @@ module.exports = function (db, DataTypes) { ...@@ -10,7 +10,6 @@ module.exports = function (db, DataTypes) {
audit_content: { type: DataTypes.STRING, allowNull: true, comment: '交付审核内容 /审核备注' }, audit_content: { type: DataTypes.STRING, allowNull: true, comment: '交付审核内容 /审核备注' },
deliver_content: { type: DataTypes.STRING, allowNull: true, comment: '交付内容' }, deliver_content: { type: DataTypes.STRING, allowNull: true, comment: '交付内容' },
deliver_mail_no: { type: DataTypes.STRING, allowNull: true, comment: '交付商交付快递单号' }, deliver_mail_no: { type: DataTypes.STRING, allowNull: true, comment: '交付商交付快递单号' },
deliver_img: { type: DataTypes.STRING, allowNull: true, comment: '交接单' },
audit_result: { type: DataTypes.STRING, field: 'audit_result', allowNull: true,defaultValue:'', comment:'审核结果'}, audit_result: { type: DataTypes.STRING, field: 'audit_result', allowNull: true,defaultValue:'', comment:'审核结果'},
created_at: { type: DataTypes.DATE, field: 'created_at', allowNull: false, defaultValue: DataTypes.NOW }, created_at: { type: DataTypes.DATE, field: 'created_at', allowNull: false, defaultValue: DataTypes.NOW },
updated_at: { type: DataTypes.DATE, field: 'updated_at', allowNull: false, defaultValue: DataTypes.NOW }, updated_at: { type: DataTypes.DATE, field: 'updated_at', allowNull: false, defaultValue: DataTypes.NOW },
......
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