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
983c8c81
Commit
983c8c81
authored
Jul 31, 2020
by
王勇飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pp
parent
adcb37b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
ic-deliver/app/base/db/models/delivery/delivery_bill.js
+8
-8
No files found.
ic-deliver/app/base/db/models/delivery/delivery_bill.js
View file @
983c8c81
...
@@ -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
:
fals
e
,
allowNull
:
tru
e
,
type
:
DataTypes
.
STRING
type
:
DataTypes
.
STRING
},
},
product_name
:
{
// 产品名称
product_name
:
{
// 产品名称
allowNull
:
fals
e
,
allowNull
:
tru
e
,
type
:
DataTypes
.
STRING
type
:
DataTypes
.
STRING
},
},
service_address
:
{
// 区域地址
service_address
:
{
// 区域地址
allowNull
:
fals
e
,
allowNull
:
tru
e
,
type
:
DataTypes
.
STRING
type
:
DataTypes
.
STRING
},
},
delivery_info
:
{
//服务概况
delivery_info
:
{
//服务概况
allowNull
:
fals
e
,
allowNull
:
tru
e
,
type
:
DataTypes
.
JSON
type
:
DataTypes
.
JSON
},
},
delivery_status
:
{
// 服务单流转状态
delivery_status
:
{
// 服务单流转状态
allowNull
:
fals
e
,
allowNull
:
tru
e
,
type
:
DataTypes
.
STRING
type
:
DataTypes
.
STRING
},
},
master_source_number
:{
//主订单号
master_source_number
:{
//主订单号
allowNull
:
fals
e
,
allowNull
:
tru
e
,
type
:
DataTypes
.
STRING
type
:
DataTypes
.
STRING
},
},
settle_status
:
{
// 服务单流转状态
settle_status
:
{
// 服务单流转状态
allowNull
:
fals
e
,
allowNull
:
tru
e
,
type
:
DataTypes
.
STRING
,
type
:
DataTypes
.
STRING
,
defaultValue
:
'waittosettle'
defaultValue
:
'waittosettle'
},
},
selling_price
:
{
//售价
selling_price
:
{
//售价
allowNull
:
fals
e
,
allowNull
:
tru
e
,
type
:
DataTypes
.
INTEGER
type
:
DataTypes
.
INTEGER
},
},
cost_price
:
{
//成本价
cost_price
:
{
//成本价
...
...
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