Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
SA-WMS
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Ras
SA-WMS
Commits
da2d02d1
提交
da2d02d1
authored
5月 17, 2021
作者:
Ras
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
出货报表增加对选择记录进行,行数,体积,重量,总个数。
仓库货物报表(在库)入仓号添加链接,点击链接查看商品数据。
上级
346cbf07
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
53 行增加
和
13 行删除
+53
-13
IostCustomerCheckoutList.vue
src/views/iost/basedata/IostCustomerCheckoutList.vue
+40
-3
IostWarehouseAt.vue
src/views/iost/basedata/IostWarehouseAt.vue
+13
-10
没有找到文件。
src/views/iost/basedata/IostCustomerCheckoutList.vue
浏览文件 @
da2d02d1
...
@@ -59,7 +59,23 @@
...
@@ -59,7 +59,23 @@
<!-- 操作按钮区域 -->
<!-- 操作按钮区域 -->
<div
class=
"table-operator"
>
<div
class=
"table-operator"
>
<a-button
type=
"primary"
icon=
"download"
@
click=
"handleExportXls('商品类别')"
>
导出
</a-button>
<a-row
:gutter=
"24"
>
<a-col
:xl=
"3"
:lg=
"7"
:md=
"8"
:sm=
"24"
>
<a-button
type=
"primary"
icon=
"download"
@
click=
"handleExportXls('商品类别')"
>
导出
</a-button>
</a-col>
<a-col
:xl=
"3"
:lg=
"7"
:md=
"8"
:sm=
"24"
v-if=
"selectedRowKeys.length > 0"
>
<i
class=
"anticon anticon-info-circle ant-alert-icon"
></i>
已选择
<a
style=
"font-weight: 600"
>
{{selectedRowKeys.length}}
</a>
项
</a-col>
<a-col
:xl=
"3"
:lg=
"7"
:md=
"8"
:sm=
"24"
v-if=
"selectedRowKeys.length > 0"
>
总体积:{{totleVolume}}
</a-col>
<a-col
:xl=
"3"
:lg=
"7"
:md=
"8"
:sm=
"24"
v-if=
"selectedRowKeys.length > 0"
>
总重量:{{totleWeight}}
</a-col>
<a-col
:xl=
"3"
:lg=
"7"
:md=
"8"
:sm=
"24"
v-if=
"selectedRowKeys.length > 0"
>
总件数:{{totleNum}}
</a-col>
</a-row>
</div>
</div>
<!-- table区域-begin -->
<!-- table区域-begin -->
...
@@ -125,6 +141,9 @@
...
@@ -125,6 +141,9 @@
data
()
{
data
()
{
return
{
return
{
description
:
'客户出货报表'
,
description
:
'客户出货报表'
,
totleVolume
:
0
,
totleWeight
:
0
,
totleNum
:
0
,
// 表头
// 表头
columns
:
[
columns
:
[
{
{
...
@@ -192,12 +211,30 @@
...
@@ -192,12 +211,30 @@
methods
:
{
methods
:
{
initDictConfig
(){
initDictConfig
(){
},
},
onSelectChange
(
selectedRowKeys
,
selectionRows
)
{
this
.
selectedRowKeys
=
selectedRowKeys
;
this
.
selectionRows
=
selectionRows
;
this
.
totleVolume
=
0
;
this
.
totleWeight
=
0
;
this
.
totleNum
=
0
;
for
(
let
selectIndex
in
selectionRows
)
{
let
selectionRow
=
selectionRows
[
selectIndex
]
let
fValue
=
Number
.
parseFloat
(
selectionRow
.
总体积
)
this
.
totleVolume
=
this
.
FloatAdd
(
this
.
totleVolume
,
fValue
)
fValue
=
Number
.
parseFloat
(
selectionRow
.
总重量
)
this
.
totleWeight
=
this
.
FloatAdd
(
this
.
totleWeight
,
fValue
)
fValue
=
Number
.
parseFloat
(
selectionRow
.
实际件数
)
this
.
totleNum
=
this
.
FloatAdd
(
this
.
totleNum
,
fValue
)
}
},
handleDetail
(
text
)
handleDetail
(
text
)
{
{
let
url
=
`
${
window
.
_CONFIG
[
'domianURL'
]}
/basedata/iostReceivingNote/list`
;
let
url
=
`
${
window
.
_CONFIG
[
'domianURL'
]}
/basedata/iostReceivingNote/list`
;
getAction
(
url
,
{
invoiceNumber
:
text
}).
then
((
res
)
=>
{
getAction
(
url
,
{
invoiceNumber
:
text
}).
then
((
res
)
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
let
record
=
res
.
result
.
records
[
0
]
let
record
=
res
.
result
.
records
[
0
];
console
.
log
(
res
)
this
.
$refs
.
modalForm
.
edit
(
record
);
this
.
$refs
.
modalForm
.
edit
(
record
);
this
.
$refs
.
modalForm
.
title
=
"详情"
;
this
.
$refs
.
modalForm
.
title
=
"详情"
;
this
.
$refs
.
modalForm
.
disableSubmit
=
true
;
this
.
$refs
.
modalForm
.
disableSubmit
=
true
;
...
@@ -208,7 +245,7 @@
...
@@ -208,7 +245,7 @@
}
}
that
.
loading
=
false
;
that
.
loading
=
false
;
})
})
}
}
,
}
}
}
}
</
script
>
</
script
>
...
...
src/views/iost/basedata/IostWarehouseAt.vue
浏览文件 @
da2d02d1
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
class=
"j-table-force-nowrap"
class=
"j-table-force-nowrap"
@
change=
"handleTableChange"
>
@
change=
"handleTableChange"
>
<
template
slot=
"
link
Slot"
slot-scope=
"text"
>
<
template
slot=
"
WareHouseNum
Slot"
slot-scope=
"text"
>
<a
@
click=
"handleDetail(text)"
>
{{
text
}}
</a>
<a
@
click=
"handleDetail(text)"
>
{{
text
}}
</a>
</
template
>
</
template
>
<
template
slot=
"htmlSlot"
slot-scope=
"text"
>
<
template
slot=
"htmlSlot"
slot-scope=
"text"
>
...
@@ -101,6 +101,8 @@
...
@@ -101,6 +101,8 @@
</a-table>
</a-table>
</div>
</div>
<iost-receiving-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
/>
</a-card>
</a-card>
</template>
</template>
...
@@ -111,10 +113,12 @@
...
@@ -111,10 +113,12 @@
import
{
JeecgListMixin4Report
}
from
'@/mixins/JeecgListMixin4Report'
import
{
JeecgListMixin4Report
}
from
'@/mixins/JeecgListMixin4Report'
import
JSearchSelectTag
from
'@/components/dict/JSearchSelectTag'
import
JSearchSelectTag
from
'@/components/dict/JSearchSelectTag'
import
JDate
from
'@/components/jeecg/JDate.vue'
import
JDate
from
'@/components/jeecg/JDate.vue'
import
IostReceivingModal
from
'./modules/IostReceivingModal'
import
{
getAction
}
from
'@/api/manage'
export
default
{
export
default
{
name
:
'IostWarehouseAt'
,
name
:
'IostWarehouseAt'
,
components
:
{
JSearchSelectTag
,
JDate
},
components
:
{
JSearchSelectTag
,
JDate
,
IostReceivingModal
},
mixins
:[
JeecgListMixin4Report
,
mixinDevice
],
mixins
:[
JeecgListMixin4Report
,
mixinDevice
],
data
()
{
data
()
{
return
{
return
{
...
@@ -126,7 +130,8 @@
...
@@ -126,7 +130,8 @@
"title"
:
"入仓号"
,
"title"
:
"入仓号"
,
"align"
:
"center"
,
"align"
:
"center"
,
"sorter"
:
"true"
,
"sorter"
:
"true"
,
"dataIndex"
:
"receiving_no"
"dataIndex"
:
"receiving_no"
,
scopedSlots
:
{
customRender
:
'WareHouseNumSlot'
},
},
{
},
{
"title"
:
"客户名称"
,
"title"
:
"客户名称"
,
"align"
:
"center"
,
"align"
:
"center"
,
...
@@ -151,8 +156,7 @@
...
@@ -151,8 +156,7 @@
"title"
:
"仓库名称"
,
"title"
:
"仓库名称"
,
"align"
:
"center"
,
"align"
:
"center"
,
"sorter"
:
"true"
,
"sorter"
:
"true"
,
"dataIndex"
:
"name"
,
"dataIndex"
:
"name"
scopedSlots
:
{
customRender
:
'linkSlot'
},
},
{
},
{
"title"
:
"日期"
,
"title"
:
"日期"
,
"align"
:
"center"
,
"align"
:
"center"
,
...
@@ -188,11 +192,10 @@
...
@@ -188,11 +192,10 @@
},
},
handleDetail
(
text
)
handleDetail
(
text
)
{
{
return
;
let
url
=
`
${
window
.
_CONFIG
[
'domianURL'
]}
/basedata/iostReceiving/list`
;
let
url
=
`
${
window
.
_CONFIG
[
'domianURL'
]}
/basedata/iostStorage/list`
;
getAction
(
url
,
{
receivingNo
:
text
}).
then
((
res
)
=>
{
getAction
(
url
,
{
name
:
text
}).
then
((
res
)
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
let
record
=
res
.
result
.
records
[
0
]
let
record
=
res
.
result
.
records
[
0
]
;
this
.
$refs
.
modalForm
.
edit
(
record
);
this
.
$refs
.
modalForm
.
edit
(
record
);
this
.
$refs
.
modalForm
.
title
=
"详情"
;
this
.
$refs
.
modalForm
.
title
=
"详情"
;
this
.
$refs
.
modalForm
.
disableSubmit
=
true
;
this
.
$refs
.
modalForm
.
disableSubmit
=
true
;
...
@@ -203,7 +206,7 @@
...
@@ -203,7 +206,7 @@
}
}
that
.
loading
=
false
;
that
.
loading
=
false
;
})
})
}
}
,
}
}
}
}
</
script
>
</
script
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论