Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
b79b6f53
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1283
Star
158
Fork
129
代码
文件
提交
分支
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看板
提交
b79b6f53
编写于
7月 17, 2024
作者:
L
LAPTOP-NDCM9L6Q\王丽雅
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:修改整单委外单字段
上级
ad4c8f12
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
47 addition
and
17 deletion
+47
-17
erp-produce/src/main/resources/template/js/erpPreProductionPlan/preProductionTurnToProduction.js
.../js/erpPreProductionPlan/preProductionTurnToProduction.js
+2
-3
erp-produce/src/main/resources/template/js/erpProduction/erpProductionList.js
.../resources/template/js/erpProduction/erpProductionList.js
+1
-1
erp-produce/src/main/resources/template/js/wholeOut/wholeOutList.js
...e/src/main/resources/template/js/wholeOut/wholeOutList.js
+30
-12
erp-produce/src/main/resources/template/tpl/erpProduction/erpProductionList.html
...sources/template/tpl/erpProduction/erpProductionList.html
+13
-0
erp/src/main/resources/template/js/salesOrder/chooseList.js
erp/src/main/resources/template/js/salesOrder/chooseList.js
+1
-0
erp/src/main/resources/template/js/salesOrder/salesOrderToOutlet.js
...in/resources/template/js/salesOrder/salesOrderToOutlet.js
+0
-1
未找到文件。
erp-produce/src/main/resources/template/js/erpPreProductionPlan/preProductionTurnToProduction.js
浏览文件 @
b79b6f53
...
...
@@ -38,9 +38,8 @@ layui.config({
// 新增行的回调函数
tableAddRowCallback
:
function
(
tableId
)
{
$
(
"
#addRow
"
+
tableId
).
remove
();
$
(
"
div[controlType='simpleTable']
"
).
find
(
"
.chooseProductBtn
"
).
prop
(
'
disabled
'
,
true
);
$
(
"
div[controlType='simpleTable']
"
).
find
(
"
.normsId
"
).
prop
(
'
disabled
'
,
true
);
// $("div[controlType='simpleTable']").find(".chooseProductBtn").prop('disabled', true);
// $("div[controlType='simpleTable']").find(".normsId").prop('disabled', true);
}
});
}});
...
...
erp-produce/src/main/resources/template/js/erpProduction/erpProductionList.js
浏览文件 @
b79b6f53
...
...
@@ -57,7 +57,7 @@ layui.config({
]],
done
:
function
(
json
)
{
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入
生产
单号
"
,
function
()
{
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入单号
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
...
...
erp-produce/src/main/resources/template/js/wholeOut/wholeOutList.js
浏览文件 @
b79b6f53
...
...
@@ -27,20 +27,38 @@ layui.config({
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
oddNumber
'
,
title
:
'
单号
'
,
align
:
'
center
'
,
width
:
200
,
templet
:
function
(
d
)
{
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
oddNumber
+
'
</a>
'
;
{
field
:
'
oddNumber
'
,
title
:
'
单号
'
,
rowspan
:
'
2
'
,
align
:
'
left
'
,
width
:
220
,
templet
:
function
(
d
)
{
var
str
=
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
oddNumber
+
'
</a>
'
;
if
(
!
isNull
(
d
.
fromId
))
{
str
+=
'
<span class="state-new">[转]</span>
'
;
}
return
str
;
}},
{
field
:
'
accountId
'
,
width
:
150
,
title
:
'
账户
'
,
align
:
'
center
'
},
// { field: 'departmentId', width: 150, title: '部门', align: 'center',templet: function (d) {
// if (!isNull(d.departmentMation)) {
// return d.departmentMation.name;
// }
// return '';
// }},
// // { field: 'farmId', width: 150, title: '车间', align: 'center'},
//
// { field: 'farmId', title: '车间', align: 'left', width: 150, templet: function (d) {
// if (!isNull(d.farmMation)) {
// return d.farmMation.name;
// }
// return '';
// }},
//
{
field
:
'
operTime
'
,
width
:
150
,
title
:
'
单据日期
'
,
align
:
'
center
'
},
{
field
:
'
farmId
'
,
width
:
150
,
title
:
'
车间
'
,
align
:
'
center
'
},
{
field
:
'
holderId
'
,
width
:
150
,
title
:
'
客户
'
,
align
:
'
center
'
},
{
field
:
'
departmentId
'
,
width
:
120
,
title
:
'
部门
'
,
align
:
'
center
'
},
{
field
:
'
salesman
'
,
width
:
150
,
title
:
'
业务员
'
,
align
:
'
center
'
},
{
field
:
'
planComplateTime
'
,
width
:
140
,
title
:
'
计划完成时间
'
,
align
:
'
center
'
},
{
field
:
'
totalPrice
'
,
title
:
'
合计金额
'
,
rowspan
:
'
2
'
,
align
:
'
center
'
,
width
:
120
},
// { field: 'farmId', width: 150, title: '车间
', align: 'center'},
{
field
:
'
holderMation
'
,
title
:
'
客户
'
,
rowspan
:
'
2
'
,
align
:
'
center
'
,
width
:
150
,
templet
:
function
(
d
)
{
return
getNotUndefinedVal
(
d
.
holderMation
?.
name
);
}
},
{
field
:
'
processInstanceId
'
,
width
:
200
,
title
:
'
流程ID
'
,
align
:
'
center
'
},
//
{ field: 'state', title: '状态', width: 90, templet: function (d) {
// return skyeyeClassEnumUtil.getEnumDataNameByCodeAndKey("purchaseOrderState
", 'id', d.state, 'name');
//
}},
{
field
:
'
state
'
,
title
:
'
状态
'
,
width
:
90
,
templet
:
function
(
d
)
{
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
erpOrderStateEnum
"
,
'
id
'
,
d
.
state
,
'
name
'
);
}},
{
field
:
'
lastUpdateName
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
{
field
:
'
lastUpdateTime
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
width
:
120
},
...
...
@@ -49,7 +67,7 @@ layui.config({
]],
done
:
function
(
json
)
{
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入
生产
单号
"
,
function
()
{
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入单号
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
...
...
erp-produce/src/main/resources/template/tpl/erpProduction/erpProductionList.html
浏览文件 @
b79b6f53
...
...
@@ -32,6 +32,19 @@
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-danger
"
lay
-
event
=
"
revoke
"
>
撤销
<
/a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
state
==
'
pass
'
||
d
.
state
==
'
partiallyCompleted
'
)
{
}}
{{
#
if
(
d
.
productionType
==
1
)
{
}}
{{
#
if
(
auth
(
'
1720796297124
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
turnPurchase
"
>
转加工单
<
/a
>
{{
#
}
}}
{{
#
}
}}
{{
#
if
(
d
.
productionType
==
2
)
{
}}
{{
#
if
(
auth
(
'
1720835673573
'
))
{
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
transferToWaybill
"
>
转整单委外单
<
/a
>
{{
#
}
}}
{{
#
}
}}
{{
#
}
}}
</script>
</div>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
...
...
erp/src/main/resources/template/js/salesOrder/chooseList.js
浏览文件 @
b79b6f53
...
...
@@ -36,6 +36,7 @@ layui.config({
{
field
:
'
holderMation
'
,
title
:
'
客户
'
,
rowspan
:
'
2
'
,
align
:
'
left
'
,
width
:
150
,
templet
:
function
(
d
)
{
return
getNotUndefinedVal
(
d
.
holderMation
?.
name
);
}},
{
field
:
'
totalPrice
'
,
title
:
'
合计金额
'
,
rowspan
:
'
2
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
operTime
'
,
title
:
'
单据日期
'
,
rowspan
:
'
2
'
,
align
:
'
center
'
,
width
:
140
},
{
colspan
:
'
2
'
,
title
:
'
来源单据信息
'
,
align
:
'
center
'
},
...
...
erp/src/main/resources/template/js/salesOrder/salesOrderToOutlet.js
浏览文件 @
b79b6f53
...
...
@@ -18,7 +18,6 @@ layui.config({
// 销售订单转销售出库
AjaxPostUtil
.
request
({
url
:
sysMainMation
.
erpBasePath
+
"
querySealsOrderTransById
"
,
params
:
{
id
:
id
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
json
)
{
let
data
=
json
.
bean
;
console
.
log
(
5555
,
data
)
// 销售出库的【编辑布局】
dsFormUtil
.
initEditPageForStatic
(
'
content
'
,
'
FP2023042700002
'
,
data
,
{
savePreParams
:
function
(
params
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录