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
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
36 additions
and
44 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 @@
</div>
<GLTable
ref=
"allocationTable"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:searchForm=
"searchFormSearch"
:tableParams=
"tableParams"
:beforeSearchFn=
"beforeSearchFn"
>
<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>
</GLTable>
</div>
...
...
@@ -84,18 +84,15 @@ export default {
tableColumns
:
[
{
label
:
'商品名称'
,
prop
:
'goodsName'
,
width
:
'160px'
prop
:
'goodsName'
},
{
label
:
'系列'
,
prop
:
'sourceMaterialName'
,
width
:
'250px'
prop
:
'sourceMaterialName'
},
{
label
:
'所属分类'
,
prop
:
'goodsTypeName'
,
width
:
'250px'
prop
:
'goodsTypeName'
},
{
label
:
'库存'
,
...
...
@@ -106,8 +103,7 @@ export default {
},
{
label
:
'所属门店'
,
prop
:
'yqMerchantName'
,
width
:
'200px'
prop
:
'yqMerchantName'
}
]
},
...
...
@@ -118,18 +114,15 @@ export default {
tableColumns
:
[
{
label
:
'商品名称'
,
prop
:
'goodsName'
,
width
:
'160px'
prop
:
'goodsName'
},
{
label
:
'系列'
,
prop
:
'sourceMaterialName'
,
width
:
'250px'
prop
:
'sourceMaterialName'
},
{
label
:
'所属分类'
,
prop
:
'goodsTypeName'
,
width
:
'250px'
prop
:
'goodsTypeName'
},
{
label
:
'库存'
,
...
...
src/views/allocation/index.vue
View file @
8fbb396
...
...
@@ -4,9 +4,9 @@
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<div
class=
"table-header"
>
<GLButton
type=
"primary"
size=
"small"
@
click=
"handleAdd"
fn=
"创建调拨"
>
创建调拨
</GLButton>
<GLButton
type=
"primary"
size=
"small"
@
click=
"handleAdd"
fn=
"创建调拨"
>
创建调拨
</GLButton>
<!--
<el-button
type=
"primary"
size=
"small"
@
click=
"handleAdd"
>
创建调拨
</el-button>
-->
<!--
<h2>
调拨列表
</h2>
-->
<!--
<h2>
调拨列表
</h2>
-->
<el-button
type=
"primary"
size=
"small"
@
click=
"exportExcel"
>
导出
</el-button>
</div>
...
...
@@ -111,7 +111,9 @@ export default {
},
{
label
:
'备注'
,
prop
:
'remark'
prop
:
'remark'
,
width
:
200
,
line
:
1
}
]
},
...
...
@@ -151,10 +153,9 @@ export default {
},
// 查看详情
handleDetail
(
row
)
{
this
.
allocationInfo
=
row
this
.
allocationDetailVisible
=
true
console
.
log
(
this
.
allocationDetailVisible
)
console
.
log
(
this
.
allocationDetailVisible
)
},
handleAdd
()
{
this
.
$router
.
push
({
path
:
'/allocation/add'
})
...
...
src/views/check/add.vue
View file @
8fbb396
...
...
@@ -66,18 +66,15 @@ export default {
tableColumns
:
[
{
label
:
'商品名称'
,
prop
:
'goodsName'
,
width
:
'160px'
prop
:
'goodsName'
},
{
label
:
'系列'
,
prop
:
'sourceMaterialName'
,
width
:
'250px'
prop
:
'sourceMaterialName'
},
{
label
:
'所属分类'
,
prop
:
'goodsTypeName'
,
width
:
'250px'
prop
:
'goodsTypeName'
},
{
label
:
'库存'
,
...
...
@@ -88,8 +85,7 @@ export default {
},
{
label
:
'所属门店'
,
prop
:
'yqMerchantName'
,
width
:
'200px'
prop
:
'yqMerchantName'
}
]
},
...
...
src/views/check/index.vue
View file @
8fbb396
...
...
@@ -105,7 +105,9 @@ export default {
},
{
label
:
'备注'
,
prop
:
'remark'
prop
:
'remark'
,
width
:
200
,
line
:
1
},
{
label
:
'凭证'
,
...
...
src/views/earlyWarning/index.vue
View file @
8fbb396
...
...
@@ -4,7 +4,7 @@
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"showFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<div
class=
"table-header"
>
<h2>
库存
预警列表
</h2>
<h2>
预警列表
</h2>
<div>
<el-button
type=
"primary"
size=
"small"
@
click=
"gotoReplenishment"
>
去补货
</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 {
{
label
:
'商品名称'
,
prop
:
'upgradeGoodsName'
,
width
:
160
width
:
180
,
line
:
1
},
{
label
:
'系列'
,
...
...
src/views/stock/index.vue
View file @
8fbb396
...
...
@@ -89,7 +89,8 @@ export default {
{
label
:
'商品名称'
,
prop
:
'upgradeGoodsName'
,
width
:
160
width
:
180
,
line
:
1
},
{
label
:
'系列'
,
...
...
@@ -154,7 +155,7 @@ export default {
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
this
.
tableSearchForm
=
this
.
$common
.
utils
.
deepClone
(
this
.
searchForm
)
this
.
tableSearchForm
.
dataMonth
=
dayjs
(
new
Date
()).
format
(
'YYYY-MM'
)
this
.
tableSearchForm
.
dataMonth
=
dayjs
(
new
Date
()).
format
(
'YYYY-MM'
)
resolve
()
})
},
...
...
@@ -192,14 +193,12 @@ export default {
//接收到的数据为空
this
.
$refs
.
stockRef
.
data
.
length
?
(
this
.
$refs
.
stockRef
.
tableHeightValues
=
''
)
:
this
.
$refs
.
stockRef
.
setTableHeightFun
()
},
exportExcel
()
{
exportExcel
()
{
this
.
exportLoading
=
true
var
params
=
this
.
searchForm
this
.
$apis
.
stockManage
.
exportMerchantExcel
(
params
).
then
(
res
=>
{
window
.
location
.
href
=
res
})
},
handleSearch
()
{
this
.
$refs
.
stockRef
.
refreshTable
()
...
...
@@ -214,7 +213,7 @@ export default {
}
this
.
handleSearch
()
},
dialogClose
()
{
dialogClose
()
{
this
.
stockMonthVisible
=
!
this
.
stockMonthVisible
}
}
...
...
src/views/stock/stockMonthDialog.vue
View file @
8fbb396
<
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"
>
<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-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>
...
...
src/views/warehousing/index.vue
View file @
8fbb396
...
...
@@ -113,11 +113,14 @@ export default {
{
label
:
'商品名称'
,
prop
:
'upgradeGoodsName'
,
width
:
160
width
:
180
,
line
:
1
},
{
label
:
'系列'
,
prop
:
'goodsSeries'
prop
:
'goodsSeries'
,
width
:
150
,
line
:
1
},
{
label
:
'所属分类'
,
...
...
@@ -144,7 +147,7 @@ export default {
{
label
:
'入库类型'
,
prop
:
'increaseStockType'
,
width
:
'100px'
,
width
:
100
,
formatter
:
cellValue
=>
{
return
this
.
baseData
.
storageTypeList
.
find
(
item
=>
item
.
confId
===
cellValue
.
increaseStockType
?.
toString
())?.
confLabel
}
...
...
@@ -282,13 +285,10 @@ export default {
this
.
$router
.
push
(
'/purchaseOrder/add'
)
},
exportExcel
()
{
// this.$messenger.send('ssssssssssssssss')
var
params
=
this
.
getParams
()
this
.
$apis
.
stockManage
.
exportExcel
(
params
).
then
(
res
=>
{
window
.
location
.
href
=
res
})
},
handleSearch
()
{
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