Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
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 2cfaac56
authored
Jun 02, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式调整
1 parent
4e758dfb
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
79 deletions
src/views/allocation/allocationDetailDialog.vue
src/views/check/inventoryDetailDialog.vue
src/views/outbound/index.vue
src/views/stock/stockDetailDialog.vue
src/views/stock/stockMonthDialog.vue
src/views/warehousing/index.vue
src/views/allocation/allocationDetailDialog.vue
View file @
2cfaac5
<!-- 盘点详情弹窗弹窗 -->
<!-- 盘点详情弹窗弹窗 -->
<
template
>
<
template
>
<GLDialog
bigTitle=
"详细信息"
:visible
.
sync=
"allocationDetailVisible"
class=
"inventoryDetailDailog"
mode=
"big"
okText=
"关闭"
<GLDialog
bigTitle=
"详细信息"
:visible
.
sync=
"allocationDetailVisible"
class=
"inventoryDetailDailog"
mode=
"big"
okText=
"关闭"
@
onCancel=
"handleClose"
@
onOk=
"handleClose"
>
@
onCancel=
"handleClose"
@
onOk=
"handleClose"
:before-close=
"handleClose"
:hasFooter=
"false"
>
<div>
<div>
<div
class=
"d2-container-content"
>
<div
class=
"d2-container-content"
>
<GLTable
ref=
"recordTable"
:getListApi=
"getListApi"
:searchForm=
"searchFormSearch"
:tableParams=
"tableParams"
<GLTable
ref=
"recordTable"
:getListApi=
"getListApi"
:searchForm=
"searchFormSearch"
:tableParams=
"tableParams"
...
@@ -9,9 +9,9 @@
...
@@ -9,9 +9,9 @@
</GLTable>
</GLTable>
</div>
</div>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<
!--
<
span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleClose"
>
关闭
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleClose"
>
关闭
</el-button>
</span>
</span>
-->
</GLDialog>
</GLDialog>
</
template
>
</
template
>
...
...
src/views/check/inventoryDetailDialog.vue
View file @
2cfaac5
<!-- 盘点详情弹窗弹窗 -->
<!-- 盘点详情弹窗弹窗 -->
<
template
>
<
template
>
<GLDialog
bigTitle=
"详细信息"
:visible
.
sync=
"inventoryDetailVisible"
:before-close=
"handleClose"
<GLDialog
bigTitle=
"详细信息"
:visible
.
sync=
"inventoryDetailVisible"
:
hasFooter=
"false"
:
before-close=
"handleClose"
class=
"inventoryDetailDailog"
mode=
"big"
okText=
"关闭"
@
onCancel=
"handleClose"
@
onOk=
"handleClose"
>
class=
"inventoryDetailDailog"
mode=
"big"
okText=
"关闭"
@
onCancel=
"handleClose"
@
onOk=
"handleClose"
>
<div>
<div>
<div
class=
"header"
slot=
"header"
style=
"padding: 10px 20px"
>
<div
class=
"header"
slot=
"header"
style=
"padding: 10px 20px"
>
...
@@ -29,9 +29,6 @@
...
@@ -29,9 +29,6 @@
</GLTable>
</GLTable>
</div>
</div>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleClose"
>
关闭
</el-button>
</span>
</GLDialog>
</GLDialog>
</template>
</template>
...
...
src/views/outbound/index.vue
View file @
2cfaac5
...
@@ -4,9 +4,7 @@
...
@@ -4,9 +4,7 @@
<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>
<el-button
<el-button
size=
"small"
@
click=
"exportExcel"
>
导出
</el-button>
size=
"small"
@
click=
"exportExcel"
>
导出
</el-button>
</div>
</div>
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
...
@@ -168,14 +166,16 @@ export default {
...
@@ -168,14 +166,16 @@ export default {
prop
:
'reduceStockNum'
,
prop
:
'reduceStockNum'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
reduceStockNum
||
cellValue
.
reduceStockNum
==
0
?
parseFloat
(
cellValue
.
reduceStockNum
).
toFixed
(
2
)
+
(
this
.
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
?
'米'
:
'件'
)
:
'-'
return
cellValue
.
reduceStockNum
||
cellValue
.
reduceStockNum
==
0
?
parseFloat
(
cellValue
.
reduceStockNum
).
toFixed
(
2
)
+
(
this
.
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
?
'米'
:
'件'
)
:
'-'
}
},
width
:
100
},
},
{
{
label
:
'出库金额'
,
label
:
'出库金额'
,
prop
:
'reduceStockMoney'
,
prop
:
'reduceStockMoney'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
reduceStockMoney
?
'¥'
+
cellValue
.
reduceStockMoney
.
toFixed
(
2
)
:
'-'
return
cellValue
.
reduceStockMoney
?
'¥'
+
cellValue
.
reduceStockMoney
.
toFixed
(
2
)
:
'-'
}
},
width
:
100
},
},
{
{
label
:
'出库类型'
,
label
:
'出库类型'
,
...
@@ -187,17 +187,20 @@ export default {
...
@@ -187,17 +187,20 @@ export default {
},
},
{
{
label
:
'关联业务单号'
,
label
:
'关联业务单号'
,
prop
:
'businessCode'
prop
:
'businessCode'
,
width
:
200
},
},
{
{
label
:
'出库仓库'
,
label
:
'出库仓库'
,
prop
:
'yqMerchantName'
,
prop
:
'yqMerchantName'
,
width
:
200
width
:
180
,
line
:
1
},
},
{
{
label
:
'出库门店'
,
label
:
'出库门店'
,
prop
:
'merchantName'
,
prop
:
'merchantName'
,
width
:
200
width
:
180
,
line
:
1
},
},
{
{
// label: '适用门店',
// label: '适用门店',
...
...
src/views/stock/stockDetailDialog.vue
View file @
2cfaac5
<!-- 库存明细弹窗 -->
<!-- 库存明细弹窗 -->
<
template
>
<
template
>
<GLDialog
bigTitle=
"库存明细"
<GLDialog
bigTitle=
"库存明细"
:visible
.
sync=
"dialogVisible"
class=
"stockMonthDailog"
width=
"50%"
mode=
"big"
:destroy-on-close=
"true"
:close-on-click-modal=
"false"
okText=
"关闭"
:before-close=
"handleClose"
:hasFooter=
"false"
@
onOk=
"handleClose"
@
onCancel=
"handleClose"
>
:visible
.
sync=
"dialogVisible"
class=
"stockMonthDailog"
width=
"30%"
mode=
"big"
:destroy-on-close=
"true"
:close-on-click-modal=
"false"
okText=
"关闭"
@
onOk=
"handleClose"
@
onCancel=
"handleClose"
>
<div>
<div>
<div
class=
"d2-container-content"
>
<div
class=
"d2-container-content"
>
<GLTable
ref=
"recordTable"
<GLTable
ref=
"recordTable"
:get-list-api=
"getListApi"
:search-form=
"searchForm"
:table-params=
"tableParams"
:pageConf=
"pageConf"
></GLTable>
:get-list-api=
"getListApi"
:search-form=
"searchForm"
:table-params=
"tableParams"
:pageConf=
"pageConf"
>
</GLTable>
</div>
</div>
</div>
</div>
<span
slot=
"footer"
<
!--
<
span
slot=
"footer"
class=
"dialog-footer"
>
class=
"dialog-footer"
>
<el-button
type=
"primary"
<el-button
type=
"primary"
size=
"small"
size=
"small"
@
click=
"handleClose"
>
关闭
</el-button>
@
click=
"handleClose"
>
关闭
</el-button>
</span>
</span>
-->
</GLDialog>
</GLDialog>
</
template
>
</
template
>
...
@@ -43,7 +29,7 @@ export default {
...
@@ -43,7 +29,7 @@ export default {
},
},
recordInfo
:
{
recordInfo
:
{
type
:
Object
,
type
:
Object
,
default
:
()
=>
{
}
default
:
()
=>
{}
}
}
},
},
data
()
{
data
()
{
...
@@ -55,7 +41,8 @@ export default {
...
@@ -55,7 +41,8 @@ export default {
upgradeGoodsId
:
''
,
upgradeGoodsId
:
''
,
yqMerchantId
:
''
yqMerchantId
:
''
},
},
getListApi
:
this
.
$apis
.
stockManage
.
merchantShopGoodsStockPage
,
tableData
:
[],
getListApi
:
this
.
$apis
.
stockManage
.
merchantShopGoodsStockPage
,
tableData
:
[],
tableParams
:
{
tableParams
:
{
btnId
:
new
Date
().
getTime
()
+
parseInt
(
Math
.
random
()
*
1000
),
btnId
:
new
Date
().
getTime
()
+
parseInt
(
Math
.
random
()
*
1000
),
listName
:
'list'
,
listName
:
'list'
,
...
@@ -70,8 +57,8 @@ export default {
...
@@ -70,8 +57,8 @@ export default {
label
:
'当前库存'
,
label
:
'当前库存'
,
prop
:
'stock'
,
prop
:
'stock'
,
// width: ''
// width: ''
formatter
:
(
cellValue
)
=>
{
formatter
:
cellValue
=>
{
return
(
cellValue
.
stock
||
cellValue
.
stock
==
0
)
?
parseFloat
(
cellValue
.
stock
).
toFixed
(
2
)
+
(
this
.
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
?
'米'
:
'件'
)
:
'-'
return
cellValue
.
stock
||
cellValue
.
stock
==
0
?
parseFloat
(
cellValue
.
stock
).
toFixed
(
2
)
+
(
this
.
membraneTypeList
.
includes
(
cellValue
.
goodsType
)
?
'米'
:
'件'
)
:
'-'
}
}
}
}
]
]
...
@@ -90,7 +77,7 @@ export default {
...
@@ -90,7 +77,7 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
console
.
log
(
'111'
)
;
console
.
log
(
'111'
)
if
(
this
.
recordInfo
)
{
if
(
this
.
recordInfo
)
{
this
.
searchForm
.
yqMerchantId
=
this
.
recordInfo
.
yqMerchantId
this
.
searchForm
.
yqMerchantId
=
this
.
recordInfo
.
yqMerchantId
...
@@ -99,14 +86,11 @@ export default {
...
@@ -99,14 +86,11 @@ export default {
},
},
methods
:
{
methods
:
{
handleClose
()
{
handleClose
()
{
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
}
}
}
}
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.count-txt
{
.count-txt
{
...
...
src/views/stock/stockMonthDialog.vue
View file @
2cfaac5
<
template
>
<
template
>
<GLDialog
class=
"stock-dialog"
<GLDialog
class=
"stock-dialog"
v-if=
"stockMonthVisible"
:destroy-on-close=
"true"
:before-close=
"handleClose"
bigTitle=
"月度库存结算单"
mode=
"big"
okText=
"关闭"
:visible
.
sync=
"stockMonthVisible"
:close-on-click-modal=
"false"
@
onOk=
"handleClose"
@
onCancel=
"handleClose"
:hasFooter=
"false"
>
v-if=
"stockMonthVisible"
<div
class=
"detail-content"
v-if=
"stockMonthVisible"
>
:destroy-on-close=
"true"
<el-form
:inline=
"true"
:model=
"searchForm"
size=
"small"
>
:before-close=
"handleClose"
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"
size=
"small"
>
<el-form-item
label=
"年度:"
>
<el-form-item
label=
"年度:"
>
<el-date-picker
v-model=
"searchForm.year"
<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>
type=
"year"
placeholder=
"选择年"
value-format=
"yyyy"
format=
"yyyy"
:clearable=
"false"
:picker-options=
"pickerOption"
@
change=
"chooseYear"
></el-date-picker>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
class=
"table-class"
>
<div
class=
"table-class"
>
<GLTable
ref=
"purchaseOrderDetailTable"
<GLTable
ref=
"purchaseOrderDetailTable"
:tableParams=
"tableParams"
:has-num=
"false"
:hasPage=
"false"
:tableData=
"tableData"
:pageConf=
"pageConf"
></GLTable>
:tableParams=
"tableParams"
:has-num=
"false"
:hasPage=
"false"
:tableData=
"tableData"
:pageConf=
"pageConf"
></GLTable>
</div>
</div>
<span
class=
"btn-tips"
>
<span
class=
"btn-tips"
>
<img
src=
"@/images/icon-warn.png"
/>
<img
src=
"@/images/icon-warn.png"
/>
说明:月平均加权单价=上月结存库存金额+本月采购金额/上月结存库存数量+本月采购数量
说明:月平均加权单价=上月结存库存金额+本月采购金额/上月结存库存数量+本月采购数量
</span>
</span>
</div>
</div>
<span
slot=
"footer"
<!--
<span
slot=
"footer"
class=
"dialog-footer"
>
class=
"dialog-footer"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleClose"
>
关闭
</el-button>
<el-button
type=
"primary"
</span>
-->
size=
"small"
@
click=
"handleClose"
>
关闭
</el-button>
</span>
</GLDialog>
</GLDialog>
</
template
>
</
template
>
...
@@ -59,7 +31,7 @@ export default {
...
@@ -59,7 +31,7 @@ export default {
},
},
stockInfo
:
{
stockInfo
:
{
type
:
Object
,
type
:
Object
,
default
:
()
=>
{
}
default
:
()
=>
{}
}
}
},
},
data
()
{
data
()
{
...
...
src/views/warehousing/index.vue
View file @
2cfaac5
...
@@ -194,7 +194,8 @@ export default {
...
@@ -194,7 +194,8 @@ export default {
{
{
label
:
'关联业务单号'
,
label
:
'关联业务单号'
,
prop
:
'businessCode'
,
prop
:
'businessCode'
,
minWidth
:
150
width
:
150
,
line
:
1
},
},
{
{
label
:
'关联发货单号'
,
label
:
'关联发货单号'
,
...
...
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