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
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/bill/AllocationOutList.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.number"
></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.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"
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 -->
<!-- 表单区域 -->
<allocation-out-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></allocation-out-modal>
<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=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号查询"
v-model=
"queryParam.number"
></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.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"
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 -->
<!-- 表单区域 -->
<allocation-out-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></allocation-out-modal>
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
AllocationOutModal
from
'
./modules/AllocationOutModal
'
...
...
jshERP-web/src/views/bill/AssembleList.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.number"
></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.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"
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 -->
<!-- 表单区域 -->
<assemble-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></assemble-modal>
<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=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号查询"
v-model=
"queryParam.number"
></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.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"
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 -->
<!-- 表单区域 -->
<assemble-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></assemble-modal>
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
AssembleModal
from
'
./modules/AssembleModal
'
...
...
jshERP-web/src/views/bill/DisassembleList.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.number"
></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.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"
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 -->
<!-- 表单区域 -->
<disassemble-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></disassemble-modal>
<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=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号查询"
v-model=
"queryParam.number"
></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.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"
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 -->
<!-- 表单区域 -->
<disassemble-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></disassemble-modal>
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
DisassembleModal
from
'
./modules/DisassembleModal
'
...
...
jshERP-web/src/views/bill/OtherInList.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.number"
></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.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"
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 -->
<!-- 表单区域 -->
<other-in-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></other-in-modal>
<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=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号查询"
v-model=
"queryParam.number"
></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.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"
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 -->
<!-- 表单区域 -->
<other-in-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></other-in-modal>
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
OtherInModal
from
'
./modules/OtherInModal
'
...
...
jshERP-web/src/views/bill/OtherOutList.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.number"
></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.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"
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 -->
<!-- 表单区域 -->
<other-out-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></other-out-modal>
<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=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号查询"
v-model=
"queryParam.number"
></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.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"
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 -->
<!-- 表单区域 -->
<other-out-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></other-out-modal>
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
OtherOutModal
from
'
./modules/OtherOutModal
'
...
...
jshERP-web/src/views/bill/PurchaseBackList.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.number"
></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.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"
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 -->
<!-- 表单区域 -->
<purchase-back-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></purchase-back-modal>
<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=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号查询"
v-model=
"queryParam.number"
></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.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"
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 -->
<!-- 表单区域 -->
<purchase-back-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></purchase-back-modal>
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
PurchaseBackModal
from
'
./modules/PurchaseBackModal
'
...
...
jshERP-web/src/views/bill/PurchaseInList.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.number"
></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.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"
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 -->
<!-- 表单区域 -->
<purchase-in-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></purchase-in-modal>
<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=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号"
v-model=
"queryParam.number"
></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.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"
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 -->
<!-- 表单区域 -->
<purchase-in-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></purchase-in-modal>
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
PurchaseInModal
from
'
./modules/PurchaseInModal
'
...
...
jshERP-web/src/views/bill/PurchaseOrderList.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.number"
></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.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"
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-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</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>
<template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
<a-tag
v-if=
"status == '2'"
color=
"blue"
>
已转采购
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<purchase-order-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></purchase-order-modal>
<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=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号"
v-model=
"queryParam.number"
></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.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"
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-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</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>
<template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
<a-tag
v-if=
"status == '2'"
color=
"blue"
>
已转采购
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<purchase-order-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></purchase-order-modal>
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
</a-col>
</a-row>
</template>
<
script
>
import
PurchaseOrderModal
from
'
./modules/PurchaseOrderModal
'
...
...
jshERP-web/src/views/bill/RetailBackList.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.number"
></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.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"
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 -->
<!-- 表单区域 -->
<retail-back-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></retail-back-modal>
<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=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号查询"
v-model=
"queryParam.number"
></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.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"
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 -->
<!-- 表单区域 -->
<retail-back-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></retail-back-modal>
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
RetailBackModal
from
'
./modules/RetailBackModal
'
...
...
jshERP-web/src/views/bill/RetailOutList.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.number"
></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.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"
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 -->
<!-- 表单区域 -->
<retail-out-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></retail-out-modal>
<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=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号查询"
v-model=
"queryParam.number"
></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.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"
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 -->
<!-- 表单区域 -->
<retail-out-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></retail-out-modal>
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
RetailOutModal
from
'
./modules/RetailOutModal
'
...
...
jshERP-web/src/views/bill/SaleBackList.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.number"
></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.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"
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 -->
<!-- 表单区域 -->
<sale-back-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></sale-back-modal>
<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=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号查询"
v-model=
"queryParam.number"
></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.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"
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 -->
<!-- 表单区域 -->
<sale-back-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></sale-back-modal>
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
SaleBackModal
from
'
./modules/SaleBackModal
'
...
...
jshERP-web/src/views/bill/SaleOrderList.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.number"
></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.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"
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-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</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>
<template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
<a-tag
v-if=
"status == '2'"
color=
"blue"
>
已转销售
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<sale-order-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></sale-order-modal>
<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=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号查询"
v-model=
"queryParam.number"
></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.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"
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-item
key=
"2"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(1)"
><a-icon
type=
"check"
/>
审核
</a-menu-item>
<a-menu-item
key=
"3"
v-if=
"btnEnableList.indexOf(2)>-1"
@
click=
"batchSetStatus(0)"
><a-icon
type=
"stop"
/>
反审核
</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>
<template
slot=
"customRenderStatus"
slot-scope=
"status"
>
<a-tag
v-if=
"status == '0'"
color=
"red"
>
未审核
</a-tag>
<a-tag
v-if=
"status == '1'"
color=
"green"
>
已审核
</a-tag>
<a-tag
v-if=
"status == '2'"
color=
"blue"
>
已转销售
</a-tag>
</
template
>
</a-table>
</div>
<!-- table区域-end -->
<!-- 表单区域 -->
<sale-order-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></sale-order-modal>
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
</a-col>
</a-row>
</template>
<
script
>
import
SaleOrderModal
from
'
./modules/SaleOrderModal
'
...
...
jshERP-web/src/views/bill/SaleOutList.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.number"
></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.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"
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 -->
<!-- 表单区域 -->
<sale-out-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></sale-out-modal>
<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=
"6"
:sm=
"8"
>
<a-form-item
label=
"单据编号"
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input
placeholder=
"请输入单据编号查询"
v-model=
"queryParam.number"
></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.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"
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 -->
<!-- 表单区域 -->
<sale-out-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></sale-out-modal>
<bill-detail
ref=
"modalDetail"
></bill-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
SaleOutModal
from
'
./modules/SaleOutModal
'
...
...
jshERP-web/src/views/bill/dialog/BillDetail.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/bill/modules/PurchaseBackModal.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/bill/modules/PurchaseInModal.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/bill/modules/SaleBackModal.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/bill/modules/SaleOutModal.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/financial/AdvanceInList.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 -->
<!-- 表单区域 -->
<advance-in-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></advance-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 -->
<!-- 表单区域 -->
<advance-in-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></advance-in-modal>
<financial-detail
ref=
"modalDetail"
></financial-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
AdvanceInModal
from
'
./modules/AdvanceInModal
'
...
...
jshERP-web/src/views/financial/GiroList.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 -->
<!-- 表单区域 -->
<giro-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></giro-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 -->
<!-- 表单区域 -->
<giro-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
></giro-modal>
<financial-detail
ref=
"modalDetail"
></financial-detail>
</a-card>
</a-col>
</a-row>
</
template
>
<
script
>
import
GiroModal
from
'
./modules/GiroModal
'
...
...
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