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
d9d3a3d3
authored
Mar 16, 2021
by
hcy001
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1
parent
7764861f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
app/Model/InquiryItemsModel.php
app/Model/QuoteModel.php
app/Model/InquiryItemsModel.php
View file @
d9d3a3d3
...
...
@@ -285,6 +285,7 @@ class InquiryItemsModel extends Model
"batch"
=>@
$b
[
"batch"
]
?
$b
[
"batch"
]
:
""
,
"assign_type"
=>@
$b
[
"assign_type"
]
?
$b
[
"assign_type"
]
:
2
,
"remark"
=>@
$b
[
"remark"
]
?
$b
[
"remark"
]
:
""
,
"flag"
=>
0
,
#重新自动报价
"create_time"
=>
time
()
,
"update_time"
=>
time
()
,
];
...
...
app/Model/QuoteModel.php
View file @
d9d3a3d3
...
...
@@ -41,6 +41,9 @@ class QuoteModel extends Model
if
(
!
$list
)
return
[
20001
,
'没有数据'
];
foreach
(
$list
[
'data'
]
as
$k
=>&
$v
){
$v
[
'status'
]
=
QuoteMap
::
$status
[
$v
[
"status"
]];
if
(
$v
[
"create_name"
]
==
"digikey"
){
$v
[
"create_name"
]
=
"digikey(包装:"
.
$v
[
"raw_goods_packing"
]
.
")"
;
}
}
return
[
0
,
'成功'
,
$list
[
'data'
],
$list
[
'total'
]];
}
...
...
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