Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
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
8ff6b3d5
authored
May 25, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
供应商查询
parent
eb57aa5e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
resources/views/script/QuerySupplierScript.blade.php
resources/views/web/QuerySupplier.blade.php
resources/views/script/QuerySupplierScript.blade.php
View file @
8ff6b3d5
...
@@ -18,9 +18,9 @@
...
@@ -18,9 +18,9 @@
}
else
{
}
else
{
if
(
res
.
err_code
===
0
)
{
if
(
res
.
err_code
===
0
)
{
let
exists
=
res
.
data
.
supplier_id
?
'是
'
:
'否
'
;
let
exists
=
res
.
data
.
supplier_id
?
'是
(无需新建)'
:
'否(可以新建)
'
;
$
(
'#exists'
).
text
(
exists
);
$
(
'#exists'
).
text
(
exists
);
let
uploadedSku
=
res
.
data
.
uploaded_sku
?
'是
'
:
'否
'
;
let
uploadedSku
=
res
.
data
.
uploaded_sku
?
'是
(有上传过sku)'
:
'否(没有上传过sku)
'
;
$
(
'#uploaded_sku'
).
text
(
uploadedSku
);
$
(
'#uploaded_sku'
).
text
(
uploadedSku
);
let
isYunxinSupplier
=
res
.
data
.
is_yunxin_supplier
?
'是'
:
'否'
;
let
isYunxinSupplier
=
res
.
data
.
is_yunxin_supplier
?
'是'
:
'否'
;
$
(
'#is_yunxin_supplier'
).
text
(
isYunxinSupplier
);
$
(
'#is_yunxin_supplier'
).
text
(
isYunxinSupplier
);
...
...
resources/views/web/QuerySupplier.blade.php
View file @
8ff6b3d5
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<label
class=
"layui-form-label"
><span
class=
"require"
>
*
</span>
名称
</label>
<label
class=
"layui-form-label"
><span
class=
"require"
>
*
</span>
名称
</label>
<div
class=
"layui-input-block block-42"
>
<div
class=
"layui-input-block block-42"
>
<input
type=
"text"
name=
"supplier_name"
id=
"supplier_name"
<input
type=
"text"
name=
"supplier_name"
id=
"supplier_name"
placeholder=
"请输入供应商名称"
class=
"layui-input"
placeholder=
"请输入供应商名称
(全称)
"
class=
"layui-input"
value=
""
>
value=
""
>
</div>
</div>
</div>
</div>
...
...
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