Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄成意
/
php_frq_api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f6b88b57
authored
Mar 26, 2021
by
hcy001
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1
parent
6f1500da
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
app/Model/InquiryItemsReportModel.php
app/Model/InquiryItemsReportModel.php
View file @
f6b88b57
...
@@ -118,6 +118,7 @@ class InquiryItemsReportModel extends Model
...
@@ -118,6 +118,7 @@ class InquiryItemsReportModel extends Model
$inquiry_items_id
=
$data
[
"inquiry_items_id"
];
#询价明细id
$inquiry_items_id
=
$data
[
"inquiry_items_id"
];
#询价明细id
$quote_id
=
$data
[
"quote_id"
];
#报价id
$quote_id
=
$data
[
"quote_id"
];
#报价id
$status
=
$data
[
"status"
];
#状态: 2 选中 3 确定
$status
=
$data
[
"status"
];
#状态: 2 选中 3 确定
$delivery_time
=
$data
[
"delivery_time"
];
#货期
$price
=
@
$data
[
"price"
]
?
$data
[
"price"
]
:
0
;
#销售报价
$price
=
@
$data
[
"price"
]
?
$data
[
"price"
]
:
0
;
#销售报价
if
(
$inquiry_items_id
<=
0
)
return
[
1001
,
"询价明细ID不得为空"
];
if
(
$inquiry_items_id
<=
0
)
return
[
1001
,
"询价明细ID不得为空"
];
...
@@ -163,8 +164,9 @@ class InquiryItemsReportModel extends Model
...
@@ -163,8 +164,9 @@ class InquiryItemsReportModel extends Model
"class_id2_name"
=>
$quoteItem
[
"class_id2_name"
],
"class_id2_name"
=>
$quoteItem
[
"class_id2_name"
],
"price_rmb"
=>
$price_rmb
,
"price_rmb"
=>
$price_rmb
,
"price_origin"
=>
$price_origin
,
"price_origin"
=>
$price_origin
,
"price_profile"
=>
$price
,
"inquiry_number"
=>
$quoteItem
[
"quote_number"
],
"inquiry_number"
=>
$quoteItem
[
"quote_number"
],
"delivery_time"
=>
$
quoteItem
[
"delivery_time"
]
,
"delivery_time"
=>
$
delivery_time
,
"batch"
=>
$quoteItem
[
"batch"
],
"batch"
=>
$quoteItem
[
"batch"
],
"create_time"
=>
time
()
,
"create_time"
=>
time
()
,
];
];
...
...
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