Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
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
759f6450
authored
Oct 09, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
日志
parent
18ca01ad
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
7 deletions
src/views/OrderTrack/goods.vue
src/views/OrderTrack/invoice.vue
src/views/Store/goodslist.vue
src/views/OrderTrack/goods.vue
View file @
759f6450
<
template
>
<section
class=
"goods pagex"
>
<div
class=
"goods-con"
>
<el-form
:inline=
"true"
:model=
"formInline"
label-width=
"
8
0px"
ref=
"formInline"
>
<el-form
:inline=
"true"
:model=
"formInline"
label-width=
"
10
0px"
ref=
"formInline"
>
<el-form-item
label=
"型号"
prop=
"goods_name"
>
<el-autocomplete
v-model=
"formInline.goods_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"onSubmit"
:fetch-suggestions=
"querySearchAsync"
placeholder=
"请输入型号"
clearable
></el-autocomplete>
</el-form-item>
...
...
@@ -35,7 +35,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
"报价单号"
prop=
"quote_sn"
>
<el-input
v-model=
"formInline.quote_sn"
placeholder=
"请输入型号"
@
keyup
.
enter
.
native=
"submit"
></el-input>
<el-input
v-model=
"formInline.quote_sn"
placeholder=
"请输入型号"
@
keyup
.
enter
.
native=
"submit"
style=
"width: 193px;"
></el-input>
</el-form-item>
<el-form-item
label=
"订单来源"
prop=
"source_type"
>
<el-select
v-model=
"formInline.source_type"
placeholder=
"请选择"
>
...
...
@@ -89,12 +89,24 @@
<el-table-column
prop=
"purchase_amount"
label=
"订单金额"
min-width=
"110"
></el-table-column>
<el-table-column
prop=
"purchase_name"
label=
"订单人员"
width=
"100"
></el-table-column>
<el-table-column
prop=
"source_type"
label=
"订单来源"
width=
"100"
></el-table-column>
<el-table-column
prop=
"create_time"
label=
"创建时间"
min-width=
"150"
></el-table-column>
<el-table-column
prop=
"create_time"
label=
"创建时间"
width=
"150"
></el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"120"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"handleClick(scope.row)"
type=
"primary"
size=
"small"
>
查看日志
</el-button>
</
template
>
</el-table-column>
</el-table>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:page-sizes=
"[10, 20, 50, 100, 200]"
:total=
"total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"page"
></el-pagination>
</div>
</div>
<Menu/>
<el-dialog
title=
"订单日志"
:close-on-click-modal=
"false"
:visible
.
sync=
"dialogVisible"
width=
"1000px"
>
<el-table
:data=
"tableData"
border
max-height=
"600"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
prop=
"currency_val"
label=
"时间"
min-width=
"150"
align=
"center"
></el-table-column>
<el-table-column
prop=
"purchase_amount"
label=
"操作说明"
min-width=
"150"
align=
"center"
></el-table-column>
<el-table-column
prop=
"purchase_name"
label=
"操作人"
min-width=
"150"
align=
"center"
></el-table-column>
</el-table>
</el-dialog>
</section>
</template>
<
script
>
...
...
@@ -112,6 +124,7 @@ export default {
total
:
0
,
limit
:
10
,
page
:
1
,
dialogVisible
:
false
,
formInline
:
{
goods_name
:
''
,
brand_name
:
''
,
...
...
@@ -164,6 +177,10 @@ export default {
this
.
limit
=
val
;
this
.
getData
();
},
handleClick
(
row
)
{
this
.
dialogVisible
=
true
;
console
.
log
(
row
);
},
submit
()
{
this
.
page
=
1
;
this
.
getData
();
...
...
src/views/OrderTrack/invoice.vue
View file @
759f6450
...
...
@@ -6,12 +6,10 @@
<el-input
v-model=
"formInline.stock_in_sn"
placeholder=
"请输入发货单号"
></el-input>
</el-form-item>
<el-form-item
label=
"型号"
prop=
"goods_name"
>
<el-autocomplete
v-model=
"formInline.goods_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"onSubmit"
:fetch-suggestions=
"querySearchAsync"
placeholder=
"请输入型号"
clearable
></el-autocomplete>
<el-autocomplete
v-model=
"formInline.goods_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"onSubmit"
:fetch-suggestions=
"querySearchAsync"
placeholder=
"请输入型号"
clearable
></el-autocomplete>
</el-form-item>
<el-form-item
label=
"品牌"
prop=
"brand_name"
>
<el-autocomplete
v-model=
"formInline.brand_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"onSubmit"
:fetch-suggestions=
"querySearchAsyncBrand"
placeholder=
"请输入品牌"
clearable
></el-autocomplete>
<el-autocomplete
v-model=
"formInline.brand_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"onSubmit"
:fetch-suggestions=
"querySearchAsyncBrand"
placeholder=
"请输入品牌"
clearable
></el-autocomplete>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-select
v-model=
"formInline.status"
placeholder=
"请选择"
>
...
...
@@ -49,11 +47,23 @@
<el-table-column
prop=
"create_time"
label=
"创建时间"
width=
"150"
></el-table-column>
<el-table-column
prop=
"create_name"
label=
"创建人"
min-width=
"100"
></el-table-column>
<el-table-column
prop=
"purchase_name"
label=
"订单人员"
min-width=
"100"
></el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"120"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"handleClick(scope.row)"
type=
"primary"
size=
"small"
>
查看日志
</el-button>
</
template
>
</el-table-column>
</el-table>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:page-sizes=
"[10, 20, 50, 100, 200]"
:total=
"total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"page"
></el-pagination>
</div>
</div>
<Menu/>
<el-dialog
title=
"发货单日志"
:close-on-click-modal=
"false"
:visible
.
sync=
"dialogVisible"
width=
"1000px"
>
<el-table
:data=
"tableData"
border
max-height=
"600"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
prop=
"currency_val"
label=
"时间"
min-width=
"150"
align=
"center"
></el-table-column>
<el-table-column
prop=
"purchase_amount"
label=
"操作说明"
min-width=
"150"
align=
"center"
></el-table-column>
<el-table-column
prop=
"purchase_name"
label=
"操作人"
min-width=
"150"
align=
"center"
></el-table-column>
</el-table>
</el-dialog>
</section>
</template>
<
script
>
...
...
@@ -71,6 +81,7 @@ export default {
total
:
0
,
limit
:
10
,
page
:
1
,
dialogVisible
:
false
,
formInline
:
{
stock_in_sn
:
""
,
goods_name
:
''
,
...
...
@@ -114,6 +125,10 @@ export default {
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
},
handleClick
(
row
)
{
this
.
dialogVisible
=
true
;
console
.
log
(
row
);
},
submit
()
{
this
.
page
=
1
;
this
.
getData
();
...
...
src/views/Store/goodslist.vue
View file @
759f6450
...
...
@@ -42,6 +42,11 @@
</
template
>
</el-table-column>
<el-table-column
prop=
"create_time"
label=
"创建时间"
width=
"160"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"120"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"handleClick(scope.row)"
type=
"primary"
size=
"small"
>
查看日志
</el-button>
</
template
>
</el-table-column>
</el-table>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:page-sizes=
"[10, 20, 50, 100, 200]"
:total=
"total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"page"
></el-pagination>
</div>
...
...
@@ -276,6 +281,13 @@
<el-button
type=
"primary"
@
click=
"updateBestgoodsSubmit"
>
确 定
</el-button>
</div>
</el-dialog>
<el-dialog
title=
"优势货源日志"
:close-on-click-modal=
"false"
:visible
.
sync=
"dialogVisible"
width=
"1000px"
>
<el-table
:data=
"tableData"
border
max-height=
"600"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
prop=
"currency_val"
label=
"时间"
min-width=
"150"
align=
"center"
></el-table-column>
<el-table-column
prop=
"purchase_amount"
label=
"操作说明"
min-width=
"150"
align=
"center"
></el-table-column>
<el-table-column
prop=
"purchase_name"
label=
"操作人"
min-width=
"150"
align=
"center"
></el-table-column>
</el-table>
</el-dialog>
</section>
</template>
<
script
>
...
...
@@ -296,6 +308,7 @@ export default {
page
:
1
,
limit
:
10
,
list
:
[],
dialogVisible
:
false
,
visible
:
[
false
],
//批次弹窗
visibleUpdate
:
[
false
],
//更新批次弹窗
readonly
:
true
,
...
...
@@ -351,6 +364,10 @@ export default {
this
.
getData
()
},
methods
:
{
handleClick
(
row
)
{
this
.
dialogVisible
=
true
;
console
.
log
(
row
);
},
//新增优势货源弹窗
addBestgoodsChange
()
{
this
.
addBestgoods
.
dialogVisible
=
true
;
...
...
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