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
399941df
提交
399941df
authored
7月 01, 2021
作者:
Ras
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
删除汇总单的上传送货单字段
增加汇总明细中上传送货单按钮 选中一条数据就会显示送货单按钮,大于一条不显示
上级
1d2dabfc
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
64 行增加
和
16 行删除
+64
-16
index.html
public/index.html
+2
-2
JEditableTable.vue
src/components/jeecg/JEditableTable.vue
+20
-5
JeecgListMixin.js
src/mixins/JeecgListMixin.js
+1
-0
IostReceivingNoteList.vue
src/views/iost/basedata/IostReceivingNoteList.vue
+7
-2
IostSummarySheetList.vue
src/views/iost/basedata/IostSummarySheetList.vue
+0
-2
IostDeliveryRecordPicForm.vue
...views/iost/basedata/modules/IostDeliveryRecordPicForm.vue
+25
-4
IostDeliveryRecordPicModal.vue
...iews/iost/basedata/modules/IostDeliveryRecordPicModal.vue
+6
-0
IostSummarySheetForm.vue
src/views/iost/basedata/modules/IostSummarySheetForm.vue
+3
-1
没有找到文件。
public/index.html
浏览文件 @
399941df
...
@@ -244,8 +244,8 @@
...
@@ -244,8 +244,8 @@
<!-- http://lf.lingqingkeji.com:8080 -->
<!-- http://lf.lingqingkeji.com:8080 -->
<script>
<script>
window
.
_CONFIG
=
{};
window
.
_CONFIG
=
{};
window
.
_CONFIG
[
'domianURL'
]
=
'http://lf.lingqingkeji.com:8080/wmssystem'
;
//
window._CONFIG['domianURL'] = 'http://lf.lingqingkeji.com:8080/wmssystem';
//
window._CONFIG['domianURL'] = 'http://192.168.1.17:8080/wmssystem';
window
.
_CONFIG
[
'domianURL'
]
=
'http://192.168.1.17:8080/wmssystem'
;
window
.
_CONFIG
[
'casPrefixUrl'
]
=
'http://cas.example.org:8443/cas'
;
window
.
_CONFIG
[
'casPrefixUrl'
]
=
'http://cas.example.org:8443/cas'
;
window
.
_CONFIG
[
'onlinePreviewDomainURL'
]
=
'http://fileview.jeecg.com/onlinePreview'
window
.
_CONFIG
[
'onlinePreviewDomainURL'
]
=
'http://fileview.jeecg.com/onlinePreview'
window
.
_CONFIG
[
'staticDomainURL'
]
=
window
.
_CONFIG
[
'domianURL'
]
+
'/sys/common/static'
;
window
.
_CONFIG
[
'staticDomainURL'
]
=
window
.
_CONFIG
[
'domianURL'
]
+
'/sys/common/static'
;
...
...
src/components/jeecg/JEditableTable.vue
浏览文件 @
399941df
...
@@ -20,6 +20,8 @@
...
@@ -20,6 +20,8 @@
<a-button
type=
"primary"
icon=
"minus"
:disabled=
"disabled"
>
删除
</a-button>
<a-button
type=
"primary"
icon=
"minus"
:disabled=
"disabled"
>
删除
</a-button>
<span
class=
"gap"
></span>
<span
class=
"gap"
></span>
</a-popconfirm>
</a-popconfirm>
<a-button
type=
"primary"
icon=
"upload"
v-if=
"isSummary && selectedRowIds.length
<
2
"
@
click=
"upLoad"
>
上传送货单
</a-button>
<iost-delivery-record-pic-modal
ref=
"picModalForm"
></iost-delivery-record-pic-modal>
<template
v-if=
"showClearSelectButton"
>
<template
v-if=
"showClearSelectButton"
>
<a-button
icon=
"delete"
@
click=
"handleClickClearSelection"
>
清空选择
</a-button>
<a-button
icon=
"delete"
@
click=
"handleClickClearSelection"
>
清空选择
</a-button>
<span
class=
"gap"
></span>
<span
class=
"gap"
></span>
...
@@ -60,7 +62,6 @@
...
@@ -60,7 +62,6 @@
class=
"td"
class=
"td"
:key=
"col.key"
:key=
"col.key"
:style=
"buildTdStyle(col)"
>
:style=
"buildTdStyle(col)"
>
<span>
{{
col
.
title
}}
</span>
<span>
{{
col
.
title
}}
</span>
</div>
</div>
</
template
>
</
template
>
...
@@ -108,7 +109,7 @@
...
@@ -108,7 +109,7 @@
<a-icon
type=
"align-left"
/>
<a-icon
type=
"align-left"
/>
<a-icon
type=
"align-right"
/>
<a-icon
type=
"align-right"
/>
</div>
</div>
<a-menu
slot=
"overlay"
>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"0"
:disabled=
"rowIndex===0"
@
click=
"_handleRowMoveUp(rowIndex)"
>
向上移
</a-menu-item>
<a-menu-item
key=
"0"
:disabled=
"rowIndex===0"
@
click=
"_handleRowMoveUp(rowIndex)"
>
向上移
</a-menu-item>
<a-menu-item
key=
"1"
:disabled=
"rowIndex===(rows.length-1)"
@
click=
"_handleRowMoveDown(rowIndex)"
>
向下移
</a-menu-item>
<a-menu-item
key=
"1"
:disabled=
"rowIndex===(rows.length-1)"
@
click=
"_handleRowMoveDown(rowIndex)"
>
向下移
</a-menu-item>
...
@@ -141,7 +142,6 @@
...
@@ -141,7 +142,6 @@
<!-- 此 v-for 只是为了拼接 id 字符串 -->
<!-- 此 v-for 只是为了拼接 id 字符串 -->
<
template
v-for=
"(id,i) in [`${col.key}${row.id}`]"
>
<
template
v-for=
"(id,i) in [`${col.key}${row.id}`]"
>
<!-- native input -->
<!-- native input -->
<label
:key=
"i"
v-if=
"col.type === formTypes.input || col.type === formTypes.inputNumber"
>
<label
:key=
"i"
v-if=
"col.type === formTypes.input || col.type === formTypes.inputNumber"
>
<a-tooltip
v-bind=
"buildTooltipProps(row, col, id)"
>
<a-tooltip
v-bind=
"buildTooltipProps(row, col, id)"
>
...
@@ -618,6 +618,7 @@
...
@@ -618,6 +618,7 @@
<j-file-pop
ref=
"filePop"
@
ok=
"handleFileSuccess"
></j-file-pop>
<j-file-pop
ref=
"filePop"
@
ok=
"handleFileSuccess"
></j-file-pop>
</div>
</div>
</a-spin>
</a-spin>
</template>
</template>
<
script
>
<
script
>
...
@@ -631,13 +632,15 @@
...
@@ -631,13 +632,15 @@
import
{
getFileAccessHttpUrl
}
from
'@/api/manage'
;
import
{
getFileAccessHttpUrl
}
from
'@/api/manage'
;
import
JInputPop
from
'@/components/jeecg/minipop/JInputPop'
import
JInputPop
from
'@/components/jeecg/minipop/JInputPop'
import
JFilePop
from
'@/components/jeecg/minipop/JFilePop'
import
JFilePop
from
'@/components/jeecg/minipop/JFilePop'
import
IostDeliveryRecordPicModal
from
'../../views/iost/basedata/modules/IostDeliveryRecordPicModal'
//./modules/IostDeliveryRecordPicModal
// 行高,需要在实例加载完成前用到
// 行高,需要在实例加载完成前用到
let
rowHeight
=
61
let
rowHeight
=
61
export
default
{
export
default
{
name
:
'JEditableTable'
,
name
:
'JEditableTable'
,
components
:
{
JDate
,
Draggable
,
JInputPop
,
JFilePop
},
components
:
{
JDate
,
Draggable
,
JInputPop
,
JFilePop
,
IostDeliveryRecordPicModal
},
provide
()
{
provide
()
{
return
{
return
{
parentIsJEditableTable
:
true
,
parentIsJEditableTable
:
true
,
...
@@ -712,7 +715,11 @@
...
@@ -712,7 +715,11 @@
type
:
Object
,
type
:
Object
,
default
:
()
=>
{}
default
:
()
=>
{}
},
},
//是否是汇总表
isSummary
:
{
type
:
Boolean
,
default
:
false
},
},
},
data
()
{
data
()
{
...
@@ -950,6 +957,13 @@
...
@@ -950,6 +957,13 @@
},
},
methods
:
{
methods
:
{
//上传送货单图片
upLoad
(){
// let data = {}
let
rowId
=
this
.
getCleanId
(
this
.
selectedRowIds
[
0
])
this
.
$refs
.
picModalForm
.
editR
(
rowId
)
},
getElement
(
id
,
noCaseId
=
false
)
{
getElement
(
id
,
noCaseId
=
false
)
{
if
(
!
this
.
el
[
id
])
{
if
(
!
this
.
el
[
id
])
{
this
.
el
[
id
]
=
document
.
getElementById
((
noCaseId
?
''
:
this
.
caseId
)
+
id
)
this
.
el
[
id
]
=
document
.
getElementById
((
noCaseId
?
''
:
this
.
caseId
)
+
id
)
...
@@ -2147,6 +2161,7 @@
...
@@ -2147,6 +2161,7 @@
this
.
insert
(
insertIndex
)
this
.
insert
(
insertIndex
)
},
},
/* --- common function begin --- */
/* --- common function begin --- */
/** input事件 */
/** input事件 */
...
...
src/mixins/JeecgListMixin.js
浏览文件 @
399941df
...
@@ -238,6 +238,7 @@ export const JeecgListMixin = {
...
@@ -238,6 +238,7 @@ export const JeecgListMixin = {
param
[
'selections'
]
=
this
.
selectedRowKeys
.
join
(
","
)
param
[
'selections'
]
=
this
.
selectedRowKeys
.
join
(
","
)
}
}
console
.
log
(
"导出参数"
,
param
)
console
.
log
(
"导出参数"
,
param
)
console
.
log
(
this
.
url
.
exportXlsUrl
)
downFile
(
this
.
url
.
exportXlsUrl
,
param
).
then
((
data
)
=>
{
downFile
(
this
.
url
.
exportXlsUrl
,
param
).
then
((
data
)
=>
{
if
(
!
data
)
{
if
(
!
data
)
{
this
.
$message
.
warning
(
"文件下载失败"
)
this
.
$message
.
warning
(
"文件下载失败"
)
...
...
src/views/iost/basedata/IostReceivingNoteList.vue
浏览文件 @
399941df
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
</a-table>
</a-table>
</div>
</div>
<
!-- <iost-receiving-note-modal ref="modalForm" @ok="modalFormOk"/> --
>
<
iost-receiving-note-modal
ref=
"modalForm"
@
ok=
"modalFormOk"
/
>
<iost-receiving-note-copy-modal
ref=
"copyModalForm"
@
ok=
"modalFormOk"
></iost-receiving-note-copy-modal>
<iost-receiving-note-copy-modal
ref=
"copyModalForm"
@
ok=
"modalFormOk"
></iost-receiving-note-copy-modal>
</a-card>
</a-card>
</template>
</template>
...
@@ -210,6 +210,12 @@
...
@@ -210,6 +210,12 @@
methods
:
{
methods
:
{
initDictConfig
(){
initDictConfig
(){
},
},
handleDetail
(
record
)
{
this
.
$refs
.
modalForm
.
edit
(
record
);
this
.
$refs
.
modalForm
.
title
=
"详情"
;
this
.
$refs
.
modalForm
.
disableSubmit
=
true
;
},
handleCopy
(
record
)
handleCopy
(
record
)
{
{
this
.
$refs
.
copyModalForm
.
edit
(
record
);
this
.
$refs
.
copyModalForm
.
edit
(
record
);
...
@@ -217,7 +223,6 @@
...
@@ -217,7 +223,6 @@
this
.
$refs
.
copyModalForm
.
disableSubmit
=
true
;
this
.
$refs
.
copyModalForm
.
disableSubmit
=
true
;
},
},
exportReceivingNotePdf
(
record
){
exportReceivingNotePdf
(
record
){
console
.
log
(
record
)
let
url
=
`
${
window
.
_CONFIG
[
'domianURL'
]}
/basedata/iostReceivingNote/exportReceivingNotePdf`
;
let
url
=
`
${
window
.
_CONFIG
[
'domianURL'
]}
/basedata/iostReceivingNote/exportReceivingNotePdf`
;
downFile
(
url
,
{
deliveryRecordId
:
record
.
deliveryRecordId
}).
then
((
data
)
=>
downFile
(
url
,
{
deliveryRecordId
:
record
.
deliveryRecordId
}).
then
((
data
)
=>
{
{
...
...
src/views/iost/basedata/IostSummarySheetList.vue
浏览文件 @
399941df
...
@@ -97,8 +97,6 @@
...
@@ -97,8 +97,6 @@
<a-divider
type=
"vertical"
/>
<a-divider
type=
"vertical"
/>
<a-popconfirm
title=
"是否根据选中数据生成送货单?"
@
confirm=
"() => genDeliveryNote(record)"
><a>
生成送货单
</a></a-popconfirm>
<a-popconfirm
title=
"是否根据选中数据生成送货单?"
@
confirm=
"() => genDeliveryNote(record)"
><a>
生成送货单
</a></a-popconfirm>
<a-divider
type=
"vertical"
/>
<a-divider
type=
"vertical"
/>
<a
@
click=
"editPic(record)"
>
上传送货单
</a>
<a-divider
type=
"vertical"
/>
<a
@
click=
"handleCopy(record)"
>
打印汇总单
</a>
<a
@
click=
"handleCopy(record)"
>
打印汇总单
</a>
<a-divider
type=
"vertical"
/>
<a-divider
type=
"vertical"
/>
<a-dropdown>
<a-dropdown>
...
...
src/views/iost/basedata/modules/IostDeliveryRecordPicForm.vue
浏览文件 @
399941df
...
@@ -68,7 +68,8 @@
...
@@ -68,7 +68,8 @@
},
},
url
:
{
url
:
{
add
:
"/basedata/iostDeliveryRecordPic/add"
,
add
:
"/basedata/iostDeliveryRecordPic/add"
,
edit
:
"/basedata/iostDeliveryRecordPic/edit"
,
edit
:
"/basedata/iostSummarySheet/updateSummarySheetList"
,
// edit: "/basedata/iostDeliveryRecordPic/edit",///basedata/iostDeliveryRecordPic/edit
queryById
:
"/basedata/iostDeliveryRecordPic/queryById"
queryById
:
"/basedata/iostDeliveryRecordPic/queryById"
}
}
}
}
...
@@ -100,15 +101,35 @@
...
@@ -100,15 +101,35 @@
add
()
{
add
()
{
this
.
edit
({});
this
.
edit
({});
},
},
editR
(
record
){
let
that
=
this
;
let
curId
=
record
;
let
url
=
`
${
window
.
_CONFIG
[
'domianURL'
]}
/basedata/iostDeliveryRecordPic/queryById`
;
getAction
(
url
,{
id
:
curId
}).
then
((
res
)
=>
{
console
.
log
(
"res"
)
console
.
log
(
res
)
that
.
form
.
resetFields
();
if
(
res
.
success
){
that
.
model
=
Object
.
assign
({},
res
.
result
);
}
else
{
that
.
model
=
{
id
:
curId
};
}
that
.
visible
=
true
;
that
.
$nextTick
(()
=>
{
that
.
form
.
setFieldsValue
(
pick
(
that
.
model
,
'pic'
))
})
})
},
edit
(
record
)
{
edit
(
record
)
{
let
that
=
this
;
let
that
=
this
;
let
curId
=
record
.
deliveryRecordId
;
let
curId
=
record
.
deliveryRecordId
;
//.deliveryRecordId
let
url
=
`
${
window
.
_CONFIG
[
'domianURL'
]}
/basedata/iostDeliveryRecordPic/queryById`
;
let
url
=
`
${
window
.
_CONFIG
[
'domianURL'
]}
/basedata/iostDeliveryRecordPic/queryById`
;
getAction
(
url
,{
id
:
curId
}).
then
((
res
)
=>
{
getAction
(
url
,{
id
:
curId
}).
then
((
res
)
=>
{
console
.
log
(
"res"
)
console
.
log
(
"res"
)
console
.
log
(
res
)
console
.
log
(
res
)
that
.
form
.
resetFields
();
that
.
form
.
resetFields
();
if
(
res
.
success
){
if
(
res
.
success
){
that
.
model
=
Object
.
assign
({},
res
.
result
);
that
.
model
=
Object
.
assign
({},
res
.
result
);
}
}
...
...
src/views/iost/basedata/modules/IostDeliveryRecordPicModal.vue
浏览文件 @
399941df
...
@@ -35,6 +35,12 @@
...
@@ -35,6 +35,12 @@
this
.
$refs
.
realForm
.
add
();
this
.
$refs
.
realForm
.
add
();
})
})
},
},
editR
(
record
){
this
.
visible
=
true
this
.
$nextTick
(()
=>
{
this
.
$refs
.
realForm
.
editR
(
record
);
})
},
edit
(
record
)
{
edit
(
record
)
{
this
.
visible
=
true
this
.
visible
=
true
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
...
src/views/iost/basedata/modules/IostSummarySheetForm.vue
浏览文件 @
399941df
...
@@ -38,7 +38,9 @@
...
@@ -38,7 +38,9 @@
:disabled=
"formDisabled"
:disabled=
"formDisabled"
:rowNumber=
"true"
:rowNumber=
"true"
:rowSelection=
"true"
:rowSelection=
"true"
:actionButton=
"true"
/>
:actionButton=
"true"
:isSummary=
"true"
/>
</a-tab-pane>
</a-tab-pane>
</a-tabs>
</a-tabs>
</a-spin>
</a-spin>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论