Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
陈婉清
/
scrm-micro-inventory
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8fbb396b
authored
Apr 13, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
9ba6c027
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
30 additions
and
38 deletions
src/views/allocation/add.vue
src/views/allocation/index.vue
src/views/check/add.vue
src/views/check/index.vue
src/views/earlyWarning/index.vue
src/views/outbound/index.vue
src/views/stock/index.vue
src/views/stock/stockMonthDialog.vue
src/views/warehousing/index.vue
src/views/allocation/add.vue
View file @
8fbb396
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
</div>
</div>
<GLTable
ref=
"allocationTable"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:searchForm=
"searchFormSearch"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"allocationTable"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:searchForm=
"searchFormSearch"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
>
<div
slot=
"auth-button"
slot-scope=
"scope"
>
<div
slot=
"auth-button"
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"allocation(scope.scope)"
:disabled=
"setDisabled(scope.scope)"
>
盘点
</el-button>
<el-button
type=
"text"
@
click=
"allocation(scope.scope)"
:disabled=
"setDisabled(scope.scope)"
>
选择
</el-button>
</div>
</div>
</GLTable>
</GLTable>
</div>
</div>
...
@@ -84,18 +84,15 @@ export default {
...
@@ -84,18 +84,15 @@ export default {
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'商品名称'
,
label
:
'商品名称'
,
prop
:
'goodsName'
,
prop
:
'goodsName'
width
:
'160px'
},
},
{
{
label
:
'系列'
,
label
:
'系列'
,
prop
:
'sourceMaterialName'
,
prop
:
'sourceMaterialName'
width
:
'250px'
},
},
{
{
label
:
'所属分类'
,
label
:
'所属分类'
,
prop
:
'goodsTypeName'
,
prop
:
'goodsTypeName'
width
:
'250px'
},
},
{
{
label
:
'库存'
,
label
:
'库存'
,
...
@@ -106,8 +103,7 @@ export default {
...
@@ -106,8 +103,7 @@ export default {
},
},
{
{
label
:
'所属门店'
,
label
:
'所属门店'
,
prop
:
'yqMerchantName'
,
prop
:
'yqMerchantName'
width
:
'200px'
}
}
]
]
},
},
...
@@ -118,18 +114,15 @@ export default {
...
@@ -118,18 +114,15 @@ export default {
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'商品名称'
,
label
:
'商品名称'
,
prop
:
'goodsName'
,
prop
:
'goodsName'
width
:
'160px'
},
},
{
{
label
:
'系列'
,
label
:
'系列'
,
prop
:
'sourceMaterialName'
,
prop
:
'sourceMaterialName'
width
:
'250px'
},
},
{
{
label
:
'所属分类'
,
label
:
'所属分类'
,
prop
:
'goodsTypeName'
,
prop
:
'goodsTypeName'
width
:
'250px'
},
},
{
{
label
:
'库存'
,
label
:
'库存'
,
...
...
src/views/allocation/index.vue
View file @
8fbb396
...
@@ -111,7 +111,9 @@ export default {
...
@@ -111,7 +111,9 @@ export default {
},
},
{
{
label
:
'备注'
,
label
:
'备注'
,
prop
:
'remark'
prop
:
'remark'
,
width
:
200
,
line
:
1
}
}
]
]
},
},
...
@@ -151,7 +153,6 @@ export default {
...
@@ -151,7 +153,6 @@ export default {
},
},
// 查看详情
// 查看详情
handleDetail
(
row
)
{
handleDetail
(
row
)
{
this
.
allocationInfo
=
row
this
.
allocationInfo
=
row
this
.
allocationDetailVisible
=
true
this
.
allocationDetailVisible
=
true
console
.
log
(
this
.
allocationDetailVisible
)
console
.
log
(
this
.
allocationDetailVisible
)
...
...
src/views/check/add.vue
View file @
8fbb396
...
@@ -66,18 +66,15 @@ export default {
...
@@ -66,18 +66,15 @@ export default {
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'商品名称'
,
label
:
'商品名称'
,
prop
:
'goodsName'
,
prop
:
'goodsName'
width
:
'160px'
},
},
{
{
label
:
'系列'
,
label
:
'系列'
,
prop
:
'sourceMaterialName'
,
prop
:
'sourceMaterialName'
width
:
'250px'
},
},
{
{
label
:
'所属分类'
,
label
:
'所属分类'
,
prop
:
'goodsTypeName'
,
prop
:
'goodsTypeName'
width
:
'250px'
},
},
{
{
label
:
'库存'
,
label
:
'库存'
,
...
@@ -88,8 +85,7 @@ export default {
...
@@ -88,8 +85,7 @@ export default {
},
},
{
{
label
:
'所属门店'
,
label
:
'所属门店'
,
prop
:
'yqMerchantName'
,
prop
:
'yqMerchantName'
width
:
'200px'
}
}
]
]
},
},
...
...
src/views/check/index.vue
View file @
8fbb396
...
@@ -105,7 +105,9 @@ export default {
...
@@ -105,7 +105,9 @@ export default {
},
},
{
{
label
:
'备注'
,
label
:
'备注'
,
prop
:
'remark'
prop
:
'remark'
,
width
:
200
,
line
:
1
},
},
{
{
label
:
'凭证'
,
label
:
'凭证'
,
...
...
src/views/earlyWarning/index.vue
View file @
8fbb396
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"container"
>
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<div
class=
"table-header"
>
<div
class=
"table-header"
>
<h2>
库存
预警列表
</h2>
<h2>
预警列表
</h2>
<div>
<div>
<el-button
type=
"primary"
size=
"small"
@
click=
"gotoReplenishment"
>
去补货
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"gotoReplenishment"
>
去补货
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"exportExcel"
>
导出
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"exportExcel"
>
导出
</el-button>
...
...
src/views/outbound/index.vue
View file @
8fbb396
...
@@ -113,7 +113,8 @@ export default {
...
@@ -113,7 +113,8 @@ export default {
{
{
label
:
'商品名称'
,
label
:
'商品名称'
,
prop
:
'upgradeGoodsName'
,
prop
:
'upgradeGoodsName'
,
width
:
160
width
:
180
,
line
:
1
},
},
{
{
label
:
'系列'
,
label
:
'系列'
,
...
...
src/views/stock/index.vue
View file @
8fbb396
...
@@ -89,7 +89,8 @@ export default {
...
@@ -89,7 +89,8 @@ export default {
{
{
label
:
'商品名称'
,
label
:
'商品名称'
,
prop
:
'upgradeGoodsName'
,
prop
:
'upgradeGoodsName'
,
width
:
160
width
:
180
,
line
:
1
},
},
{
{
label
:
'系列'
,
label
:
'系列'
,
...
@@ -196,10 +197,8 @@ export default {
...
@@ -196,10 +197,8 @@ export default {
this
.
exportLoading
=
true
this
.
exportLoading
=
true
var
params
=
this
.
searchForm
var
params
=
this
.
searchForm
this
.
$apis
.
stockManage
.
exportMerchantExcel
(
params
).
then
(
res
=>
{
this
.
$apis
.
stockManage
.
exportMerchantExcel
(
params
).
then
(
res
=>
{
window
.
location
.
href
=
res
window
.
location
.
href
=
res
})
})
},
},
handleSearch
()
{
handleSearch
()
{
this
.
$refs
.
stockRef
.
refreshTable
()
this
.
$refs
.
stockRef
.
refreshTable
()
...
...
src/views/stock/stockMonthDialog.vue
View file @
8fbb396
<
template
>
<
template
>
<GLDialog
class=
"stock-dialog"
v-if=
"stockMonthVisible"
:destroy-on-close=
"true"
bigTitle=
"月度库存结算单"
mode=
"big"
okText=
"关闭"
:visible
.
sync=
"stockMonthVisible"
:close-on-click-modal=
"false"
@
onOk=
"handleClose"
@
onCancel=
"handleClose"
>
<GLDialog
class=
"stock-dialog"
v-if=
"stockMonthVisible"
:destroy-on-close=
"true"
bigTitle=
"月度库存结算单"
mode=
"big"
okText=
"关闭"
:visible
.
sync=
"stockMonthVisible"
:close-on-click-modal=
"false"
@
onOk=
"handleClose"
@
onCancel=
"handleClose"
>
<div
class=
"detail-content"
v-if=
"stockMonthVisible"
>
<div
class=
"detail-content"
v-if=
"stockMonthVisible"
>
<el-form
:inline=
"true"
:model=
"searchForm"
>
<el-form
:inline=
"true"
:model=
"searchForm"
size=
"small"
>
<el-form-item
label=
"年度:"
>
<el-form-item
label=
"年度:"
>
<el-date-picker
v-model=
"searchForm.year"
type=
"year"
placeholder=
"选择年"
value-format=
"yyyy"
format=
"yyyy"
:clearable=
"false"
:picker-options=
"pickerOption"
@
change=
"chooseYear"
></el-date-picker>
<el-date-picker
v-model=
"searchForm.year"
type=
"year"
placeholder=
"选择年"
value-format=
"yyyy"
format=
"yyyy"
:clearable=
"false"
:picker-options=
"pickerOption"
@
change=
"chooseYear"
></el-date-picker>
</el-form-item>
</el-form-item>
...
...
src/views/warehousing/index.vue
View file @
8fbb396
...
@@ -113,11 +113,14 @@ export default {
...
@@ -113,11 +113,14 @@ export default {
{
{
label
:
'商品名称'
,
label
:
'商品名称'
,
prop
:
'upgradeGoodsName'
,
prop
:
'upgradeGoodsName'
,
width
:
160
width
:
180
,
line
:
1
},
},
{
{
label
:
'系列'
,
label
:
'系列'
,
prop
:
'goodsSeries'
prop
:
'goodsSeries'
,
width
:
150
,
line
:
1
},
},
{
{
label
:
'所属分类'
,
label
:
'所属分类'
,
...
@@ -144,7 +147,7 @@ export default {
...
@@ -144,7 +147,7 @@ export default {
{
{
label
:
'入库类型'
,
label
:
'入库类型'
,
prop
:
'increaseStockType'
,
prop
:
'increaseStockType'
,
width
:
'100px'
,
width
:
100
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
this
.
baseData
.
storageTypeList
.
find
(
item
=>
item
.
confId
===
cellValue
.
increaseStockType
?.
toString
())?.
confLabel
return
this
.
baseData
.
storageTypeList
.
find
(
item
=>
item
.
confId
===
cellValue
.
increaseStockType
?.
toString
())?.
confLabel
}
}
...
@@ -282,13 +285,10 @@ export default {
...
@@ -282,13 +285,10 @@ export default {
this
.
$router
.
push
(
'/purchaseOrder/add'
)
this
.
$router
.
push
(
'/purchaseOrder/add'
)
},
},
exportExcel
()
{
exportExcel
()
{
// this.$messenger.send('ssssssssssssssss')
var
params
=
this
.
getParams
()
var
params
=
this
.
getParams
()
this
.
$apis
.
stockManage
.
exportExcel
(
params
).
then
(
res
=>
{
this
.
$apis
.
stockManage
.
exportExcel
(
params
).
then
(
res
=>
{
window
.
location
.
href
=
res
window
.
location
.
href
=
res
})
})
},
},
handleSearch
()
{
handleSearch
()
{
this
.
$refs
.
warehousingRef
.
refreshTable
()
this
.
$refs
.
warehousingRef
.
refreshTable
()
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment