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
ad97e92c
authored
Mar 10, 2021
by
hcy001
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1
parent
01d35bea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Model/InquiryItemsModel.php
app/Model/InquiryItemsModel.php
View file @
ad97e92c
...
...
@@ -402,7 +402,7 @@ class InquiryItemsModel extends Model
$con
->
commit
();
return
[
0
,
'批量导入
报
价成功'
];
return
[
0
,
'批量导入
询
价成功'
];
}
catch
(
\Exception
$e
)
{
$con
->
rollBack
();
return
[
1001
,
"添加失败:"
.
$e
->
getMessage
()];
...
...
@@ -441,7 +441,7 @@ class InquiryItemsModel extends Model
if
(
$c
==
count
(
$v
))
continue
;
array_push
(
$goodsInfo
,
$temp
);
}
if
(
count
(
$goodsInfo
)
==
1
)
return
[
3
,
'未填写报价信息
'
];
if
(
count
(
$goodsInfo
)
==
1
)
return
[
1
,
'询价信息不全
'
];
#验证数据
$CommonModel
=
new
CommonModel
();
...
...
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