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
78dc49e6
authored
May 20, 2021
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整字段
parent
27cc125c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
app/Model/InquiryItemsModel.php
app/Model/InquiryModel.php
app/Model/InquiryItemsModel.php
View file @
78dc49e6
...
...
@@ -238,8 +238,8 @@ class InquiryItemsModel extends Model
"update_time"
=>
time
()
,
];
if
(
isset
(
$b
[
'
no_quote'
])
&&
$b
[
'no
_quote'
]
==
'on'
)
{
// 无需报价,询价状态变为已确定
$insertArr
[
'
no_quote'
]
=
1
;
if
(
isset
(
$b
[
'
is_quote'
])
&&
$b
[
'is
_quote'
]
==
'on'
)
{
// 无需报价,询价状态变为已确定
$insertArr
[
'
is_quote'
]
=
-
1
;
$insertArr
[
'status'
]
=
5
;
}
...
...
@@ -334,10 +334,10 @@ class InquiryItemsModel extends Model
// 无需报价没勾选,则默认为待报价
if
(
isset
(
$b
[
'is_quote'
])
&&
$b
[
'is_quote'
]
==
'on'
)
{
$updateArr
[
'
no_quote'
]
=
1
;
$updateArr
[
'
is_quote'
]
=
-
1
;
$updateArr
[
'status'
]
=
5
;
}
else
{
$updateArr
[
'
no_quote'
]
=
-
1
;
$updateArr
[
'
is_quote'
]
=
1
;
$updateArr
[
'status'
]
=
1
;
}
...
...
app/Model/InquiryModel.php
View file @
78dc49e6
...
...
@@ -186,7 +186,7 @@ class InquiryModel extends Model
}
}
$v
[
'
no_quote_val'
]
=
$v
[
'no
_quote'
]
==
1
?
'是'
:
'否'
;
$v
[
'
is_quote_val'
]
=
$v
[
'is
_quote'
]
==
1
?
'是'
:
'否'
;
}
$data
=
$list
[
'data'
];
if
(
@
$input
[
"is_export"
]
==
1
)
{
#如果是导出
...
...
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