Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
c2953567
Commit
c2953567
authored
Jun 10, 2021
by
季圣华
Browse files
解决菜单切换页面闪现的bug
parent
283b4ef9
Changes
54
Expand all
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/financial/ItemInList.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
class=
"card-area"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<!-- 搜索区域 -->
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号"
v-model=
"queryParam.billNo"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"10"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
@
ok=
"onDateOk"
/>
</a-form-item>
</a-col>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
@
click=
"searchReset"
>
重置
</a-button>
</a-col>
</span>
</a-row>
</a-form>
</div>
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
style=
"margin-top: 5px"
>
<a-button
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleAdd"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
</a-button>
</a-dropdown>
</div>
<!-- table区域-begin -->
<div>
<a-table
ref=
"table"
size=
"middle"
bordered
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
:rowSelection=
"
{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@change="handleTableChange">
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record, '收入')"
>
查看
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() => handleDelete(record.id)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<item-in-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></item-in-modal>
<financial-detail
ref=
"modalDetail"
></financial-detail>
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<!-- 搜索区域 -->
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号"
v-model=
"queryParam.billNo"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"10"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
@
ok=
"onDateOk"
/>
</a-form-item>
</a-col>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
@
click=
"searchReset"
>
重置
</a-button>
</a-col>
</span>
</a-row>
</a-form>
</div>
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
style=
"margin-top: 5px"
>
<a-button
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleAdd"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
</a-button>
</a-dropdown>
</div>
<!-- table区域-begin -->
<div>
<a-table
ref=
"table"
size=
"middle"
bordered
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
:rowSelection=
"
{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@change="handleTableChange">
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record, '收入')"
>
查看
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() => handleDelete(record.id)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<item-in-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></item-in-modal>
<financial-detail
ref=
"modalDetail"
></financial-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
ItemInModal
from
'
./modules/ItemInModal
'
...
...
jshERP-web/src/views/financial/ItemOutList.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
class=
"card-area"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<!-- 搜索区域 -->
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号"
v-model=
"queryParam.billNo"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"10"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
@
ok=
"onDateOk"
/>
</a-form-item>
</a-col>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
@
click=
"searchReset"
>
重置
</a-button>
</a-col>
</span>
</a-row>
</a-form>
</div>
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
style=
"margin-top: 5px"
>
<a-button
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleAdd"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
</a-button>
</a-dropdown>
</div>
<!-- table区域-begin -->
<div>
<a-table
ref=
"table"
size=
"middle"
bordered
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
:rowSelection=
"
{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@change="handleTableChange">
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record, '支出')"
>
查看
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() => handleDelete(record.id)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<item-out-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></item-out-modal>
<financial-detail
ref=
"modalDetail"
></financial-detail>
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<!-- 搜索区域 -->
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号"
v-model=
"queryParam.billNo"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"10"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
@
ok=
"onDateOk"
/>
</a-form-item>
</a-col>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
@
click=
"searchReset"
>
重置
</a-button>
</a-col>
</span>
</a-row>
</a-form>
</div>
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
style=
"margin-top: 5px"
>
<a-button
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleAdd"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
</a-button>
</a-dropdown>
</div>
<!-- table区域-begin -->
<div>
<a-table
ref=
"table"
size=
"middle"
bordered
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
:rowSelection=
"
{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@change="handleTableChange">
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record, '支出')"
>
查看
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() => handleDelete(record.id)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<item-out-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></item-out-modal>
<financial-detail
ref=
"modalDetail"
></financial-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
ItemOutModal
from
'
./modules/ItemOutModal
'
...
...
jshERP-web/src/views/financial/MoneyInList.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
class=
"card-area"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<!-- 搜索区域 -->
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号"
v-model=
"queryParam.billNo"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"10"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
@
ok=
"onDateOk"
/>
</a-form-item>
</a-col>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
@
click=
"searchReset"
>
重置
</a-button>
</a-col>
</span>
</a-row>
</a-form>
</div>
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
style=
"margin-top: 5px"
>
<a-button
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleAdd"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
</a-button>
</a-dropdown>
</div>
<!-- table区域-begin -->
<div>
<a-table
ref=
"table"
size=
"middle"
bordered
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
:rowSelection=
"
{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@change="handleTableChange">
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record, '收款')"
>
查看
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() => handleDelete(record.id)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<money-in-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></money-in-modal>
<financial-detail
ref=
"modalDetail"
></financial-detail>
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<!-- 搜索区域 -->
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号"
v-model=
"queryParam.billNo"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"10"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
@
ok=
"onDateOk"
/>
</a-form-item>
</a-col>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
@
click=
"searchReset"
>
重置
</a-button>
</a-col>
</span>
</a-row>
</a-form>
</div>
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
style=
"margin-top: 5px"
>
<a-button
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleAdd"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
</a-button>
</a-dropdown>
</div>
<!-- table区域-begin -->
<div>
<a-table
ref=
"table"
size=
"middle"
bordered
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
:rowSelection=
"
{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@change="handleTableChange">
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record, '收款')"
>
查看
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() => handleDelete(record.id)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<money-in-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></money-in-modal>
<financial-detail
ref=
"modalDetail"
></financial-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
MoneyInModal
from
'
./modules/MoneyInModal
'
...
...
jshERP-web/src/views/financial/MoneyOutList.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
class=
"card-area"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<!-- 搜索区域 -->
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号"
v-model=
"queryParam.billNo"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"10"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
@
ok=
"onDateOk"
/>
</a-form-item>
</a-col>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
@
click=
"searchReset"
>
重置
</a-button>
</a-col>
</span>
</a-row>
</a-form>
</div>
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
style=
"margin-top: 5px"
>
<a-button
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleAdd"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
</a-button>
</a-dropdown>
</div>
<!-- table区域-begin -->
<div>
<a-table
ref=
"table"
size=
"middle"
bordered
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
:rowSelection=
"
{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@change="handleTableChange">
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record, '付款')"
>
查看
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() => handleDelete(record.id)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<money-out-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></money-out-modal>
<financial-detail
ref=
"modalDetail"
></financial-detail>
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<!-- 搜索区域 -->
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号"
v-model=
"queryParam.billNo"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"10"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
@
ok=
"onDateOk"
/>
</a-form-item>
</a-col>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
@
click=
"searchReset"
>
重置
</a-button>
</a-col>
</span>
</a-row>
</a-form>
</div>
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
style=
"margin-top: 5px"
>
<a-button
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleAdd"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
</a-button>
</a-dropdown>
</div>
<!-- table区域-begin -->
<div>
<a-table
ref=
"table"
size=
"middle"
bordered
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
:rowSelection=
"
{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@change="handleTableChange">
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record, '付款')"
>
查看
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"myHandleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() => handleDelete(record.id)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<money-out-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></money-out-modal>
<financial-detail
ref=
"modalDetail"
></financial-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
MoneyOutModal
from
'
./modules/MoneyOutModal
'
...
...
jshERP-web/src/views/financial/dialog/FinancialDetail.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
class=
"card-area"
>
<a-card
:bordered=
"false"
>
<j-modal
:title=
"title"
:width=
"width"
...
...
jshERP-web/src/views/material/MaterialList.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
class=
"card-area"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<!-- 搜索区域 -->
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"类别"
>
<a-tree-select
style=
"width:100%"
:dropdownStyle=
"
{maxHeight:'200px',overflow:'auto'}" allow-clear
:treeData="categoryTree" v-model="queryParam.categoryId" placeholder="请选择类别">
</a-tree-select>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"条码"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入条码查询"
v-model=
"queryParam.barCode"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"名称"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入名称查询"
v-model=
"queryParam.name"
></a-input>
</a-form-item>
</a-col>
<template
v-if=
"toggleSearchStatus"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"规格"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入规格查询"
v-model=
"queryParam.standard"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"型号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入型号查询"
v-model=
"queryParam.model"
></a-input>
</a-form-item>
</a-col>
</
template
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
@
click=
"searchReset"
>
重置
</a-button>
<a
@
click=
"handleToggleSearch"
style=
"margin-left: 8px"
>
{{ toggleSearchStatus ? '收起' : '展开' }}
<a-icon
:type=
"toggleSearchStatus ? 'up' : 'down'"
/>
</a>
</a-col>
</span>
</a-row>
</a-form>
</div>
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
style=
"margin-top: 5px"
>
<a-button
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"handleAdd"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-upload
name=
"file"
:showUploadList=
"false"
:multiple=
"false"
:headers=
"tokenHeader"
:action=
"importExcelUrl"
@
change=
"handleImportExcel"
>
<a-popover
title=
"表格模板"
>
<
template
slot=
"content"
>
<p><a
target=
"_blank"
href=
"/doc/goods_template.xls"
><b>
商品Excel模板下载
</b></a></p>
</
template
>
<a-button
type=
"primary"
icon=
"import"
>
导入
</a-button>
</a-popover>
</a-upload>
<a-button
type=
"primary"
icon=
"download"
@
click=
"handleExportXls('商品信息')"
>
导出
</a-button>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchSetStatus(true)"
><a-icon
type=
"check-square"
/>
启用
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchSetStatus(false)"
><a-icon
type=
"close-square"
/>
禁用
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
</a-button>
</a-dropdown>
</div>
<!-- table区域-begin -->
<div>
<a-table
ref=
"table"
size=
"middle"
bordered
rowKey=
"id"
:scroll=
"{ x: 1500, y: 500 }"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
:rowSelection=
"{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@
change=
"handleTableChange"
>
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
@
click=
"handleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() => handleDelete(record.id)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderEnabled"
slot-scope=
"enabled"
>
<a-tag
v-if=
"enabled"
color=
"green"
>
启用
</a-tag>
<a-tag
v-if=
"!enabled"
color=
"orange"
>
禁用
</a-tag>
</
template
>
<
template
slot=
"customRenderEnableSerialNumber"
slot-scope=
"enableSerialNumber"
>
<a-tag
v-if=
"enableSerialNumber==1"
color=
"green"
>
有
</a-tag>
<a-tag
v-if=
"enableSerialNumber==0"
color=
"orange"
>
无
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<material-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></material-modal>
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<!-- 搜索区域 -->
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"类别"
>
<a-tree-select
style=
"width:100%"
:dropdownStyle=
"
{maxHeight:'200px',overflow:'auto'}" allow-clear
:treeData="categoryTree" v-model="queryParam.categoryId" placeholder="请选择类别">
</a-tree-select>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"条码"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入条码查询"
v-model=
"queryParam.barCode"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"名称"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入名称查询"
v-model=
"queryParam.name"
></a-input>
</a-form-item>
</a-col>
<template
v-if=
"toggleSearchStatus"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"规格"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入规格查询"
v-model=
"queryParam.standard"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"型号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入型号查询"
v-model=
"queryParam.model"
></a-input>
</a-form-item>
</a-col>
</
template
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
@
click=
"searchReset"
>
重置
</a-button>
<a
@
click=
"handleToggleSearch"
style=
"margin-left: 8px"
>
{{ toggleSearchStatus ? '收起' : '展开' }}
<a-icon
:type=
"toggleSearchStatus ? 'up' : 'down'"
/>
</a>
</a-col>
</span>
</a-row>
</a-form>
</div>
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
style=
"margin-top: 5px"
>
<a-button
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"handleAdd"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-upload
name=
"file"
:showUploadList=
"false"
:multiple=
"false"
:headers=
"tokenHeader"
:action=
"importExcelUrl"
@
change=
"handleImportExcel"
>
<a-popover
title=
"表格模板"
>
<
template
slot=
"content"
>
<p><a
target=
"_blank"
href=
"/doc/goods_template.xls"
><b>
商品Excel模板下载
</b></a></p>
</
template
>
<a-button
type=
"primary"
icon=
"import"
>
导入
</a-button>
</a-popover>
</a-upload>
<a-button
type=
"primary"
icon=
"download"
@
click=
"handleExportXls('商品信息')"
>
导出
</a-button>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"2"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchSetStatus(true)"
><a-icon
type=
"check-square"
/>
启用
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchSetStatus(false)"
><a-icon
type=
"close-square"
/>
禁用
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
</a-button>
</a-dropdown>
</div>
<!-- table区域-begin -->
<div>
<a-table
ref=
"table"
size=
"middle"
bordered
rowKey=
"id"
:scroll=
"{ x: 1500, y: 500 }"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
:rowSelection=
"{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@
change=
"handleTableChange"
>
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
@
click=
"handleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() => handleDelete(record.id)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<
template
slot=
"customRenderEnabled"
slot-scope=
"enabled"
>
<a-tag
v-if=
"enabled"
color=
"green"
>
启用
</a-tag>
<a-tag
v-if=
"!enabled"
color=
"orange"
>
禁用
</a-tag>
</
template
>
<
template
slot=
"customRenderEnableSerialNumber"
slot-scope=
"enableSerialNumber"
>
<a-tag
v-if=
"enableSerialNumber==1"
color=
"green"
>
有
</a-tag>
<a-tag
v-if=
"enableSerialNumber==0"
color=
"orange"
>
无
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<material-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></material-modal>
</a-card>
</a-col>
</a-row>
</template>
<
script
>
import
MaterialModal
from
'
./modules/MaterialModal
'
...
...
jshERP-web/src/views/material/MaterialPropertyList.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
class=
"card-area"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<!-- 搜索区域 -->
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"名称"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入名称查询"
v-model=
"queryParam.name"
></a-input>
</a-form-item>
</a-col>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
@
click=
"searchReset"
>
重置
</a-button>
</a-col>
</span>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<div>
<a-table
ref=
"table"
size=
"middle"
bordered
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
@
click=
"handleEdit(record)"
>
编辑
</a>
</span>
<!-- 状态渲染模板 -->
<template
slot=
"customRenderFlag"
slot-scope=
"enabled"
>
<a-tag
v-if=
"enabled==1"
color=
"green"
>
启用
</a-tag>
<a-tag
v-if=
"enabled==0"
color=
"orange"
>
禁用
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<material-property-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></material-property-modal>
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<!-- 搜索区域 -->
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"名称"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入名称查询"
v-model=
"queryParam.name"
></a-input>
</a-form-item>
</a-col>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
@
click=
"searchReset"
>
重置
</a-button>
</a-col>
</span>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<div>
<a-table
ref=
"table"
size=
"middle"
bordered
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
@
click=
"handleEdit(record)"
>
编辑
</a>
</span>
<!-- 状态渲染模板 -->
<template
slot=
"customRenderFlag"
slot-scope=
"enabled"
>
<a-tag
v-if=
"enabled==1"
color=
"green"
>
启用
</a-tag>
<a-tag
v-if=
"enabled==0"
color=
"orange"
>
禁用
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<material-property-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></material-property-modal>
</a-card>
</a-col>
</a-row>
</template>
<
script
>
import
MaterialPropertyModal
from
'
./modules/MaterialPropertyModal
'
...
...
jshERP-web/src/views/report/AccountReport.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"名称"
>
<a-input
placeholder=
"请输入名称"
v-model=
"queryParam.name"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"编号"
>
<a-input
placeholder=
"请输入编号"
v-model=
"queryParam.serialNo"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"2"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
<a-col
:md=
"3"
:sm=
"24"
>
<a-form-item
label=
"本月发生总额"
>
{{
allMonthAmount
}}
</a-form-item>
</a-col>
<a-col
:md=
"3"
:sm=
"24"
>
<a-form-item
label=
"当前总余额"
>
{{
allCurrentAmount
}}
</a-form-item>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<div>
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
@
click=
"showAccountInOutList(record)"
>
流水
</a>
</span>
</a-table>
</div>
<!-- table区域-end -->
<account-in-out-list
ref=
"accountInOutList"
@
ok=
"modalFormOk"
></account-in-out-list>
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"名称"
>
<a-input
placeholder=
"请输入名称"
v-model=
"queryParam.name"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"编号"
>
<a-input
placeholder=
"请输入编号"
v-model=
"queryParam.serialNo"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"2"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
<a-col
:md=
"3"
:sm=
"24"
>
<a-form-item
label=
"本月发生总额"
>
{{
allMonthAmount
}}
</a-form-item>
</a-col>
<a-col
:md=
"3"
:sm=
"24"
>
<a-form-item
label=
"当前总余额"
>
{{
allCurrentAmount
}}
</a-form-item>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<div>
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
<span
slot=
"action"
slot-scope=
"text, record"
>
<a
@
click=
"showAccountInOutList(record)"
>
流水
</a>
</span>
</a-table>
</div>
<!-- table区域-end -->
<account-in-out-list
ref=
"accountInOutList"
@
ok=
"modalFormOk"
></account-in-out-list>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
AccountInOutList
from
'
./modules/AccountInOutList
'
...
...
jshERP-web/src/views/report/BuyInReport.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"月份"
>
<a-month-picker
placeholder=
"请选择月份"
:default-value=
"moment(currentMonth, monthFormat)"
:format=
"monthFormat"
@
change=
"onChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"商品信息"
>
<a-input
placeholder=
"请输入商品信息"
v-model=
"queryParam.materialParam"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
</a-table>
<!-- table区域-end -->
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"月份"
>
<a-month-picker
placeholder=
"请选择月份"
:default-value=
"moment(currentMonth, monthFormat)"
:format=
"monthFormat"
@
change=
"onChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"商品信息"
>
<a-input
placeholder=
"请输入商品信息"
v-model=
"queryParam.materialParam"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
</a-table>
<!-- table区域-end -->
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
{
JeecgListMixin
}
from
'
@/mixins/JeecgListMixin
'
...
...
jshERP-web/src/views/report/CustomerAccount.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"客户"
>
<a-select
placeholder=
"选择客户"
v-model=
"queryParam.organId"
:dropdownMatchSelectWidth=
"false"
>
<a-select-option
v-for=
"(item,index) in supList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
supplier
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"24"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
:default-value=
"defaultTimeStr"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"2"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
<a-col
:md=
"8"
:sm=
"24"
>
<a-form-item>
{{
firstTotal
}}
{{
lastTotal
}}
{{
pleaseSelect
}}
</a-form-item>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
<span
slot=
"numberCustomRender"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record)"
>
{{
record
.
number
}}
</a>
</span>
</a-table>
<!-- table区域-end -->
<!-- 表单区域 -->
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"客户"
>
<a-select
placeholder=
"选择客户"
v-model=
"queryParam.organId"
:dropdownMatchSelectWidth=
"false"
>
<a-select-option
v-for=
"(item,index) in supList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
supplier
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"24"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
:default-value=
"defaultTimeStr"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"2"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
<a-col
:md=
"8"
:sm=
"24"
>
<a-form-item>
{{
firstTotal
}}
{{
lastTotal
}}
{{
pleaseSelect
}}
</a-form-item>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
<span
slot=
"numberCustomRender"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record)"
>
{{
record
.
number
}}
</a>
</span>
</a-table>
<!-- table区域-end -->
<!-- 表单区域 -->
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
BillDetail
from
'
../bill/dialog/BillDetail
'
...
...
jshERP-web/src/views/report/InDetail.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"供应商"
>
<a-select
placeholder=
"选择供应商"
v-model=
"queryParam.organId"
:dropdownMatchSelectWidth=
"false"
>
<a-select-option
v-for=
"(item,index) in supList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
supplier
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"仓库"
>
<a-select
style=
"width: 100%"
placeholder=
"请选择仓库"
v-model=
"queryParam.depotId"
>
<a-select-option
v-for=
"(depot,index) in depotList"
:value=
"depot.id"
>
{{
depot
.
depotName
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"5"
:sm=
"24"
>
<a-form-item
label=
"商品信息"
>
<a-input
placeholder=
"名称、规格、型号"
v-model=
"queryParam.materialParam"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"24"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
:default-value=
"defaultTimeStr"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
<span
slot=
"numberCustomRender"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record)"
>
{{
record
.
number
}}
</a>
</span>
</a-table>
<!-- table区域-end -->
<!-- 表单区域 -->
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"供应商"
>
<a-select
placeholder=
"选择供应商"
v-model=
"queryParam.organId"
:dropdownMatchSelectWidth=
"false"
>
<a-select-option
v-for=
"(item,index) in supList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
supplier
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"仓库"
>
<a-select
style=
"width: 100%"
placeholder=
"请选择仓库"
v-model=
"queryParam.depotId"
>
<a-select-option
v-for=
"(depot,index) in depotList"
:value=
"depot.id"
>
{{
depot
.
depotName
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"5"
:sm=
"24"
>
<a-form-item
label=
"商品信息"
>
<a-input
placeholder=
"名称、规格、型号"
v-model=
"queryParam.materialParam"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"24"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
:default-value=
"defaultTimeStr"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
<span
slot=
"numberCustomRender"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record)"
>
{{
record
.
number
}}
</a>
</span>
</a-table>
<!-- table区域-end -->
<!-- 表单区域 -->
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
BillDetail
from
'
../bill/dialog/BillDetail
'
...
...
jshERP-web/src/views/report/InMaterialCount.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"供应商"
>
<a-select
placeholder=
"选择供应商"
v-model=
"queryParam.organId"
:dropdownMatchSelectWidth=
"false"
>
<a-select-option
v-for=
"(item,index) in supList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
supplier
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"仓库"
>
<a-select
style=
"width: 100%"
placeholder=
"请选择仓库"
v-model=
"queryParam.depotId"
>
<a-select-option
v-for=
"(depot,index) in depotList"
:value=
"depot.id"
>
{{
depot
.
depotName
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"5"
:sm=
"24"
>
<a-form-item
label=
"商品信息"
>
<a-input
placeholder=
"名称、规格、型号"
v-model=
"queryParam.materialParam"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"24"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
:default-value=
"defaultTimeStr"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
</a-table>
<!-- table区域-end -->
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"供应商"
>
<a-select
placeholder=
"选择供应商"
v-model=
"queryParam.organId"
:dropdownMatchSelectWidth=
"false"
>
<a-select-option
v-for=
"(item,index) in supList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
supplier
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"仓库"
>
<a-select
style=
"width: 100%"
placeholder=
"请选择仓库"
v-model=
"queryParam.depotId"
>
<a-select-option
v-for=
"(depot,index) in depotList"
:value=
"depot.id"
>
{{
depot
.
depotName
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"5"
:sm=
"24"
>
<a-form-item
label=
"商品信息"
>
<a-input
placeholder=
"名称、规格、型号"
v-model=
"queryParam.materialParam"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"24"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
:default-value=
"defaultTimeStr"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
</a-table>
<!-- table区域-end -->
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
{
JeecgListMixin
}
from
'
@/mixins/JeecgListMixin
'
...
...
jshERP-web/src/views/report/InOutStockReport.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"仓库"
>
<a-select
style=
"width: 100%"
placeholder=
"请选择仓库"
v-model=
"queryParam.depotId"
>
<a-select-option
v-for=
"(depot,index) in depotList"
:value=
"depot.id"
>
{{
depot
.
depotName
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"月份"
>
<a-month-picker
placeholder=
"请选择月份"
:default-value=
"moment(currentMonth, monthFormat)"
:format=
"monthFormat"
@
change=
"onChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"24"
>
<a-form-item
label=
"商品信息"
>
<a-input
placeholder=
"请输入商品名称、规格、型号"
v-model=
"queryParam.materialParam"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
type=
"primary"
icon=
"download"
@
click=
"handleExportXls('库存状况')"
>
导出
</a-button>
</span>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"本月合计金额"
>
{{
totalCountMoneyStr
}}
</a-form-item>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
</a-table>
<!-- table区域-end -->
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"仓库"
>
<a-select
style=
"width: 100%"
placeholder=
"请选择仓库"
v-model=
"queryParam.depotId"
>
<a-select-option
v-for=
"(depot,index) in depotList"
:value=
"depot.id"
>
{{
depot
.
depotName
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"月份"
>
<a-month-picker
placeholder=
"请选择月份"
:default-value=
"moment(currentMonth, monthFormat)"
:format=
"monthFormat"
@
change=
"onChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"24"
>
<a-form-item
label=
"商品信息"
>
<a-input
placeholder=
"请输入商品名称、规格、型号"
v-model=
"queryParam.materialParam"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
type=
"primary"
icon=
"download"
@
click=
"handleExportXls('库存状况')"
>
导出
</a-button>
</span>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"本月合计金额"
>
{{
totalCountMoneyStr
}}
</a-form-item>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
</a-table>
<!-- table区域-end -->
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
{
JeecgListMixin
}
from
'
@/mixins/JeecgListMixin
'
...
...
jshERP-web/src/views/report/OutDetail.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"客户"
>
<a-select
placeholder=
"选择客户"
v-model=
"queryParam.organId"
:dropdownMatchSelectWidth=
"false"
>
<a-select-option
v-for=
"(item,index) in supList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
supplier
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"仓库"
>
<a-select
style=
"width: 100%"
placeholder=
"请选择仓库"
v-model=
"queryParam.depotId"
>
<a-select-option
v-for=
"(depot,index) in depotList"
:value=
"depot.id"
>
{{
depot
.
depotName
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"5"
:sm=
"24"
>
<a-form-item
label=
"商品信息"
>
<a-input
placeholder=
"名称、规格、型号"
v-model=
"queryParam.materialParam"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"10"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
:default-value=
"defaultTimeStr"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
<span
slot=
"numberCustomRender"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record)"
>
{{
record
.
number
}}
</a>
</span>
</a-table>
<!-- table区域-end -->
<!-- 表单区域 -->
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"客户"
>
<a-select
placeholder=
"选择客户"
v-model=
"queryParam.organId"
:dropdownMatchSelectWidth=
"false"
>
<a-select-option
v-for=
"(item,index) in supList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
supplier
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"仓库"
>
<a-select
style=
"width: 100%"
placeholder=
"请选择仓库"
v-model=
"queryParam.depotId"
>
<a-select-option
v-for=
"(depot,index) in depotList"
:value=
"depot.id"
>
{{
depot
.
depotName
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"5"
:sm=
"24"
>
<a-form-item
label=
"商品信息"
>
<a-input
placeholder=
"名称、规格、型号"
v-model=
"queryParam.materialParam"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"10"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
:default-value=
"defaultTimeStr"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
<span
slot=
"numberCustomRender"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record)"
>
{{
record
.
number
}}
</a>
</span>
</a-table>
<!-- table区域-end -->
<!-- 表单区域 -->
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
BillDetail
from
'
../bill/dialog/BillDetail
'
...
...
jshERP-web/src/views/report/OutMaterialCount.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"客户"
>
<a-select
placeholder=
"选择客户"
v-model=
"queryParam.organId"
:dropdownMatchSelectWidth=
"false"
>
<a-select-option
v-for=
"(item,index) in supList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
supplier
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"仓库"
>
<a-select
style=
"width: 100%"
placeholder=
"请选择仓库"
v-model=
"queryParam.depotId"
>
<a-select-option
v-for=
"(depot,index) in depotList"
:value=
"depot.id"
>
{{
depot
.
depotName
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"5"
:sm=
"24"
>
<a-form-item
label=
"商品信息"
>
<a-input
placeholder=
"名称、规格、型号"
v-model=
"queryParam.materialParam"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"10"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
:default-value=
"defaultTimeStr"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
</a-table>
<!-- table区域-end -->
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"客户"
>
<a-select
placeholder=
"选择客户"
v-model=
"queryParam.organId"
:dropdownMatchSelectWidth=
"false"
>
<a-select-option
v-for=
"(item,index) in supList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
supplier
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"仓库"
>
<a-select
style=
"width: 100%"
placeholder=
"请选择仓库"
v-model=
"queryParam.depotId"
>
<a-select-option
v-for=
"(depot,index) in depotList"
:value=
"depot.id"
>
{{
depot
.
depotName
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"5"
:sm=
"24"
>
<a-form-item
label=
"商品信息"
>
<a-input
placeholder=
"名称、规格、型号"
v-model=
"queryParam.materialParam"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"10"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
:default-value=
"defaultTimeStr"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
</a-table>
<!-- table区域-end -->
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
{
JeecgListMixin
}
from
'
@/mixins/JeecgListMixin
'
...
...
jshERP-web/src/views/report/SaleOutReport.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-form-item
label=
"月份"
>
<a-month-picker
placeholder=
"请选择月份"
:default-value=
"moment(currentMonth, monthFormat)"
:format=
"monthFormat"
@
change=
"onChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"24"
>
<a-form-item
label=
"商品信息"
>
<a-input
placeholder=
"请输入商品信息"
v-model=
"queryParam.materialParam"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"3"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
</a-table>
<!-- table区域-end -->
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-form-item
label=
"月份"
>
<a-month-picker
placeholder=
"请选择月份"
:default-value=
"moment(currentMonth, monthFormat)"
:format=
"monthFormat"
@
change=
"onChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"24"
>
<a-form-item
label=
"商品信息"
>
<a-input
placeholder=
"请输入商品信息"
v-model=
"queryParam.materialParam"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"3"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
</a-table>
<!-- table区域-end -->
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
{
JeecgListMixin
}
from
'
@/mixins/JeecgListMixin
'
...
...
jshERP-web/src/views/report/StockWarningReport.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"仓库"
>
<a-select
style=
"width: 100%"
placeholder=
"请选择仓库"
v-model=
"queryParam.depotId"
>
<a-select-option
v-for=
"(depot,index) in depotList"
:value=
"depot.id"
>
{{
depot
.
depotName
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"商品信息"
>
<a-input
placeholder=
"请输入商品名称、规格、型号"
v-model=
"queryParam.materialParam"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
type=
"primary"
icon=
"download"
@
click=
"handleExportXls('库存预警')"
>
导出
</a-button>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
</a-table>
<!-- table区域-end -->
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
label=
"仓库"
>
<a-select
style=
"width: 100%"
placeholder=
"请选择仓库"
v-model=
"queryParam.depotId"
>
<a-select-option
v-for=
"(depot,index) in depotList"
:value=
"depot.id"
>
{{
depot
.
depotName
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"8"
>
<a-form-item
label=
"商品信息"
>
<a-input
placeholder=
"请输入商品名称、规格、型号"
v-model=
"queryParam.materialParam"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
type=
"primary"
icon=
"download"
@
click=
"handleExportXls('库存预警')"
>
导出
</a-button>
</span>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
</a-table>
<!-- table区域-end -->
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
{
JeecgListMixin
}
from
'
@/mixins/JeecgListMixin
'
...
...
jshERP-web/src/views/report/VendorAccount.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"供应商"
>
<a-select
placeholder=
"选择供应商"
v-model=
"queryParam.organId"
:dropdownMatchSelectWidth=
"false"
>
<a-select-option
v-for=
"(item,index) in supList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
supplier
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"10"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
:default-value=
"defaultTimeStr"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"2"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
<a-col
:md=
"8"
:sm=
"24"
>
<a-form-item>
{{
firstTotal
}}
{{
lastTotal
}}
{{
pleaseSelect
}}
</a-form-item>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
<span
slot=
"numberCustomRender"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record)"
>
{{
record
.
number
}}
</a>
</span>
</a-table>
<!-- table区域-end -->
<!-- 表单区域 -->
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"供应商"
>
<a-select
placeholder=
"选择供应商"
v-model=
"queryParam.organId"
:dropdownMatchSelectWidth=
"false"
>
<a-select-option
v-for=
"(item,index) in supList"
:key=
"index"
:value=
"item.id"
>
{{
item
.
supplier
}}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"6"
:sm=
"10"
>
<a-form-item
label=
"单据日期"
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
>
<a-range-picker
style=
"width: 210px"
v-model=
"queryParam.createTimeRange"
:default-value=
"defaultTimeStr"
format=
"YYYY-MM-DD"
:placeholder=
"['开始时间', '结束时间']"
@
change=
"onDateChange"
/>
</a-form-item>
</a-col>
<a-col
:md=
"2"
:sm=
"24"
>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
</span>
</a-col>
<a-col
:md=
"8"
:sm=
"24"
>
<a-form-item>
{{
firstTotal
}}
{{
lastTotal
}}
{{
pleaseSelect
}}
</a-form-item>
</a-col>
</a-row>
</a-form>
</div>
<!-- table区域-begin -->
<a-table
bordered
ref=
"table"
size=
"middle"
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
@
change=
"handleTableChange"
>
<span
slot=
"numberCustomRender"
slot-scope=
"text, record"
>
<a
@
click=
"myHandleDetail(record)"
>
{{
record
.
number
}}
</a>
</span>
</a-table>
<!-- table区域-end -->
<!-- 表单区域 -->
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
BillDetail
from
'
../bill/dialog/BillDetail
'
...
...
jshERP-web/src/views/system/AccountList.vue
View file @
c2953567
<
template
>
<a-card
:bordered=
"false"
class=
"card-area"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<!-- 搜索区域 -->
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"6"
>
<a-form-item
label=
"名称"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入名称查询"
v-model=
"queryParam.name"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"6"
>
<a-form-item
label=
"编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入编号查询"
v-model=
"queryParam.serialNo"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"6"
>
<a-form-item
label=
"备注"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入备注查询"
v-model=
"queryParam.remark"
></a-input>
</a-form-item>
</a-col>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
@
click=
"searchReset"
>
重置
</a-button>
</a-col>
</span>
</a-row>
</a-form>
</div>
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
style=
"margin-top: 5px"
>
<a-button
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"handleAdd"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
</a-button>
</a-dropdown>
</div>
<!-- table区域-begin -->
<div>
<a-table
ref=
"table"
size=
"middle"
bordered
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
:rowSelection=
"
{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@change="handleTableChange">
<span
slot=
"action"
slot-scope=
"text, record"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定设为默认吗?"
@
confirm=
"() => handleSetDefault(record.id)"
>
<a>
设为默认
</a>
</a-popconfirm>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
@
click=
"handleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() => handleDelete(record.id)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<!-- 状态渲染模板 -->
<template
slot=
"customRenderFlag"
slot-scope=
"isDefault"
>
<a-tag
v-if=
"isDefault"
color=
"green"
>
是
</a-tag>
<a-tag
v-if=
"!isDefault"
color=
"orange"
>
否
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<account-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></account-modal>
</a-card>
<a-row
:gutter=
"24"
>
<a-col
:md=
"24"
>
<a-card
:bordered=
"false"
>
<!-- 查询区域 -->
<div
class=
"table-page-search-wrapper"
>
<!-- 搜索区域 -->
<a-form
layout=
"inline"
@
keyup.enter.native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"6"
>
<a-form-item
label=
"名称"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入名称查询"
v-model=
"queryParam.name"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"6"
>
<a-form-item
label=
"编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入编号查询"
v-model=
"queryParam.serialNo"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"6"
>
<a-form-item
label=
"备注"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入备注查询"
v-model=
"queryParam.remark"
></a-input>
</a-form-item>
</a-col>
<span
style=
"float: left;overflow: hidden;"
class=
"table-page-search-submitButtons"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-button
type=
"primary"
@
click=
"searchQuery"
>
查询
</a-button>
<a-button
style=
"margin-left: 8px"
@
click=
"searchReset"
>
重置
</a-button>
</a-col>
</span>
</a-row>
</a-form>
</div>
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
style=
"margin-top: 5px"
>
<a-button
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"handleAdd"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
v-if=
"btnEnableList.indexOf(1)>-1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/>
</a-button>
</a-dropdown>
</div>
<!-- table区域-begin -->
<div>
<a-table
ref=
"table"
size=
"middle"
bordered
rowKey=
"id"
:columns=
"columns"
:dataSource=
"dataSource"
:pagination=
"ipagination"
:loading=
"loading"
:rowSelection=
"
{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
@change="handleTableChange">
<span
slot=
"action"
slot-scope=
"text, record"
>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定设为默认吗?"
@
confirm=
"() => handleSetDefault(record.id)"
>
<a>
设为默认
</a>
</a-popconfirm>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a
@
click=
"handleEdit(record)"
>
编辑
</a>
<a-divider
v-if=
"btnEnableList.indexOf(1)>-1"
type=
"vertical"
/>
<a-popconfirm
v-if=
"btnEnableList.indexOf(1)>-1"
title=
"确定删除吗?"
@
confirm=
"() => handleDelete(record.id)"
>
<a>
删除
</a>
</a-popconfirm>
</span>
<!-- 状态渲染模板 -->
<template
slot=
"customRenderFlag"
slot-scope=
"isDefault"
>
<a-tag
v-if=
"isDefault"
color=
"green"
>
是
</a-tag>
<a-tag
v-if=
"!isDefault"
color=
"orange"
>
否
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<account-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></account-modal>
</a-card>
</a-col>
</a-row>
</template>
<
script
>
import
AccountModal
from
'
./modules/AccountModal
'
...
...
jshERP-web/src/views/system/CustomerList.vue
View file @
c2953567
This diff is collapsed.
Click to expand it.
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
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