Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄成意
/
yunxin
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
161beb51
authored
Apr 11, 2019
by
PRY5YKGJ82EZEPX\Administrator
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1.0
parent
429d7d07
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
5 deletions
app/Http/Controllers/ApiController.php
app/Http/Controllers/HelperController.php
app/Jobs/JopExportGoodsList.php
public/pc/js/controller/PurePrice.js
resources/views/pure/PurePrice.blade.php
app/Http/Controllers/ApiController.php
View file @
161beb51
...
...
@@ -85,7 +85,7 @@ class ApiController extends Controller
//入库列表
private
function
ApiPutawayList
(
$request
,
$id
){
$data
=
$request
->
input
();
$data
[
'
is_consign'
]
=
1
;
//供应商代发
$data
[
'
picking_type'
]
=
2
;
//寄售
(
new
ServerPurModel
(
$request
->
appid
,
$request
->
key
))
->
PutawayList
(
$data
);
}
//入库列表详情
...
...
@@ -95,7 +95,7 @@ class ApiController extends Controller
//入库列表导出
private
function
ApiPutawayListExport
(
$request
,
$id
){
$data
=
$request
->
input
();
$data
[
'
is_consign'
]
=
1
;
//供应商代发
$data
[
'
picking_type'
]
=
2
;
//寄售
$id
=
(
new
UploadLogModel
())
->
addLog
(
$request
->
account_id
,
1
,
$data
);
if
(
!
$id
)
return
Export
(
20003
,
'任务推送失败'
);
dispatch
(
new
JopExportPutawayList
(
$id
));
...
...
app/Http/Controllers/HelperController.php
View file @
161beb51
...
...
@@ -21,7 +21,7 @@ class HelperController extends Controller {
//生成验证码图片的Builder对象,配置相应属性
$builder
=
new
CaptchaBuilder
;
$builder
->
setBackgroundColor
(
255
,
255
,
255
);
$builder
->
setPhrase
(
rand
(
1000
0
,
9
9999
));
$builder
->
setPhrase
(
rand
(
1000
,
9999
));
//可以设置图片宽高及字体
$builder
->
build
(
$width
=
120
,
$height
=
30
,
$font
=
null
);
//获取验证码的内容
...
...
app/Jobs/JopExportGoodsList.php
View file @
161beb51
...
...
@@ -74,7 +74,7 @@ class JopExportGoodsList extends Job implements ShouldQueue
'goods_type_name'
=>
$v
[
'goods_type_name'
],
'goods_name'
=>
$v
[
'goods_name'
],
'brand_name'
=>
$v
[
'brand_name'
],
'packing
'
=>
$v
[
'packing
'
],
'packing
_name'
=>
$v
[
'packing_name
'
],
'encap'
=>
$v
[
'encap'
],
'mpq'
=>
$v
[
'mpq'
],
'status_name'
=>
$v
[
'status_name'
],
...
...
public/pc/js/controller/PurePrice.js
View file @
161beb51
...
...
@@ -19,7 +19,7 @@
pageName
:
'p'
//页码的参数名称,默认:page
,
limitName
:
'limit'
//每页数据量的参数名,默认:limit
}
,
where
:
formJson
(
'form1'
)
,
where
:
{
'goods_id'
:
$
(
"#goods_id"
).
val
()}
,
loading
:
true
,
first
:
true
//不显示首页
,
last
:
false
//不显示尾页
...
...
resources/views/pure/PurePrice.blade.php
View file @
161beb51
<div
class=
"table-list"
id=
"shopList"
style=
"width: 95%"
>
<table
class=
"layui-table"
lay-filter=
"test"
id=
"list"
></table>
</div>
<input
type=
"hidden"
value=
"
<?=
$_GET
[
'sku_id'
]
?>
"
id=
"goods_id"
>
\ No newline at end of file
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