Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
IMS
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Ras
IMS
Commits
c3fa3014
提交
c3fa3014
authored
6月 10, 2022
作者:
Ras
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加了2个漏掉的过滤组件
上级
47d84151
全部展开
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
196 行增加
和
162 行删除
+196
-162
ImsPoReceivingList.vue
src/views/ims/ImsPoReceivingList.vue
+97
-80
ImsPoRejectionList.vue
src/views/ims/ImsPoRejectionList.vue
+99
-82
没有找到文件。
src/views/ims/ImsPoReceivingList.vue
浏览文件 @
c3fa3014
...
@@ -4,6 +4,19 @@
...
@@ -4,6 +4,19 @@
<div
class=
"table-page-search-wrapper"
>
<div
class=
"table-page-search-wrapper"
>
<a-form
layout=
"inline"
@
keyup
.
enter
.
native=
"searchQuery"
>
<a-form
layout=
"inline"
@
keyup
.
enter
.
native=
"searchQuery"
>
<a-row
:gutter=
"24"
>
<a-row
:gutter=
"24"
>
<a-col
:span=
"6"
>
<a-form-item
label=
"选择日期:"
>
<a-range-picker
@
change=
"onChange"
show-time
/>
</a-form-item>
</a-col>
<a-col
:span=
"4"
>
<a-form-item
label=
"编码:"
>
<a-input
v-model=
"queryParam.numberString"
placeholder=
"请输入编码"
/>
</a-form-item>
</a-col>
<a-col
:span=
"2"
>
<a-button
type=
"primary"
@
click=
"loadData()"
>
筛选
</a-button>
</a-col>
</a-row>
</a-row>
</a-form>
</a-form>
</div>
</div>
...
@@ -13,54 +26,63 @@
...
@@ -13,54 +26,63 @@
<div
class=
"table-operator"
>
<div
class=
"table-operator"
>
<a-button
@
click=
"handleAdd"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-button
@
click=
"handleAdd"
type=
"primary"
icon=
"plus"
>
新增
</a-button>
<a-button
type=
"primary"
icon=
"download"
@
click=
"handleExportXls('采购订单收料')"
>
导出
</a-button>
<a-button
type=
"primary"
icon=
"download"
@
click=
"handleExportXls('采购订单收料')"
>
导出
</a-button>
<a-upload
name=
"file"
:showUploadList=
"false"
:multiple=
"false"
:headers=
"tokenHeader"
:action=
"importExcelUrl"
@
change=
"handleImportExcel"
>
<a-upload
name=
"file"
:showUploadList=
"false"
:multiple=
"false"
:headers=
"tokenHeader"
:action=
"importExcelUrl"
@
change=
"handleImportExcel"
>
<a-button
type=
"primary"
icon=
"import"
>
导入
</a-button>
<a-button
type=
"primary"
icon=
"import"
>
导入
</a-button>
</a-upload>
</a-upload>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-dropdown
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
<a-menu-item
key=
"1"
@
click=
"batchDel"
><a-icon
type=
"delete"
/>
删除
</a-menu-item>
</a-menu>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/></a-button>
<a-button
style=
"margin-left: 8px"
>
批量操作
<a-icon
type=
"down"
/></a-button>
</a-dropdown>
</a-dropdown>
</div>
</div>
<!-- table区域-begin -->
<!-- table区域-begin -->
<div>
<div>
<div
class=
"ant-alert ant-alert-info"
style=
"margin-bottom: 16px;"
>
<div
class=
"ant-alert ant-alert-info"
style=
"margin-bottom: 16px;"
>
<i
class=
"anticon anticon-info-circle ant-alert-icon"
></i>
已选择
<a
style=
"font-weight: 600"
>
{{
selectedRowKeys
.
length
}}
</a>
项
<i
class=
"anticon anticon-info-circle ant-alert-icon"
></i>
已选择
<a
style=
"font-weight: 600"
>
{{
selectedRowKeys
.
length
}}
</a
>
项
<a
style=
"margin-left: 24px"
@
click=
"onClearSelected"
>
清空
</a>
<a
style=
"margin-left: 24px"
@
click=
"onClearSelected"
>
清空
</a>
</div>
</div>
<a-table
<a-table
ref=
"table"
ref=
"table"
size=
"middle"
size=
"middle"
:scroll=
"
{
x:true
}"
:scroll=
"
{
x: true
}"
bordered
bordered
rowKey="id"
rowKey="id"
:columns="columns"
:columns="columns"
:dataSource="dataSource"
:dataSource="dataSource"
:pagination="ipagination"
:pagination="ipagination"
:loading="loading"
:loading="loading"
:rowSelection="{
selectedRowKeys: selectedRowKeys, onChange: onSelectChange
}"
:rowSelection="{
selectedRowKeys: selectedRowKeys, onChange: onSelectChange
}"
class="j-table-force-nowrap"
class="j-table-force-nowrap"
@change="handleTableChange"
>
@change="handleTableChange"
>
<template
slot=
"htmlSlot"
slot-scope=
"text"
>
<template
slot=
"htmlSlot"
slot-scope=
"text"
>
<div
v-html=
"text"
></div>
<div
v-html=
"text"
></div>
</
template
>
</
template
>
<
template
slot=
"imgSlot"
slot-scope=
"text"
>
<
template
slot=
"imgSlot"
slot-scope=
"text"
>
<span
v-if=
"!text"
style=
"font-size: 12px;font-style: italic;"
>
无图片
</span>
<span
v-if=
"!text"
style=
"font-size: 12px;font-style: italic;"
>
无图片
</span>
<img
v-else
:src=
"getImgView(text)"
height=
"25px"
alt=
""
style=
"max-width:80px;font-size: 12px;font-style: italic;"
/>
<img
v-else
:src=
"getImgView(text)"
height=
"25px"
alt=
""
style=
"max-width:80px;font-size: 12px;font-style: italic;"
/>
</
template
>
</
template
>
<
template
slot=
"fileSlot"
slot-scope=
"text"
>
<
template
slot=
"fileSlot"
slot-scope=
"text"
>
<span
v-if=
"!text"
style=
"font-size: 12px;font-style: italic;"
>
无文件
</span>
<span
v-if=
"!text"
style=
"font-size: 12px;font-style: italic;"
>
无文件
</span>
<a-button
<a-button
v-else
:ghost=
"true"
type=
"primary"
icon=
"download"
size=
"small"
@
click=
"downloadFile(text)"
>
v-else
:ghost=
"true"
type=
"primary"
icon=
"download"
size=
"small"
@
click=
"downloadFile(text)"
>
下载
下载
</a-button>
</a-button>
</
template
>
</
template
>
...
@@ -69,7 +91,7 @@
...
@@ -69,7 +91,7 @@
<a
@
click=
"handleEdit(record)"
>
编辑
</a>
<a
@
click=
"handleEdit(record)"
>
编辑
</a>
<a-divider
type=
"vertical"
/>
<a-divider
type=
"vertical"
/>
<a-dropdown>
<a-dropdown>
<a
class=
"ant-dropdown-link"
>
更多
<a-icon
type=
"down"
/></a>
<a
class=
"ant-dropdown-link"
>
更多
<a-icon
type=
"down"
/></a>
<a-menu
slot=
"overlay"
>
<a-menu
slot=
"overlay"
>
<a-menu-item>
<a-menu-item>
<a
@
click=
"handleDetail(record)"
>
详情
</a>
<a
@
click=
"handleDetail(record)"
>
详情
</a>
...
@@ -82,7 +104,6 @@
...
@@ -82,7 +104,6 @@
</a-menu>
</a-menu>
</a-dropdown>
</a-dropdown>
</span>
</span>
</a-table>
</a-table>
</div>
</div>
...
@@ -91,19 +112,18 @@
...
@@ -91,19 +112,18 @@
</template>
</template>
<
script
>
<
script
>
import
'@/assets/less/TableExpand.less'
import
{
mixinDevice
}
from
'@/utils/mixin'
import
{
JeecgListMixin
}
from
'@/mixins/JeecgListMixin'
import
ImsPoReceivingModal
from
'./modules/ImsPoReceivingModal'
import
'@/assets/less/TableExpand.less'
export
default
{
import
{
mixinDevice
}
from
'@/utils/mixin'
import
{
JeecgListMixin
}
from
'@/mixins/JeecgListMixin'
import
ImsPoReceivingModal
from
'./modules/ImsPoReceivingModal'
export
default
{
name
:
'ImsPoReceivingList'
,
name
:
'ImsPoReceivingList'
,
mixins
:
[
JeecgListMixin
,
mixinDevice
],
mixins
:
[
JeecgListMixin
,
mixinDevice
],
components
:
{
components
:
{
ImsPoReceivingModal
ImsPoReceivingModal
},
},
data
()
{
data
()
{
return
{
return
{
description
:
'采购订单收料管理页面'
,
description
:
'采购订单收料管理页面'
,
// 表头
// 表头
...
@@ -111,121 +131,118 @@
...
@@ -111,121 +131,118 @@
{
{
title
:
'#'
,
title
:
'#'
,
dataIndex
:
''
,
dataIndex
:
''
,
key
:
'rowIndex'
,
key
:
'rowIndex'
,
width
:
60
,
width
:
60
,
align
:
"center"
,
align
:
'center'
,
customRender
:
function
(
t
,
r
,
index
)
{
customRender
:
function
(
t
,
r
,
index
)
{
return
parseInt
(
index
)
+
1
;
return
parseInt
(
index
)
+
1
}
}
},
},
{
{
title
:
'唯一序号'
,
title
:
'唯一序号'
,
align
:
"center"
,
align
:
'center'
,
dataIndex
:
'queueId'
dataIndex
:
'queueId'
},
},
{
{
title
:
'交易时间'
,
title
:
'交易时间'
,
align
:
"center"
,
align
:
'center'
,
dataIndex
:
'trxDate'
dataIndex
:
'trxDate'
},
},
{
{
title
:
'仓库编码'
,
title
:
'仓库编码'
,
align
:
"center"
,
align
:
'center'
,
dataIndex
:
'storeId'
dataIndex
:
'storeId'
},
},
{
{
title
:
'供应商编码'
,
title
:
'供应商编码'
,
align
:
"center"
,
align
:
'center'
,
dataIndex
:
'supId'
dataIndex
:
'supId'
},
},
{
{
title
:
'采购单号'
,
title
:
'采购单号'
,
align
:
"center"
,
align
:
'center'
,
dataIndex
:
'poId'
dataIndex
:
'poId'
},
},
{
{
title
:
'采购单行号'
,
title
:
'采购单行号'
,
align
:
"center"
,
align
:
'center'
,
dataIndex
:
'poSeq'
dataIndex
:
'poSeq'
},
},
{
{
title
:
'物料编码'
,
title
:
'物料编码'
,
align
:
"center"
,
align
:
'center'
,
dataIndex
:
'mtrlId'
dataIndex
:
'mtrlId'
},
},
{
{
title
:
'数量'
,
title
:
'数量'
,
align
:
"center"
,
align
:
'center'
,
dataIndex
:
'quantity'
dataIndex
:
'quantity'
},
},
{
{
title
:
'备注'
,
title
:
'备注'
,
align
:
"center"
,
align
:
'center'
,
dataIndex
:
'remark'
dataIndex
:
'remark'
},
},
{
{
title
:
'收料组织'
,
title
:
'收料组织'
,
align
:
"center"
,
align
:
'center'
,
dataIndex
:
'orgId'
dataIndex
:
'orgId'
},
},
{
{
title
:
'采购组织'
,
title
:
'采购组织'
,
align
:
"center"
,
align
:
'center'
,
dataIndex
:
'poOrgId'
dataIndex
:
'poOrgId'
},
},
{
{
title
:
'基本信息主键ID'
,
title
:
'基本信息主键ID'
,
align
:
"center"
,
align
:
'center'
,
dataIndex
:
'fid'
dataIndex
:
'fid'
},
},
{
{
title
:
'单据编码'
,
title
:
'单据编码'
,
align
:
"center"
,
align
:
'center'
,
dataIndex
:
'fbillno'
dataIndex
:
'fbillno'
},
},
{
{
title
:
'明细信息主键ID'
,
title
:
'明细信息主键ID'
,
align
:
"center"
,
align
:
'center'
,
dataIndex
:
'fentryId'
dataIndex
:
'fentryId'
},
},
{
{
title
:
'单据行号'
,
title
:
'单据行号'
,
align
:
"center"
,
align
:
'center'
,
dataIndex
:
'fseq'
dataIndex
:
'fseq'
},
},
{
{
title
:
'操作'
,
title
:
'操作'
,
dataIndex
:
'action'
,
dataIndex
:
'action'
,
align
:
"center"
,
align
:
'center'
,
fixed
:
"right"
,
fixed
:
'right'
,
width
:
147
,
width
:
147
,
scopedSlots
:
{
customRender
:
'action'
}
scopedSlots
:
{
customRender
:
'action'
}
}
}
],
],
url
:
{
url
:
{
list
:
"/imsPoReceiving/list"
,
list
:
'/imsPoReceiving/list'
,
delete
:
"/imsPoReceiving/delete"
,
delete
:
'/imsPoReceiving/delete'
,
deleteBatch
:
"/imsPoReceiving/deleteBatch"
,
deleteBatch
:
'/imsPoReceiving/deleteBatch'
,
exportXlsUrl
:
"/imsPoReceiving/exportXls"
,
exportXlsUrl
:
'/imsPoReceiving/exportXls'
,
importExcelUrl
:
"/imsPoReceiving/importExcel"
,
importExcelUrl
:
'/imsPoReceiving/importExcel'
},
},
dictOptions
:{},
dictOptions
:
{}
}
}
},
},
created
()
{
created
()
{},
},
computed
:
{
computed
:
{
importExcelUrl
:
function
()
{
importExcelUrl
:
function
()
{
return
`
${
window
.
_CONFIG
[
'domianURL'
]}
/
${
this
.
url
.
importExcelUrl
}
`
;
return
`
${
window
.
_CONFIG
[
'domianURL'
]}
/
${
this
.
url
.
importExcelUrl
}
`
},
}
},
},
methods
:
{
methods
:
{
initDictConfig
(){
initDictConfig
()
{}
}
}
}
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
@import
'~@assets/less/common.less'
;
@import
'~@assets/less/common.less'
;
</
style
>
</
style
>
src/views/ims/ImsPoRejectionList.vue
浏览文件 @
c3fa3014
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论