Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
bd8bcb17
Commit
bd8bcb17
authored
Mar 12, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
35a21629
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
9 deletions
+0
-9
xggsve-invoice/app/base/db/models/invoice/iinvoice.js
+0
-3
xggsve-invoice/app/base/db/models/invoice/iinvoicedeliver.js
+0
-5
xggsve-invoice/app/base/db/models/invoice/iinvoiceinforeg.js
+0
-1
No files found.
xggsve-invoice/app/base/db/models/invoice/iinvoice.js
View file @
bd8bcb17
...
@@ -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
:
"开票日期"
},
...
...
xggsve-invoice/app/base/db/models/invoice/iinvoicedeliver.js
View file @
bd8bcb17
...
@@ -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'
},
...
...
xggsve-invoice/app/base/db/models/invoice/iinvoiceinforeg.js
View file @
bd8bcb17
...
@@ -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
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment