Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
5af16f2f
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1431
Star
162
Fork
130
代码
文件
提交
分支
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看板
提交
5af16f2f
编写于
4月 03, 2022
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
生产模块整改
上级
73c91a88
变更
51
隐藏空白更改
内联
并排
Showing
51 changed file
with
105 addition
and
105 deletion
+105
-105
erp-produce/src/main/resources/template/js/erpBom/erpBomAdd.js
...roduce/src/main/resources/template/js/erpBom/erpBomAdd.js
+1
-1
erp-produce/src/main/resources/template/js/erpBom/erpBomDetail.js
...uce/src/main/resources/template/js/erpBom/erpBomDetail.js
+1
-1
erp-produce/src/main/resources/template/js/erpBom/erpBomEdit.js
...oduce/src/main/resources/template/js/erpBom/erpBomEdit.js
+2
-2
erp-produce/src/main/resources/template/js/erpBom/erpBomList.js
...oduce/src/main/resources/template/js/erpBom/erpBomList.js
+2
-2
erp-produce/src/main/resources/template/js/erpDepartStock/erpDepartStockList.js
...esources/template/js/erpDepartStock/erpDepartStockList.js
+1
-1
erp-produce/src/main/resources/template/js/erpFarm/erpFarmAdd.js
...duce/src/main/resources/template/js/erpFarm/erpFarmAdd.js
+1
-1
erp-produce/src/main/resources/template/js/erpFarm/erpFarmChoose.js
...e/src/main/resources/template/js/erpFarm/erpFarmChoose.js
+3
-3
erp-produce/src/main/resources/template/js/erpFarm/erpFarmDetail.js
...e/src/main/resources/template/js/erpFarm/erpFarmDetail.js
+1
-1
erp-produce/src/main/resources/template/js/erpFarm/erpFarmEdit.js
...uce/src/main/resources/template/js/erpFarm/erpFarmEdit.js
+2
-2
erp-produce/src/main/resources/template/js/erpFarm/erpFarmList.js
...uce/src/main/resources/template/js/erpFarm/erpFarmList.js
+4
-4
erp-produce/src/main/resources/template/js/erpMachin/erpDepartMachinList.js
...in/resources/template/js/erpMachin/erpDepartMachinList.js
+1
-1
erp-produce/src/main/resources/template/js/erpMachin/erpMachinAcceptance.js
...in/resources/template/js/erpMachin/erpMachinAcceptance.js
+1
-1
erp-produce/src/main/resources/template/js/erpMachin/erpMachinAdd.js
.../src/main/resources/template/js/erpMachin/erpMachinAdd.js
+1
-1
erp-produce/src/main/resources/template/js/erpMachin/erpMachinDetails.js
.../main/resources/template/js/erpMachin/erpMachinDetails.js
+1
-1
erp-produce/src/main/resources/template/js/erpMachin/erpMachinEdit.js
...src/main/resources/template/js/erpMachin/erpMachinEdit.js
+2
-2
erp-produce/src/main/resources/template/js/erpMachin/erpMachinExamine.js
.../main/resources/template/js/erpMachin/erpMachinExamine.js
+2
-2
erp-produce/src/main/resources/template/js/erpMachin/erpMachinList.js
...src/main/resources/template/js/erpMachin/erpMachinList.js
+3
-3
erp-produce/src/main/resources/template/js/erpMachin/erpMachinStateIsPassNoComplateChoose.js
...late/js/erpMachin/erpMachinStateIsPassNoComplateChoose.js
+2
-2
erp-produce/src/main/resources/template/js/erpPick/erpPatchAdd.js
...uce/src/main/resources/template/js/erpPick/erpPatchAdd.js
+1
-1
erp-produce/src/main/resources/template/js/erpPick/erpPatchDetails.js
...src/main/resources/template/js/erpPick/erpPatchDetails.js
+1
-1
erp-produce/src/main/resources/template/js/erpPick/erpPatchEdit.js
...ce/src/main/resources/template/js/erpPick/erpPatchEdit.js
+2
-2
erp-produce/src/main/resources/template/js/erpPick/erpPatchPickList.js
...rc/main/resources/template/js/erpPick/erpPatchPickList.js
+3
-3
erp-produce/src/main/resources/template/js/erpPick/erpPickApprovalExamine.js
...n/resources/template/js/erpPick/erpPickApprovalExamine.js
+1
-1
erp-produce/src/main/resources/template/js/erpPick/erpRequisitionAdd.js
...c/main/resources/template/js/erpPick/erpRequisitionAdd.js
+1
-1
erp-produce/src/main/resources/template/js/erpPick/erpRequisitionDetails.js
...in/resources/template/js/erpPick/erpRequisitionDetails.js
+1
-1
erp-produce/src/main/resources/template/js/erpPick/erpRequisitionEdit.js
.../main/resources/template/js/erpPick/erpRequisitionEdit.js
+2
-2
erp-produce/src/main/resources/template/js/erpPick/erpRequisitionPickList.js
...n/resources/template/js/erpPick/erpRequisitionPickList.js
+3
-3
erp-produce/src/main/resources/template/js/erpPick/erpReturnAdd.js
...ce/src/main/resources/template/js/erpPick/erpReturnAdd.js
+1
-1
erp-produce/src/main/resources/template/js/erpPick/erpReturnDetails.js
...rc/main/resources/template/js/erpPick/erpReturnDetails.js
+1
-1
erp-produce/src/main/resources/template/js/erpPick/erpReturnEdit.js
...e/src/main/resources/template/js/erpPick/erpReturnEdit.js
+2
-2
erp-produce/src/main/resources/template/js/erpPick/erpReturnPickList.js
...c/main/resources/template/js/erpPick/erpReturnPickList.js
+3
-3
erp-produce/src/main/resources/template/js/erpProduction/erpProductionAdd.js
...n/resources/template/js/erpProduction/erpProductionAdd.js
+4
-4
erp-produce/src/main/resources/template/js/erpProduction/erpProductionDetail.js
...esources/template/js/erpProduction/erpProductionDetail.js
+1
-1
erp-produce/src/main/resources/template/js/erpProduction/erpProductionEdit.js
.../resources/template/js/erpProduction/erpProductionEdit.js
+12
-12
erp-produce/src/main/resources/template/js/erpProduction/erpProductionExamine.js
...sources/template/js/erpProduction/erpProductionExamine.js
+2
-2
erp-produce/src/main/resources/template/js/erpProduction/erpProductionList.js
.../resources/template/js/erpProduction/erpProductionList.js
+3
-3
erp-produce/src/main/resources/template/js/erpProduction/erpProductionNoSuccessChoose.js
...template/js/erpProduction/erpProductionNoSuccessChoose.js
+2
-2
erp-produce/src/main/resources/template/js/erpProduction/erpProductionNoSuccessChooseProcedure.js
...js/erpProduction/erpProductionNoSuccessChooseProcedure.js
+2
-2
erp-produce/src/main/resources/template/js/erpWayProcedure/erpWayProcedureAdd.js
...sources/template/js/erpWayProcedure/erpWayProcedureAdd.js
+1
-1
erp-produce/src/main/resources/template/js/erpWayProcedure/erpWayProcedureChoose.js
...rces/template/js/erpWayProcedure/erpWayProcedureChoose.js
+1
-1
erp-produce/src/main/resources/template/js/erpWayProcedure/erpWayProcedureDetails.js
...ces/template/js/erpWayProcedure/erpWayProcedureDetails.js
+1
-1
erp-produce/src/main/resources/template/js/erpWayProcedure/erpWayProcedureEdit.js
...ources/template/js/erpWayProcedure/erpWayProcedureEdit.js
+2
-2
erp-produce/src/main/resources/template/js/erpWayProcedure/erpWayProcedureList.js
...ources/template/js/erpWayProcedure/erpWayProcedureList.js
+4
-4
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureAdd.js
...urces/template/js/erpWorkProcedure/erpWorkProcedureAdd.js
+2
-2
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureChoose.js
...es/template/js/erpWorkProcedure/erpWorkProcedureChoose.js
+2
-2
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureDetail.js
...es/template/js/erpWorkProcedure/erpWorkProcedureDetail.js
+1
-1
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureEdit.js
...rces/template/js/erpWorkProcedure/erpWorkProcedureEdit.js
+3
-3
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureList.js
...rces/template/js/erpWorkProcedure/erpWorkProcedureList.js
+2
-2
erp-produce/src/main/resources/template/js/erpWorkProcedureType/erpWorkProcedureTypeAdd.js
...mplate/js/erpWorkProcedureType/erpWorkProcedureTypeAdd.js
+1
-1
erp-produce/src/main/resources/template/js/erpWorkProcedureType/erpWorkProcedureTypeEdit.js
...plate/js/erpWorkProcedureType/erpWorkProcedureTypeEdit.js
+2
-2
erp-produce/src/main/resources/template/js/erpWorkProcedureType/erpWorkProcedureTypeList.js
...plate/js/erpWorkProcedureType/erpWorkProcedureTypeList.js
+4
-4
未找到文件。
erp-produce/src/main/resources/template/js/erpBom/erpBomAdd.js
浏览文件 @
5af16f2f
...
@@ -72,7 +72,7 @@ layui.config({
...
@@ -72,7 +72,7 @@ layui.config({
childStr
:
JSON
.
stringify
(
childObject
)
childStr
:
JSON
.
stringify
(
childObject
)
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpbom002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpbom002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpBom/erpBomDetail.js
浏览文件 @
5af16f2f
...
@@ -10,7 +10,7 @@ layui.config({
...
@@ -10,7 +10,7 @@ layui.config({
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
var
$
=
layui
.
$
;
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpbom003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpbom003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
$
(
"
#showForm
"
).
html
(
getDataUseHandlebars
(
$
(
"
#mainHtml
"
).
html
(),
json
));
$
(
"
#showForm
"
).
html
(
getDataUseHandlebars
(
$
(
"
#mainHtml
"
).
html
(),
json
));
$
.
fn
.
zTree
.
init
(
$
(
"
#treeDemo
"
),
setting
,
json
.
bean
.
bomMaterialList
);
$
.
fn
.
zTree
.
init
(
$
(
"
#treeDemo
"
),
setting
,
json
.
bean
.
bomMaterialList
);
...
...
erp-produce/src/main/resources/template/js/erpBom/erpBomEdit.js
浏览文件 @
5af16f2f
...
@@ -26,7 +26,7 @@ layui.config({
...
@@ -26,7 +26,7 @@ layui.config({
//下拉框模板
//下拉框模板
var
selTemplate
=
getFileContent
(
'
tpl/template/select-option-must.tpl
'
);
var
selTemplate
=
getFileContent
(
'
tpl/template/select-option-must.tpl
'
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpbom005
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpbom005
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
$
(
"
#showForm
"
).
html
(
getDataUseHandlebars
(
$
(
"
#mainHtml
"
).
html
(),
json
));
$
(
"
#showForm
"
).
html
(
getDataUseHandlebars
(
$
(
"
#mainHtml
"
).
html
(),
json
));
textool
.
init
({
textool
.
init
({
...
@@ -98,7 +98,7 @@ layui.config({
...
@@ -98,7 +98,7 @@ layui.config({
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpbom006
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpbom006
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpBom/erpBomList.js
浏览文件 @
5af16f2f
...
@@ -19,7 +19,7 @@ layui.config({
...
@@ -19,7 +19,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erpbom001
'
,
url
:
flowable
BasePath
+
'
erpbom001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -91,7 +91,7 @@ layui.config({
...
@@ -91,7 +91,7 @@ layui.config({
function
deleteAccount
(
data
){
function
deleteAccount
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpbom004
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpbom004
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
erp-produce/src/main/resources/template/js/erpDepartStock/erpDepartStockList.js
浏览文件 @
5af16f2f
...
@@ -21,7 +21,7 @@ layui.config({
...
@@ -21,7 +21,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erpdepartstock001
'
,
url
:
flowable
BasePath
+
'
erpdepartstock001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
...
erp-produce/src/main/resources/template/js/erpFarm/erpFarmAdd.js
浏览文件 @
5af16f2f
...
@@ -65,7 +65,7 @@ layui.config({
...
@@ -65,7 +65,7 @@ layui.config({
chargePerson
:
chargeUser
[
0
].
id
,
chargePerson
:
chargeUser
[
0
].
id
,
farmProcedure
:
JSON
.
stringify
(
procedureMationList
)
farmProcedure
:
JSON
.
stringify
(
procedureMationList
)
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpfarm002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpfarm002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpFarm/erpFarmChoose.js
浏览文件 @
5af16f2f
...
@@ -21,7 +21,7 @@ layui.config({
...
@@ -21,7 +21,7 @@ layui.config({
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpworkprocedure009
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpworkprocedure009
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
// 加载工序数据
// 加载工序数据
$
(
"
#procedureId
"
).
html
(
getDataUseHandlebars
(
selOption
,
json
));
$
(
"
#procedureId
"
).
html
(
getDataUseHandlebars
(
selOption
,
json
));
...
@@ -70,7 +70,7 @@ layui.config({
...
@@ -70,7 +70,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erpfarm010
'
,
url
:
flowable
BasePath
+
'
erpfarm010
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -136,7 +136,7 @@ layui.config({
...
@@ -136,7 +136,7 @@ layui.config({
var
selectedData
=
tableCheckBoxUtil
.
getValue
({
var
selectedData
=
tableCheckBoxUtil
.
getValue
({
gridId
:
'
messageTable
'
gridId
:
'
messageTable
'
});
});
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpfarm011
"
,
params
:
{
ids
:
selectedData
.
toString
()},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpfarm011
"
,
params
:
{
ids
:
selectedData
.
toString
()},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
procedureMationList
=
[].
concat
(
json
.
rows
);
parent
.
procedureMationList
=
[].
concat
(
json
.
rows
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp-produce/src/main/resources/template/js/erpFarm/erpFarmDetail.js
浏览文件 @
5af16f2f
...
@@ -13,7 +13,7 @@ layui.config({
...
@@ -13,7 +13,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpfarm006
"
,
url
:
flowable
BasePath
+
"
erpfarm006
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
template
:
$
(
"
#beanTemplate
"
).
html
(),
...
...
erp-produce/src/main/resources/template/js/erpFarm/erpFarmEdit.js
浏览文件 @
5af16f2f
...
@@ -28,7 +28,7 @@ layui.config({
...
@@ -28,7 +28,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpfarm003
"
,
url
:
flowable
BasePath
+
"
erpfarm003
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
template
:
$
(
"
#beanTemplate
"
).
html
(),
...
@@ -83,7 +83,7 @@ layui.config({
...
@@ -83,7 +83,7 @@ layui.config({
farmProcedure
:
JSON
.
stringify
(
procedureMationList
),
farmProcedure
:
JSON
.
stringify
(
procedureMationList
),
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpfarm004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpfarm004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpFarm/erpFarmList.js
浏览文件 @
5af16f2f
...
@@ -19,7 +19,7 @@ layui.config({
...
@@ -19,7 +19,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erpfarm001
'
,
url
:
flowable
BasePath
+
'
erpfarm001
'
,
where
:
getTablePatams
(),
where
:
getTablePatams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -104,7 +104,7 @@ layui.config({
...
@@ -104,7 +104,7 @@ layui.config({
// 删除
// 删除
function
deletemember
(
data
){
function
deletemember
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpfarm005
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpfarm005
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
@@ -130,7 +130,7 @@ layui.config({
...
@@ -130,7 +130,7 @@ layui.config({
// 恢复正常
// 恢复正常
function
norms
(
data
){
function
norms
(
data
){
layer
.
confirm
(
'
确认要恢复正常吗?
'
,
{
icon
:
3
,
title
:
'
恢复操作
'
},
function
(
index
)
{
layer
.
confirm
(
'
确认要恢复正常吗?
'
,
{
icon
:
3
,
title
:
'
恢复操作
'
},
function
(
index
)
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpfarm008
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpfarm008
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
提交成功。
"
,
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
"
提交成功。
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
@@ -144,7 +144,7 @@ layui.config({
...
@@ -144,7 +144,7 @@ layui.config({
// 维修整改
// 维修整改
function
rectification
(
data
){
function
rectification
(
data
){
layer
.
confirm
(
'
确认要维修整改吗?
'
,
{
icon
:
3
,
title
:
'
维修整改操作
'
},
function
(
index
)
{
layer
.
confirm
(
'
确认要维修整改吗?
'
,
{
icon
:
3
,
title
:
'
维修整改操作
'
},
function
(
index
)
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpfarm009
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpfarm009
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
提交成功。
"
,
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
"
提交成功。
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
erp-produce/src/main/resources/template/js/erpMachin/erpDepartMachinList.js
浏览文件 @
5af16f2f
...
@@ -17,7 +17,7 @@ layui.config({
...
@@ -17,7 +17,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erpmachin009
'
,
url
:
flowable
BasePath
+
'
erpmachin009
'
,
where
:
getTablePatams
(),
where
:
getTablePatams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
...
erp-produce/src/main/resources/template/js/erpMachin/erpMachinAcceptance.js
浏览文件 @
5af16f2f
...
@@ -76,7 +76,7 @@ layui.config({
...
@@ -76,7 +76,7 @@ layui.config({
belowNum
:
$
(
"
#belowNum
"
).
val
(),
belowNum
:
$
(
"
#belowNum
"
).
val
(),
depotId
:
(
subType
==
1
)
?
""
:
$
(
"
#depotId
"
).
val
()
depotId
:
(
subType
==
1
)
?
""
:
$
(
"
#depotId
"
).
val
()
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpmachin012
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpmachin012
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpMachin/erpMachinAdd.js
浏览文件 @
5af16f2f
...
@@ -157,7 +157,7 @@ layui.config({
...
@@ -157,7 +157,7 @@ layui.config({
materielStr
:
JSON
.
stringify
(
tableData
),
materielStr
:
JSON
.
stringify
(
tableData
),
procedureJsonStr
:
JSON
.
stringify
(
procedureMationList
)
procedureJsonStr
:
JSON
.
stringify
(
procedureMationList
)
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpmachin002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpmachin002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpMachin/erpMachinDetails.js
浏览文件 @
5af16f2f
...
@@ -24,7 +24,7 @@ layui.config({
...
@@ -24,7 +24,7 @@ layui.config({
function
initData
(){
function
initData
(){
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpmachin006
"
,
url
:
flowable
BasePath
+
"
erpmachin006
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
$
(
"
#useTemplate
"
).
html
(),
template
:
$
(
"
#useTemplate
"
).
html
(),
...
...
erp-produce/src/main/resources/template/js/erpMachin/erpMachinEdit.js
浏览文件 @
5af16f2f
...
@@ -72,7 +72,7 @@ layui.config({
...
@@ -72,7 +72,7 @@ layui.config({
});
});
function
loadData
(){
function
loadData
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpmachin003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpmachin003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
var
data
=
json
.
bean
;
var
data
=
json
.
bean
;
if
(
!
isNull
(
data
.
productionId
)){
if
(
!
isNull
(
data
.
productionId
)){
...
@@ -229,7 +229,7 @@ layui.config({
...
@@ -229,7 +229,7 @@ layui.config({
procedureJsonStr
:
JSON
.
stringify
(
procedureMationList
),
procedureJsonStr
:
JSON
.
stringify
(
procedureMationList
),
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpmachin004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpmachin004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpMachin/erpMachinExamine.js
浏览文件 @
5af16f2f
...
@@ -14,7 +14,7 @@ layui.config({
...
@@ -14,7 +14,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpmachin006
"
,
url
:
flowable
BasePath
+
"
erpmachin006
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
$
(
"
#useTemplate
"
).
html
(),
template
:
$
(
"
#useTemplate
"
).
html
(),
...
@@ -42,7 +42,7 @@ layui.config({
...
@@ -42,7 +42,7 @@ layui.config({
status
:
$
(
"
input[name='flag']:checked
"
).
val
(),
status
:
$
(
"
input[name='flag']:checked
"
).
val
(),
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpmachin008
"
,
params
:
jStr
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpmachin008
"
,
params
:
jStr
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpMachin/erpMachinList.js
浏览文件 @
5af16f2f
...
@@ -19,7 +19,7 @@ layui.config({
...
@@ -19,7 +19,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erpmachin001
'
,
url
:
flowable
BasePath
+
'
erpmachin001
'
,
where
:
getTablePatams
(),
where
:
getTablePatams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -116,7 +116,7 @@ layui.config({
...
@@ -116,7 +116,7 @@ layui.config({
// 删除
// 删除
function
deletemember
(
data
){
function
deletemember
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpmachin005
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpmachin005
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
@@ -142,7 +142,7 @@ layui.config({
...
@@ -142,7 +142,7 @@ layui.config({
// 提交审批
// 提交审批
function
subExamine
(
data
){
function
subExamine
(
data
){
layer
.
confirm
(
'
确认要提交审核吗?
'
,
{
icon
:
3
,
title
:
'
提交审核操作
'
},
function
(
index
)
{
layer
.
confirm
(
'
确认要提交审核吗?
'
,
{
icon
:
3
,
title
:
'
提交审核操作
'
},
function
(
index
)
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpmachin007
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpmachin007
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
提交成功。
"
,
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
"
提交成功。
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
erp-produce/src/main/resources/template/js/erpMachin/erpMachinStateIsPassNoComplateChoose.js
浏览文件 @
5af16f2f
...
@@ -24,7 +24,7 @@ layui.config({
...
@@ -24,7 +24,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erpmachin010
'
,
url
:
flowable
BasePath
+
'
erpmachin010
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
false
,
page
:
false
,
...
@@ -72,7 +72,7 @@ layui.config({
...
@@ -72,7 +72,7 @@ layui.config({
var
obj
=
res
.
rows
[
chooseIndex
];
var
obj
=
res
.
rows
[
chooseIndex
];
//根据加工单id获取该单据下的所有单据中商品以及剩余领料数量
//根据加工单id获取该单据下的所有单据中商品以及剩余领料数量
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpmachin011
"
,
params
:
{
rowId
:
obj
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpmachin011
"
,
params
:
{
rowId
:
obj
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
obj
.
norms
=
[].
concat
(
json
.
rows
);
obj
.
norms
=
[].
concat
(
json
.
rows
);
parent
.
machinMation
=
obj
;
parent
.
machinMation
=
obj
;
...
...
erp-produce/src/main/resources/template/js/erpPick/erpPatchAdd.js
浏览文件 @
5af16f2f
...
@@ -128,7 +128,7 @@ layui.config({
...
@@ -128,7 +128,7 @@ layui.config({
materialStr
:
JSON
.
stringify
(
tableData
),
materialStr
:
JSON
.
stringify
(
tableData
),
depotId
:
$
(
"
#depotId
"
).
val
()
depotId
:
$
(
"
#depotId
"
).
val
()
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppick009
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erppick009
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpPick/erpPatchDetails.js
浏览文件 @
5af16f2f
...
@@ -13,7 +13,7 @@ layui.config({
...
@@ -13,7 +13,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erppick007
"
,
url
:
flowable
BasePath
+
"
erppick007
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
$
(
"
#useTemplate
"
).
html
(),
template
:
$
(
"
#useTemplate
"
).
html
(),
...
...
erp-produce/src/main/resources/template/js/erpPick/erpPatchEdit.js
浏览文件 @
5af16f2f
...
@@ -50,7 +50,7 @@ layui.config({
...
@@ -50,7 +50,7 @@ layui.config({
});
});
function
loadData
(){
function
loadData
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppick010
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erppick010
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
var
data
=
json
.
bean
;
var
data
=
json
.
bean
;
if
(
!
isNull
(
data
.
machinId
)){
if
(
!
isNull
(
data
.
machinId
)){
...
@@ -167,7 +167,7 @@ layui.config({
...
@@ -167,7 +167,7 @@ layui.config({
depotId
:
$
(
"
#depotId
"
).
val
(),
depotId
:
$
(
"
#depotId
"
).
val
(),
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppick011
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erppick011
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpPick/erpPatchPickList.js
浏览文件 @
5af16f2f
...
@@ -20,7 +20,7 @@ layui.config({
...
@@ -20,7 +20,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erppick003
'
,
url
:
flowable
BasePath
+
'
erppick003
'
,
where
:
getTablePatams
(),
where
:
getTablePatams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -108,7 +108,7 @@ layui.config({
...
@@ -108,7 +108,7 @@ layui.config({
//删除
//删除
function
deletemember
(
data
){
function
deletemember
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppick008
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erppick008
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
@@ -134,7 +134,7 @@ layui.config({
...
@@ -134,7 +134,7 @@ layui.config({
//提交审批
//提交审批
function
subExamine
(
data
){
function
subExamine
(
data
){
layer
.
confirm
(
'
确认要提交审核吗?
'
,
{
icon
:
3
,
title
:
'
提交审核操作
'
},
function
(
index
)
{
layer
.
confirm
(
'
确认要提交审核吗?
'
,
{
icon
:
3
,
title
:
'
提交审核操作
'
},
function
(
index
)
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppick015
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erppick015
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
提交成功。
"
,
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
"
提交成功。
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
erp-produce/src/main/resources/template/js/erpPick/erpPickApprovalExamine.js
浏览文件 @
5af16f2f
...
@@ -51,7 +51,7 @@ layui.config({
...
@@ -51,7 +51,7 @@ layui.config({
status
:
$
(
"
input[name='flag']:checked
"
).
val
(),
status
:
$
(
"
input[name='flag']:checked
"
).
val
(),
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppick016
"
,
params
:
jStr
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erppick016
"
,
params
:
jStr
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpPick/erpRequisitionAdd.js
浏览文件 @
5af16f2f
...
@@ -128,7 +128,7 @@ layui.config({
...
@@ -128,7 +128,7 @@ layui.config({
materialStr
:
JSON
.
stringify
(
tableData
),
materialStr
:
JSON
.
stringify
(
tableData
),
depotId
:
$
(
"
#depotId
"
).
val
()
depotId
:
$
(
"
#depotId
"
).
val
()
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppick004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erppick004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpPick/erpRequisitionDetails.js
浏览文件 @
5af16f2f
...
@@ -13,7 +13,7 @@ layui.config({
...
@@ -13,7 +13,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erppick007
"
,
url
:
flowable
BasePath
+
"
erppick007
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
$
(
"
#useTemplate
"
).
html
(),
template
:
$
(
"
#useTemplate
"
).
html
(),
...
...
erp-produce/src/main/resources/template/js/erpPick/erpRequisitionEdit.js
浏览文件 @
5af16f2f
...
@@ -51,7 +51,7 @@ layui.config({
...
@@ -51,7 +51,7 @@ layui.config({
});
});
function
loadData
(){
function
loadData
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppick005
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erppick005
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
var
data
=
json
.
bean
;
var
data
=
json
.
bean
;
if
(
!
isNull
(
data
.
machinId
)){
if
(
!
isNull
(
data
.
machinId
)){
...
@@ -177,7 +177,7 @@ layui.config({
...
@@ -177,7 +177,7 @@ layui.config({
depotId
:
$
(
"
#depotId
"
).
val
(),
depotId
:
$
(
"
#depotId
"
).
val
(),
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppick006
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erppick006
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpPick/erpRequisitionPickList.js
浏览文件 @
5af16f2f
...
@@ -20,7 +20,7 @@ layui.config({
...
@@ -20,7 +20,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erppick001
'
,
url
:
flowable
BasePath
+
'
erppick001
'
,
where
:
getTablePatams
(),
where
:
getTablePatams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -108,7 +108,7 @@ layui.config({
...
@@ -108,7 +108,7 @@ layui.config({
//删除
//删除
function
deletemember
(
data
){
function
deletemember
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppick008
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erppick008
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
@@ -134,7 +134,7 @@ layui.config({
...
@@ -134,7 +134,7 @@ layui.config({
//提交审批
//提交审批
function
subExamine
(
data
){
function
subExamine
(
data
){
layer
.
confirm
(
'
确认要提交审核吗?
'
,
{
icon
:
3
,
title
:
'
提交审核操作
'
},
function
(
index
)
{
layer
.
confirm
(
'
确认要提交审核吗?
'
,
{
icon
:
3
,
title
:
'
提交审核操作
'
},
function
(
index
)
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppick015
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erppick015
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
提交成功。
"
,
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
"
提交成功。
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
erp-produce/src/main/resources/template/js/erpPick/erpReturnAdd.js
浏览文件 @
5af16f2f
...
@@ -122,7 +122,7 @@ layui.config({
...
@@ -122,7 +122,7 @@ layui.config({
materialStr
:
JSON
.
stringify
(
tableData
),
materialStr
:
JSON
.
stringify
(
tableData
),
depotId
:
$
(
"
#depotId
"
).
val
()
depotId
:
$
(
"
#depotId
"
).
val
()
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppick012
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erppick012
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpPick/erpReturnDetails.js
浏览文件 @
5af16f2f
...
@@ -13,7 +13,7 @@ layui.config({
...
@@ -13,7 +13,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erppick007
"
,
url
:
flowable
BasePath
+
"
erppick007
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
$
(
"
#useTemplate
"
).
html
(),
template
:
$
(
"
#useTemplate
"
).
html
(),
...
...
erp-produce/src/main/resources/template/js/erpPick/erpReturnEdit.js
浏览文件 @
5af16f2f
...
@@ -48,7 +48,7 @@ layui.config({
...
@@ -48,7 +48,7 @@ layui.config({
});
});
function
loadData
(){
function
loadData
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppick013
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erppick013
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
var
data
=
json
.
bean
;
var
data
=
json
.
bean
;
$
(
"
#depotId
"
).
val
(
data
.
depotId
);
$
(
"
#depotId
"
).
val
(
data
.
depotId
);
...
@@ -156,7 +156,7 @@ layui.config({
...
@@ -156,7 +156,7 @@ layui.config({
depotId
:
$
(
"
#depotId
"
).
val
(),
depotId
:
$
(
"
#depotId
"
).
val
(),
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppick014
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erppick014
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpPick/erpReturnPickList.js
浏览文件 @
5af16f2f
...
@@ -20,7 +20,7 @@ layui.config({
...
@@ -20,7 +20,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erppick002
'
,
url
:
flowable
BasePath
+
'
erppick002
'
,
where
:
getTablePatams
(),
where
:
getTablePatams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -107,7 +107,7 @@ layui.config({
...
@@ -107,7 +107,7 @@ layui.config({
//删除
//删除
function
deletemember
(
data
){
function
deletemember
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppick008
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erppick008
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
@@ -133,7 +133,7 @@ layui.config({
...
@@ -133,7 +133,7 @@ layui.config({
//提交审批
//提交审批
function
subExamine
(
data
){
function
subExamine
(
data
){
layer
.
confirm
(
'
确认要提交审核吗?
'
,
{
icon
:
3
,
title
:
'
提交审核操作
'
},
function
(
index
)
{
layer
.
confirm
(
'
确认要提交审核吗?
'
,
{
icon
:
3
,
title
:
'
提交审核操作
'
},
function
(
index
)
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erppick015
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erppick015
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
提交成功。
"
,
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
"
提交成功。
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
erp-produce/src/main/resources/template/js/erpProduction/erpProductionAdd.js
浏览文件 @
5af16f2f
...
@@ -71,7 +71,7 @@ layui.config({
...
@@ -71,7 +71,7 @@ layui.config({
//加载bom方案列表
//加载bom方案列表
function
loadBomList
(
normsId
){
function
loadBomList
(
normsId
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpbom007
"
,
params
:
{
normsId
:
normsId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpbom007
"
,
params
:
{
normsId
:
normsId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
$
(
"
#bomList
"
).
html
(
getDataUseHandlebars
(
selTemplate
,
json
));
$
(
"
#bomList
"
).
html
(
getDataUseHandlebars
(
selTemplate
,
json
));
form
.
render
(
"
select
"
);
form
.
render
(
"
select
"
);
...
@@ -94,7 +94,7 @@ layui.config({
...
@@ -94,7 +94,7 @@ layui.config({
//加载bom方案下的子件列表
//加载bom方案下的子件列表
function
loadBomChildProList
(
bomId
){
function
loadBomChildProList
(
bomId
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpbom008
"
,
params
:
{
bomId
:
bomId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpbom008
"
,
params
:
{
bomId
:
bomId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
childProList
=
[].
concat
(
json
.
rows
);
childProList
=
[].
concat
(
json
.
rows
);
$
(
"
#tBody
"
).
html
(
getDataUseHandlebars
(
$
(
"
#tableBody
"
).
html
(),
{
rows
:
childProList
}));
$
(
"
#tBody
"
).
html
(
getDataUseHandlebars
(
$
(
"
#tableBody
"
).
html
(),
{
rows
:
childProList
}));
...
@@ -172,7 +172,7 @@ layui.config({
...
@@ -172,7 +172,7 @@ layui.config({
//子件清单信息
//子件清单信息
params
.
childProStr
=
JSON
.
stringify
(
childList
);
params
.
childProStr
=
JSON
.
stringify
(
childList
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpproduction002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpproduction002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
@@ -210,7 +210,7 @@ layui.config({
...
@@ -210,7 +210,7 @@ layui.config({
area
:
[
'
90vw
'
,
'
90vh
'
],
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
if
(
refreshCode
==
'
0
'
)
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpwayprocedure008
"
,
params
:
{
rowId
:
wayProcedureMation
.
id
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpwayprocedure008
"
,
params
:
{
rowId
:
wayProcedureMation
.
id
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
procedureMationList
=
[].
concat
(
json
.
bean
.
procedureList
);
procedureMationList
=
[].
concat
(
json
.
bean
.
procedureList
);
loadProcedureMation
();
loadProcedureMation
();
...
...
erp-produce/src/main/resources/template/js/erpProduction/erpProductionDetail.js
浏览文件 @
5af16f2f
...
@@ -13,7 +13,7 @@ layui.config({
...
@@ -13,7 +13,7 @@ layui.config({
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
var
$
=
layui
.
$
;
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpproduction006
"
,
params
:
{
orderId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpproduction006
"
,
params
:
{
orderId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
json
.
bean
.
stateName
=
getStateName
(
json
.
bean
);
json
.
bean
.
stateName
=
getStateName
(
json
.
bean
);
$
.
each
(
json
.
bean
.
procedureMationList
,
function
(
i
,
item
){
$
.
each
(
json
.
bean
.
procedureMationList
,
function
(
i
,
item
){
...
...
erp-produce/src/main/resources/template/js/erpProduction/erpProductionEdit.js
浏览文件 @
5af16f2f
...
@@ -63,7 +63,7 @@ layui.config({
...
@@ -63,7 +63,7 @@ layui.config({
});
});
//回显数据
//回显数据
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpproduction003
"
,
params
:
{
orderId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpproduction003
"
,
params
:
{
orderId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
//商品信息
//商品信息
productMation
=
{
productMation
=
{
...
@@ -126,7 +126,7 @@ layui.config({
...
@@ -126,7 +126,7 @@ layui.config({
//加载bom方案列表
//加载bom方案列表
function
loadBomList
(
normsId
){
function
loadBomList
(
normsId
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpbom007
"
,
params
:
{
normsId
:
normsId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpbom007
"
,
params
:
{
normsId
:
normsId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
$
(
"
#bomList
"
).
html
(
getDataUseHandlebars
(
selTemplate
,
json
));
$
(
"
#bomList
"
).
html
(
getDataUseHandlebars
(
selTemplate
,
json
));
form
.
render
(
"
select
"
);
form
.
render
(
"
select
"
);
...
@@ -149,7 +149,7 @@ layui.config({
...
@@ -149,7 +149,7 @@ layui.config({
//加载bom方案下的子件列表
//加载bom方案下的子件列表
function
loadBomChildProList
(
bomId
){
function
loadBomChildProList
(
bomId
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpbom008
"
,
params
:
{
bomId
:
bomId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpbom008
"
,
params
:
{
bomId
:
bomId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
childProList
=
[].
concat
(
json
.
rows
);
childProList
=
[].
concat
(
json
.
rows
);
$
(
"
#tBody
"
).
html
(
getDataUseHandlebars
(
$
(
"
#tableBody
"
).
html
(),
{
rows
:
childProList
}));
$
(
"
#tBody
"
).
html
(
getDataUseHandlebars
(
$
(
"
#tableBody
"
).
html
(),
{
rows
:
childProList
}));
...
@@ -226,7 +226,7 @@ layui.config({
...
@@ -226,7 +226,7 @@ layui.config({
//子件清单信息
//子件清单信息
params
.
childProStr
=
JSON
.
stringify
(
childList
);
params
.
childProStr
=
JSON
.
stringify
(
childList
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpproduction004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpproduction004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
@@ -264,14 +264,14 @@ layui.config({
...
@@ -264,14 +264,14 @@ layui.config({
area
:
[
'
90vw
'
,
'
90vh
'
],
area
:
[
'
90vw
'
,
'
90vh
'
],
callBack
:
function
(
refreshCode
){
callBack
:
function
(
refreshCode
){
if
(
refreshCode
==
'
0
'
)
{
if
(
refreshCode
==
'
0
'
)
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpwayprocedure008
"
,
params
:
{
rowId
:
wayProcedureMation
.
id
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpwayprocedure008
"
,
params
:
{
rowId
:
wayProcedureMation
.
id
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
procedureMationList
=
[].
concat
(
json
.
bean
.
procedureList
);
procedureMationList
=
[].
concat
(
json
.
bean
.
procedureList
);
loadProcedureMation
();
loadProcedureMation
();
}
else
{
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
}});
}});
}
else
if
(
refreshCode
==
'
-9999
'
)
{
}
else
if
(
refreshCode
==
'
-9999
'
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.operationFailed
"
][
languageType
],
{
icon
:
2
,
time
:
2000
});
}
}
...
...
erp-produce/src/main/resources/template/js/erpProduction/erpProductionExamine.js
浏览文件 @
5af16f2f
...
@@ -10,7 +10,7 @@ layui.config({
...
@@ -10,7 +10,7 @@ layui.config({
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
;
var
$
=
layui
.
$
;
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpproduction006
"
,
params
:
{
orderId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpproduction006
"
,
params
:
{
orderId
:
parent
.
rowId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
$
(
"
#showForm
"
).
html
(
getDataUseHandlebars
(
$
(
"
#beanTemplate
"
).
html
(),
json
));
$
(
"
#showForm
"
).
html
(
getDataUseHandlebars
(
$
(
"
#beanTemplate
"
).
html
(),
json
));
...
@@ -26,7 +26,7 @@ layui.config({
...
@@ -26,7 +26,7 @@ layui.config({
state
:
$
(
"
input[name='flag']:checked
"
).
val
(),
state
:
$
(
"
input[name='flag']:checked
"
).
val
(),
orderId
:
parent
.
rowId
orderId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpproduction008
"
,
params
:
jStr
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpproduction008
"
,
params
:
jStr
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpProduction/erpProductionList.js
浏览文件 @
5af16f2f
...
@@ -20,7 +20,7 @@ layui.config({
...
@@ -20,7 +20,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erpproduction001
'
,
url
:
flowable
BasePath
+
'
erpproduction001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -87,7 +87,7 @@ layui.config({
...
@@ -87,7 +87,7 @@ layui.config({
function
del
(
data
,
obj
){
function
del
(
data
,
obj
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpproduction005
"
,
params
:{
orderId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpproduction005
"
,
params
:{
orderId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
@@ -131,7 +131,7 @@ layui.config({
...
@@ -131,7 +131,7 @@ layui.config({
//提交审批
//提交审批
function
subExamine
(
data
){
function
subExamine
(
data
){
layer
.
confirm
(
'
确认要提交审核吗?
'
,
{
icon
:
3
,
title
:
'
提交审核操作
'
},
function
(
index
)
{
layer
.
confirm
(
'
确认要提交审核吗?
'
,
{
icon
:
3
,
title
:
'
提交审核操作
'
},
function
(
index
)
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpproduction007
"
,
params
:
{
orderId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpproduction007
"
,
params
:
{
orderId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
"
提交成功。
"
,
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
"
提交成功。
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
erp-produce/src/main/resources/template/js/erpProduction/erpProductionNoSuccessChoose.js
浏览文件 @
5af16f2f
...
@@ -24,7 +24,7 @@ layui.config({
...
@@ -24,7 +24,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erpproduction009
'
,
url
:
flowable
BasePath
+
'
erpproduction009
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
false
,
page
:
false
,
...
@@ -52,7 +52,7 @@ layui.config({
...
@@ -52,7 +52,7 @@ layui.config({
//根据生产计划单id获取该单据下的所有外购商品以及剩余数量
//根据生产计划单id获取该单据下的所有外购商品以及剩余数量
//chooseType:根据生产计划单选择工序时,采购订单需要回显外购一种类型的商品
//chooseType:根据生产计划单选择工序时,采购订单需要回显外购一种类型的商品
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpproduction010
"
,
params
:
{
orderId
:
obj
.
id
,
chooseType
:
"
1
"
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpproduction010
"
,
params
:
{
orderId
:
obj
.
id
,
chooseType
:
"
1
"
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
obj
.
norms
=
[].
concat
(
json
.
rows
);
obj
.
norms
=
[].
concat
(
json
.
rows
);
parent
.
productionMation
=
obj
;
parent
.
productionMation
=
obj
;
...
...
erp-produce/src/main/resources/template/js/erpProduction/erpProductionNoSuccessChooseProcedure.js
浏览文件 @
5af16f2f
...
@@ -26,7 +26,7 @@ layui.config({
...
@@ -26,7 +26,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erpproduction009
'
,
url
:
flowable
BasePath
+
'
erpproduction009
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
false
,
page
:
false
,
...
@@ -172,7 +172,7 @@ layui.config({
...
@@ -172,7 +172,7 @@ layui.config({
//根据生产计划单id获取该单据下的所有外购商品以及剩余数量
//根据生产计划单id获取该单据下的所有外购商品以及剩余数量
//chooseType:根据生产计划单选择工序时,加工单需要回显自产和外购两种类型的商品
//chooseType:根据生产计划单选择工序时,加工单需要回显自产和外购两种类型的商品
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpproduction010
"
,
params
:
{
orderId
:
chooseMation
.
id
,
chooseType
:
"
2
"
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpproduction010
"
,
params
:
{
orderId
:
chooseMation
.
id
,
chooseType
:
"
2
"
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
chooseMation
.
norms
=
[].
concat
(
json
.
rows
);
chooseMation
.
norms
=
[].
concat
(
json
.
rows
);
chooseMation
.
procedureList
=
procedureList
[
chooseIndex
].
procedureArray
;
chooseMation
.
procedureList
=
procedureList
[
chooseIndex
].
procedureArray
;
...
...
erp-produce/src/main/resources/template/js/erpWayProcedure/erpWayProcedureAdd.js
浏览文件 @
5af16f2f
...
@@ -70,7 +70,7 @@ layui.config({
...
@@ -70,7 +70,7 @@ layui.config({
wayName
:
$
(
"
#wayName
"
).
val
(),
wayName
:
$
(
"
#wayName
"
).
val
(),
procedureMation
:
JSON
.
stringify
(
table
.
cache
.
messageTable
)
procedureMation
:
JSON
.
stringify
(
table
.
cache
.
messageTable
)
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpwayprocedure002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpwayprocedure002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpWayProcedure/erpWayProcedureChoose.js
浏览文件 @
5af16f2f
...
@@ -15,7 +15,7 @@ layui.config({
...
@@ -15,7 +15,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erpwayprocedure009
'
,
url
:
flowable
BasePath
+
'
erpwayprocedure009
'
,
where
:
getTablePatams
(),
where
:
getTablePatams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
...
erp-produce/src/main/resources/template/js/erpWayProcedure/erpWayProcedureDetails.js
浏览文件 @
5af16f2f
...
@@ -17,7 +17,7 @@ layui.config({
...
@@ -17,7 +17,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpwayprocedure008
"
,
url
:
flowable
BasePath
+
"
erpwayprocedure008
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
method
:
"
GET
"
,
method
:
"
GET
"
,
...
...
erp-produce/src/main/resources/template/js/erpWayProcedure/erpWayProcedureEdit.js
浏览文件 @
5af16f2f
...
@@ -27,7 +27,7 @@ layui.config({
...
@@ -27,7 +27,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpwayprocedure003
"
,
url
:
flowable
BasePath
+
"
erpwayprocedure003
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
$
(
"
#usetableTemplate
"
).
html
(),
template
:
$
(
"
#usetableTemplate
"
).
html
(),
...
@@ -86,7 +86,7 @@ layui.config({
...
@@ -86,7 +86,7 @@ layui.config({
procedureMation
:
JSON
.
stringify
(
table
.
cache
.
messageTable
),
procedureMation
:
JSON
.
stringify
(
table
.
cache
.
messageTable
),
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpwayprocedure004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpwayprocedure004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpWayProcedure/erpWayProcedureList.js
浏览文件 @
5af16f2f
...
@@ -19,7 +19,7 @@ layui.config({
...
@@ -19,7 +19,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erpwayprocedure001
'
,
url
:
flowable
BasePath
+
'
erpwayprocedure001
'
,
where
:
getTablePatams
(),
where
:
getTablePatams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -104,7 +104,7 @@ layui.config({
...
@@ -104,7 +104,7 @@ layui.config({
// 删除
// 删除
function
deletemember
(
data
){
function
deletemember
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpwayprocedure007
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpwayprocedure007
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
@@ -130,7 +130,7 @@ layui.config({
...
@@ -130,7 +130,7 @@ layui.config({
// 启用
// 启用
function
norms
(
data
){
function
norms
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.enableOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.enableOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.enableOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.enableOperation
"
][
languageType
]},
function
(
index
)
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpwayprocedure006
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpwayprocedure006
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.enableOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.enableOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
@@ -144,7 +144,7 @@ layui.config({
...
@@ -144,7 +144,7 @@ layui.config({
// 禁用
// 禁用
function
rectification
(
data
){
function
rectification
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.disableOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.disableOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.disableOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.disableOperation
"
][
languageType
]},
function
(
index
)
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpwayprocedure005
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpwayprocedure005
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.disableOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.disableOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureAdd.js
浏览文件 @
5af16f2f
...
@@ -45,7 +45,7 @@ layui.config({
...
@@ -45,7 +45,7 @@ layui.config({
function
loadProcedureType
(){
function
loadProcedureType
(){
showGrid
({
showGrid
({
id
:
"
procedureType
"
,
id
:
"
procedureType
"
,
url
:
req
BasePath
+
"
erpworkproceduretype008
"
,
url
:
flowable
BasePath
+
"
erpworkproceduretype008
"
,
params
:
{},
params
:
{},
pagination
:
false
,
pagination
:
false
,
template
:
selOption
,
template
:
selOption
,
...
@@ -78,7 +78,7 @@ layui.config({
...
@@ -78,7 +78,7 @@ layui.config({
});
});
params
.
procedureUserId
=
procedureUserId
;
params
.
procedureUserId
=
procedureUserId
;
}
}
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpworkprocedure002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpworkprocedure002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureChoose.js
浏览文件 @
5af16f2f
...
@@ -57,7 +57,7 @@ layui.config({
...
@@ -57,7 +57,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erpworkprocedure006
'
,
url
:
flowable
BasePath
+
'
erpworkprocedure006
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -111,7 +111,7 @@ layui.config({
...
@@ -111,7 +111,7 @@ layui.config({
var
selectedData
=
tableCheckBoxUtil
.
getValue
({
var
selectedData
=
tableCheckBoxUtil
.
getValue
({
gridId
:
'
messageTable
'
gridId
:
'
messageTable
'
});
});
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpworkprocedure007
"
,
params
:
{
ids
:
selectedData
.
toString
()},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpworkprocedure007
"
,
params
:
{
ids
:
selectedData
.
toString
()},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
procedureMationList
=
[].
concat
(
json
.
rows
);
parent
.
procedureMationList
=
[].
concat
(
json
.
rows
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureDetail.js
浏览文件 @
5af16f2f
...
@@ -12,7 +12,7 @@ layui.config({
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpworkprocedure008
"
,
url
:
flowable
BasePath
+
"
erpworkprocedure008
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/erpWorkProcedure/erpWorkProcedureDetailTemplate.tpl
'
),
template
:
getFileContent
(
'
tpl/erpWorkProcedure/erpWorkProcedureDetailTemplate.tpl
'
),
...
...
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureEdit.js
浏览文件 @
5af16f2f
...
@@ -23,7 +23,7 @@ layui.config({
...
@@ -23,7 +23,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpworkprocedure003
"
,
url
:
flowable
BasePath
+
"
erpworkprocedure003
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/erpWorkProcedure/erpWorkProcedureEditTemplate.tpl
'
),
template
:
getFileContent
(
'
tpl/erpWorkProcedure/erpWorkProcedureEditTemplate.tpl
'
),
...
@@ -50,7 +50,7 @@ layui.config({
...
@@ -50,7 +50,7 @@ layui.config({
// 加载工序类别
// 加载工序类别
showGrid
({
showGrid
({
id
:
"
procedureType
"
,
id
:
"
procedureType
"
,
url
:
req
BasePath
+
"
erpworkproceduretype008
"
,
url
:
flowable
BasePath
+
"
erpworkproceduretype008
"
,
params
:
{},
params
:
{},
pagination
:
false
,
pagination
:
false
,
template
:
selOption
,
template
:
selOption
,
...
@@ -111,7 +111,7 @@ layui.config({
...
@@ -111,7 +111,7 @@ layui.config({
});
});
params
.
procedureUserId
=
procedureUserId
;
params
.
procedureUserId
=
procedureUserId
;
}
}
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpworkprocedure005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpworkprocedure005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpWorkProcedure/erpWorkProcedureList.js
浏览文件 @
5af16f2f
...
@@ -18,7 +18,7 @@ layui.config({
...
@@ -18,7 +18,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erpworkprocedure001
'
,
url
:
flowable
BasePath
+
'
erpworkprocedure001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -87,7 +87,7 @@ layui.config({
...
@@ -87,7 +87,7 @@ layui.config({
function
deleteAccount
(
data
){
function
deleteAccount
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpworkprocedure004
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpworkprocedure004
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
erp-produce/src/main/resources/template/js/erpWorkProcedureType/erpWorkProcedureTypeAdd.js
浏览文件 @
5af16f2f
...
@@ -17,7 +17,7 @@ layui.config({
...
@@ -17,7 +17,7 @@ layui.config({
var
params
=
{
var
params
=
{
typeName
:
$
(
"
#typeName
"
).
val
()
typeName
:
$
(
"
#typeName
"
).
val
()
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpworkproceduretype002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpworkproceduretype002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpWorkProcedureType/erpWorkProcedureTypeEdit.js
浏览文件 @
5af16f2f
...
@@ -12,7 +12,7 @@ layui.config({
...
@@ -12,7 +12,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
erpworkproceduretype003
"
,
url
:
flowable
BasePath
+
"
erpworkproceduretype003
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/erpWorkProcedureType/erpWorkProcedureTypeEditTemplate.tpl
'
),
template
:
getFileContent
(
'
tpl/erpWorkProcedureType/erpWorkProcedureTypeEditTemplate.tpl
'
),
...
@@ -24,7 +24,7 @@ layui.config({
...
@@ -24,7 +24,7 @@ layui.config({
rowId
:
parent
.
rowId
,
rowId
:
parent
.
rowId
,
typeName
:
$
(
"
#typeName
"
).
val
()
typeName
:
$
(
"
#typeName
"
).
val
()
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpworkproceduretype004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpworkproceduretype004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
parent
.
refreshCode
=
'
0
'
;
...
...
erp-produce/src/main/resources/template/js/erpWorkProcedureType/erpWorkProcedureTypeList.js
浏览文件 @
5af16f2f
...
@@ -19,7 +19,7 @@ layui.config({
...
@@ -19,7 +19,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erpworkproceduretype001
'
,
url
:
flowable
BasePath
+
'
erpworkproceduretype001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -103,7 +103,7 @@ layui.config({
...
@@ -103,7 +103,7 @@ layui.config({
function
delet
(
data
){
function
delet
(
data
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
){
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpworkproceduretype007
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpworkproceduretype007
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
@@ -118,7 +118,7 @@ layui.config({
...
@@ -118,7 +118,7 @@ layui.config({
function
up
(
data
){
function
up
(
data
){
layer
.
confirm
(
'
确认启用选中数据吗?
'
,
{
icon
:
3
,
title
:
'
启用操作
'
},
function
(
index
)
{
layer
.
confirm
(
'
确认启用选中数据吗?
'
,
{
icon
:
3
,
title
:
'
启用操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpworkproceduretype006
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpworkproceduretype006
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
@@ -133,7 +133,7 @@ layui.config({
...
@@ -133,7 +133,7 @@ layui.config({
function
down
(
data
){
function
down
(
data
){
layer
.
confirm
(
'
确认禁用选中数据吗?
'
,
{
icon
:
3
,
title
:
'
禁用操作
'
},
function
(
index
)
{
layer
.
confirm
(
'
确认禁用选中数据吗?
'
,
{
icon
:
3
,
title
:
'
禁用操作
'
},
function
(
index
)
{
layer
.
close
(
index
);
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpworkproceduretype005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpworkproceduretype005
"
,
params
:{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
loadTable
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录