Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
8c21df8f
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1171
Star
154
Fork
127
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
8c21df8f
编写于
5月 28, 2024
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 转采购合同模板
上级
4c849fba
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
72 addition
and
2 deletion
+72
-2
erp/src/main/resources/template/js/purchaseRequest/purchaseRequestList.js
...ources/template/js/purchaseRequest/purchaseRequestList.js
+17
-2
erp/src/main/resources/template/js/purchaseRequest/requestToContract.js
...esources/template/js/purchaseRequest/requestToContract.js
+24
-0
erp/src/main/resources/template/tpl/purchaseRequest/purchaseRequestList.html
...ces/template/tpl/purchaseRequest/purchaseRequestList.html
+1
-0
erp/src/main/resources/template/tpl/purchaseRequest/requestToContract.html
...urces/template/tpl/purchaseRequest/requestToContract.html
+30
-0
未找到文件。
erp/src/main/resources/template/js/purchaseRequest/purchaseRequestList.js
浏览文件 @
8c21df8f
...
...
@@ -74,10 +74,12 @@ layui.config({
activitiUtil
.
activitiDetails
(
data
);
}
else
if
(
layEvent
===
'
revoke
'
)
{
//撤销
revoke
(
data
);
}
else
if
(
layEvent
===
'
inquiry
'
)
{
//询价
}
else
if
(
layEvent
===
'
inquiry
'
)
{
//询价
inquiry
(
data
);
}
else
if
(
layEvent
===
'
fixedPrice
'
)
{
//定价
}
else
if
(
layEvent
===
'
fixedPrice
'
)
{
//定价
fixedPrice
(
data
);
}
else
if
(
layEvent
===
'
toContract
'
)
{
//转采购合同
toContract
(
data
);
}
});
...
...
@@ -118,6 +120,19 @@ layui.config({
}});
}
// 转采购合同
function
toContract
(
data
)
{
_openNewWindows
({
url
:
'
../../tpl/purchaseRequest/requestToContract.html?id=
'
+
data
.
id
,
title
:
'
采购合同
'
,
pageId
:
"
requestToContract
"
,
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
}
// 询价
function
inquiry
(
data
)
{
_openNewWindows
({
...
...
erp/src/main/resources/template/js/purchaseRequest/requestToContract.js
0 → 100644
浏览文件 @
8c21df8f
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
table
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
var
id
=
GetUrlParam
(
"
id
"
);
let
tabList
=
[{
name
:
"
tab1
"
,
content
:
'
内容1
'
},
{
name
:
"
tab2
"
,
content
:
'
内容2
'
}]
$
(
"
#titleUl
"
).
html
(
getDataUseHandlebars
(
'
{{#rows}}<li>{{name}}</li>{{/rows}}
'
,
{
rows
:
tabList
}));
$
(
"
#contentDiv
"
).
html
(
getDataUseHandlebars
(
'
{{#rows}}<div class="layui-tab-item">{{content}}</div>{{/rows}}
'
,
{
rows
:
tabList
}));
});
\ No newline at end of file
erp/src/main/resources/template/tpl/purchaseRequest/purchaseRequestList.html
浏览文件 @
8c21df8f
...
...
@@ -44,6 +44,7 @@
{{
#
}
}}
{{
#
}
}}
{{
#
}
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
toContract
"
>
转采购合同
<
/a
>
</script>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
...
...
erp/src/main/resources/template/tpl/purchaseRequest/requestToContract.html
0 → 100644
浏览文件 @
8c21df8f
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
class=
"layui-tab"
>
<ul
class=
"layui-tab-title"
id=
"titleUl"
>
</ul>
<div
class=
"layui-tab-content"
id=
"contentDiv"
>
</div>
</div>
<script
type=
"text/x-handlebars-template"
id=
"fileMationTemplate"
>
{{
#
bean
}}
{{
/
bean
}}
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/purchaseRequest/
'
}).
use
(
'
requestToContract
'
);
</script>
</body>
</html>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录