Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
bcd959be
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1428
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看板
提交
bcd959be
编写于
3月 31, 2022
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ERP整改
上级
9843bfd0
变更
60
隐藏空白更改
内联
并排
Showing
60 changed file
with
111 addition
and
111 deletion
+111
-111
erp/src/main/resources/template/js/erpstatistics/customerreconciliation.js
...urces/template/js/erpstatistics/customerreconciliation.js
+1
-1
erp/src/main/resources/template/js/erpstatistics/incomingallstatistics.js
...ources/template/js/erpstatistics/incomingallstatistics.js
+1
-1
erp/src/main/resources/template/js/erpstatistics/incomingstatistics.js
...resources/template/js/erpstatistics/incomingstatistics.js
+1
-1
erp/src/main/resources/template/js/erpstatistics/outgoingdetails.js
...in/resources/template/js/erpstatistics/outgoingdetails.js
+1
-1
erp/src/main/resources/template/js/erpstatistics/salesallstatistics.js
...resources/template/js/erpstatistics/salesallstatistics.js
+1
-1
erp/src/main/resources/template/js/erpstatistics/salesstatistics.js
...in/resources/template/js/erpstatistics/salesstatistics.js
+1
-1
erp/src/main/resources/template/js/erpstatistics/supplierreconciliation.js
...urces/template/js/erpstatistics/supplierreconciliation.js
+1
-1
erp/src/main/resources/template/js/erpstatistics/warehousingdetails.js
...resources/template/js/erpstatistics/warehousingdetails.js
+1
-1
erp/src/main/resources/template/js/otheroutlets/otheroutletsadd.js
...ain/resources/template/js/otheroutlets/otheroutletsadd.js
+1
-1
erp/src/main/resources/template/js/otheroutlets/otheroutletsedit.js
...in/resources/template/js/otheroutlets/otheroutletsedit.js
+2
-2
erp/src/main/resources/template/js/otheroutlets/otheroutletslist.js
...in/resources/template/js/otheroutlets/otheroutletslist.js
+2
-2
erp/src/main/resources/template/js/otherwarehous/otherwarehousadd.js
...n/resources/template/js/otherwarehous/otherwarehousadd.js
+1
-1
erp/src/main/resources/template/js/otherwarehous/otherwarehousedit.js
.../resources/template/js/otherwarehous/otherwarehousedit.js
+2
-2
erp/src/main/resources/template/js/otherwarehous/otherwarehouslist.js
.../resources/template/js/otherwarehous/otherwarehouslist.js
+2
-2
erp/src/main/resources/template/js/purchaseorder/purchaseorderadd.js
...n/resources/template/js/purchaseorder/purchaseorderadd.js
+1
-1
erp/src/main/resources/template/js/purchaseorder/purchaseorderedit.js
.../resources/template/js/purchaseorder/purchaseorderedit.js
+2
-2
erp/src/main/resources/template/js/purchaseorder/purchaseorderlist.js
.../resources/template/js/purchaseorder/purchaseorderlist.js
+2
-2
erp/src/main/resources/template/js/purchaseorder/purchaseorderpurchase.js
...ources/template/js/purchaseorder/purchaseorderpurchase.js
+2
-2
erp/src/main/resources/template/js/purchaseput/purchaseputadd.js
.../main/resources/template/js/purchaseput/purchaseputadd.js
+1
-1
erp/src/main/resources/template/js/purchaseput/purchaseputedit.js
...main/resources/template/js/purchaseput/purchaseputedit.js
+2
-2
erp/src/main/resources/template/js/purchaseput/purchaseputlist.js
...main/resources/template/js/purchaseput/purchaseputlist.js
+2
-2
erp/src/main/resources/template/js/purchasereturns/purchasereturnsadd.js
...sources/template/js/purchasereturns/purchasereturnsadd.js
+1
-1
erp/src/main/resources/template/js/purchasereturns/purchasereturnsedit.js
...ources/template/js/purchasereturns/purchasereturnsedit.js
+2
-2
erp/src/main/resources/template/js/purchasereturns/purchasereturnslist.js
...ources/template/js/purchasereturns/purchasereturnslist.js
+2
-2
erp/src/main/resources/template/js/retailoutlet/retailoutletadd.js
...ain/resources/template/js/retailoutlet/retailoutletadd.js
+1
-1
erp/src/main/resources/template/js/retailoutlet/retailoutletedit.js
...in/resources/template/js/retailoutlet/retailoutletedit.js
+2
-2
erp/src/main/resources/template/js/retailoutlet/retailoutletlist.js
...in/resources/template/js/retailoutlet/retailoutletlist.js
+2
-2
erp/src/main/resources/template/js/retailreturns/retailreturnsadd.js
...n/resources/template/js/retailreturns/retailreturnsadd.js
+1
-1
erp/src/main/resources/template/js/retailreturns/retailreturnsedit.js
.../resources/template/js/retailreturns/retailreturnsedit.js
+2
-2
erp/src/main/resources/template/js/retailreturns/retailreturnslist.js
.../resources/template/js/retailreturns/retailreturnslist.js
+2
-2
erp/src/main/resources/template/js/salesOrderOverPlan/salesOrderOverPlan.js
...rces/template/js/salesOrderOverPlan/salesOrderOverPlan.js
+1
-1
erp/src/main/resources/template/js/salesOrderOverPlan/salesOrderOverPlanList.js
.../template/js/salesOrderOverPlan/salesOrderOverPlanList.js
+1
-1
erp/src/main/resources/template/js/salesorder/salesOrderChoose.js
...main/resources/template/js/salesorder/salesOrderChoose.js
+1
-1
erp/src/main/resources/template/js/salesorder/salesorderadd.js
...rc/main/resources/template/js/salesorder/salesorderadd.js
+1
-1
erp/src/main/resources/template/js/salesorder/salesorderdetails.js
...ain/resources/template/js/salesorder/salesorderdetails.js
+1
-1
erp/src/main/resources/template/js/salesorder/salesorderedit.js
...c/main/resources/template/js/salesorder/salesorderedit.js
+2
-2
erp/src/main/resources/template/js/salesorder/salesorderlist.js
...c/main/resources/template/js/salesorder/salesorderlist.js
+2
-2
erp/src/main/resources/template/js/salesorder/salesorderpurchase.js
...in/resources/template/js/salesorder/salesorderpurchase.js
+2
-2
erp/src/main/resources/template/js/salesoutlet/salesoutletadd.js
.../main/resources/template/js/salesoutlet/salesoutletadd.js
+1
-1
erp/src/main/resources/template/js/salesoutlet/salesoutletedit.js
...main/resources/template/js/salesoutlet/salesoutletedit.js
+2
-2
erp/src/main/resources/template/js/salesoutlet/salesoutletlist.js
...main/resources/template/js/salesoutlet/salesoutletlist.js
+2
-2
erp/src/main/resources/template/js/salesreturns/salesreturnsadd.js
...ain/resources/template/js/salesreturns/salesreturnsadd.js
+1
-1
erp/src/main/resources/template/js/salesreturns/salesreturnsedit.js
...in/resources/template/js/salesreturns/salesreturnsedit.js
+2
-2
erp/src/main/resources/template/js/salesreturns/salesreturnslist.js
...in/resources/template/js/salesreturns/salesreturnslist.js
+2
-2
erp/src/main/resources/template/js/splitlist/splitlistadd.js
erp/src/main/resources/template/js/splitlist/splitlistadd.js
+1
-1
erp/src/main/resources/template/js/splitlist/splitlistedit.js
...src/main/resources/template/js/splitlist/splitlistedit.js
+2
-2
erp/src/main/resources/template/js/storeHouseApproval/storeHouseOtherExamine.js
.../template/js/storeHouseApproval/storeHouseOtherExamine.js
+2
-2
erp/src/main/resources/template/js/storeHouseApproval/storeHouseOtherList.js
...ces/template/js/storeHouseApproval/storeHouseOtherList.js
+2
-2
erp/src/main/resources/template/js/storeHouseApproval/storeHousePassOtherList.js
...template/js/storeHouseApproval/storeHousePassOtherList.js
+2
-2
erp/src/main/resources/template/js/storeHouseInventory/storeHouseInventoryHistory.js
...late/js/storeHouseInventory/storeHouseInventoryHistory.js
+2
-2
erp/src/main/resources/template/js/storeHouseInventory/storeHouseInventoryList.js
...emplate/js/storeHouseInventory/storeHouseInventoryList.js
+3
-3
erp/src/main/resources/template/js/storehouse/storehouseadd.js
...rc/main/resources/template/js/storehouse/storehouseadd.js
+2
-2
erp/src/main/resources/template/js/storehouse/storehouseedit.js
...c/main/resources/template/js/storehouse/storehouseedit.js
+3
-3
erp/src/main/resources/template/js/storehouse/storehouseinfo.js
...c/main/resources/template/js/storehouse/storehouseinfo.js
+1
-1
erp/src/main/resources/template/js/storehouse/storehouselist.js
...c/main/resources/template/js/storehouse/storehouselist.js
+7
-7
erp/src/main/resources/template/js/supplier/supplierChoose.js
...src/main/resources/template/js/supplier/supplierChoose.js
+1
-1
erp/src/main/resources/template/js/supplier/supplieradd.js
erp/src/main/resources/template/js/supplier/supplieradd.js
+2
-2
erp/src/main/resources/template/js/supplier/supplieredit.js
erp/src/main/resources/template/js/supplier/supplieredit.js
+4
-4
erp/src/main/resources/template/js/supplier/supplierinfo.js
erp/src/main/resources/template/js/supplier/supplierinfo.js
+1
-1
erp/src/main/resources/template/js/supplier/supplierlist.js
erp/src/main/resources/template/js/supplier/supplierlist.js
+10
-10
未找到文件。
erp/src/main/resources/template/js/erpstatistics/customerreconciliation.js
浏览文件 @
bcd959be
...
@@ -27,7 +27,7 @@ layui.config({
...
@@ -27,7 +27,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
statistics005
'
,
url
:
flowable
BasePath
+
'
statistics005
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
...
erp/src/main/resources/template/js/erpstatistics/incomingallstatistics.js
浏览文件 @
bcd959be
...
@@ -42,7 +42,7 @@ layui.config({
...
@@ -42,7 +42,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
statistics007
'
,
url
:
flowable
BasePath
+
'
statistics007
'
,
where
:
{
materialName
:
$
(
"
#materialName
"
).
val
(),
operTime
:
operTime
},
where
:
{
materialName
:
$
(
"
#materialName
"
).
val
(),
operTime
:
operTime
},
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
...
erp/src/main/resources/template/js/erpstatistics/incomingstatistics.js
浏览文件 @
bcd959be
...
@@ -40,7 +40,7 @@ layui.config({
...
@@ -40,7 +40,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
statistics003
'
,
url
:
flowable
BasePath
+
'
statistics003
'
,
where
:
{
materialName
:
$
(
"
#materialName
"
).
val
(),
operTime
:
operTime
},
where
:
{
materialName
:
$
(
"
#materialName
"
).
val
(),
operTime
:
operTime
},
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
...
erp/src/main/resources/template/js/erpstatistics/outgoingdetails.js
浏览文件 @
bcd959be
...
@@ -59,7 +59,7 @@ layui.config({
...
@@ -59,7 +59,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
statistics002
'
,
url
:
flowable
BasePath
+
'
statistics002
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
...
erp/src/main/resources/template/js/erpstatistics/salesallstatistics.js
浏览文件 @
bcd959be
...
@@ -41,7 +41,7 @@ layui.config({
...
@@ -41,7 +41,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
statistics008
'
,
url
:
flowable
BasePath
+
'
statistics008
'
,
where
:
{
materialName
:
$
(
"
#materialName
"
).
val
(),
operTime
:
operTime
},
where
:
{
materialName
:
$
(
"
#materialName
"
).
val
(),
operTime
:
operTime
},
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
...
erp/src/main/resources/template/js/erpstatistics/salesstatistics.js
浏览文件 @
bcd959be
...
@@ -41,7 +41,7 @@ layui.config({
...
@@ -41,7 +41,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
statistics004
'
,
url
:
flowable
BasePath
+
'
statistics004
'
,
where
:
{
materialName
:
$
(
"
#materialName
"
).
val
(),
operTime
:
operTime
},
where
:
{
materialName
:
$
(
"
#materialName
"
).
val
(),
operTime
:
operTime
},
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
...
erp/src/main/resources/template/js/erpstatistics/supplierreconciliation.js
浏览文件 @
bcd959be
...
@@ -41,7 +41,7 @@ layui.config({
...
@@ -41,7 +41,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
statistics006
'
,
url
:
flowable
BasePath
+
'
statistics006
'
,
where
:
{
operTime
:
operTime
,
organName
:
$
(
"
#organName
"
).
val
()},
where
:
{
operTime
:
operTime
,
organName
:
$
(
"
#organName
"
).
val
()},
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
...
erp/src/main/resources/template/js/erpstatistics/warehousingdetails.js
浏览文件 @
bcd959be
...
@@ -68,7 +68,7 @@ layui.config({
...
@@ -68,7 +68,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
statistics001
'
,
url
:
flowable
BasePath
+
'
statistics001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
...
erp/src/main/resources/template/js/otheroutlets/otheroutletsadd.js
浏览文件 @
bcd959be
...
@@ -191,7 +191,7 @@ layui.config({
...
@@ -191,7 +191,7 @@ layui.config({
subType
:
subType
,
subType
:
subType
,
approvalId
:
approvalId
approvalId
:
approvalId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
otheroutlets002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
otheroutlets002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/otheroutlets/otheroutletsedit.js
浏览文件 @
bcd959be
...
@@ -58,7 +58,7 @@ layui.config({
...
@@ -58,7 +58,7 @@ layui.config({
//渲染数据到页面
//渲染数据到页面
function
initDataToShow
(){
function
initDataToShow
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
otheroutlets003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
otheroutlets003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
submitType
=
json
.
bean
.
submitType
;
submitType
=
json
.
bean
.
submitType
;
...
@@ -262,7 +262,7 @@ layui.config({
...
@@ -262,7 +262,7 @@ layui.config({
approvalId
:
approvalId
,
approvalId
:
approvalId
,
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
otheroutlets004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
otheroutlets004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/otheroutlets/otheroutletslist.js
浏览文件 @
bcd959be
...
@@ -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
+
'
otheroutlets001
'
,
url
:
flowable
BasePath
+
'
otheroutlets001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -160,7 +160,7 @@ layui.config({
...
@@ -160,7 +160,7 @@ layui.config({
// 导出excel
// 导出excel
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
postDownLoadFile
({
postDownLoadFile
({
url
:
req
BasePath
+
'
otheroutlets005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
url
:
flowable
BasePath
+
'
otheroutlets005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
params
:
getTableParams
(),
params
:
getTableParams
(),
method
:
'
post
'
method
:
'
post
'
});
});
...
...
erp/src/main/resources/template/js/otherwarehous/otherwarehousadd.js
浏览文件 @
bcd959be
...
@@ -177,7 +177,7 @@ layui.config({
...
@@ -177,7 +177,7 @@ layui.config({
subType
:
subType
,
subType
:
subType
,
approvalId
:
approvalId
approvalId
:
approvalId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
otherwarehous002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
otherwarehous002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/otherwarehous/otherwarehousedit.js
浏览文件 @
bcd959be
...
@@ -55,7 +55,7 @@ layui.config({
...
@@ -55,7 +55,7 @@ layui.config({
//渲染数据到页面
//渲染数据到页面
function
initDataToShow
(){
function
initDataToShow
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
otherwarehous003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
otherwarehous003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
submitType
=
json
.
bean
.
submitType
;
submitType
=
json
.
bean
.
submitType
;
...
@@ -247,7 +247,7 @@ layui.config({
...
@@ -247,7 +247,7 @@ layui.config({
approvalId
:
approvalId
,
approvalId
:
approvalId
,
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
otherwarehous004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
otherwarehous004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/otherwarehous/otherwarehouslist.js
浏览文件 @
bcd959be
...
@@ -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
+
'
otherwarehous001
'
,
url
:
flowable
BasePath
+
'
otherwarehous001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -160,7 +160,7 @@ layui.config({
...
@@ -160,7 +160,7 @@ layui.config({
// 导出excel
// 导出excel
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
postDownLoadFile
({
postDownLoadFile
({
url
:
req
BasePath
+
'
otherwarehous005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
url
:
flowable
BasePath
+
'
otherwarehous005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
params
:
getTableParams
(),
params
:
getTableParams
(),
method
:
'
post
'
method
:
'
post
'
});
});
...
...
erp/src/main/resources/template/js/purchaseorder/purchaseorderadd.js
浏览文件 @
bcd959be
...
@@ -182,7 +182,7 @@ layui.config({
...
@@ -182,7 +182,7 @@ layui.config({
subType
:
subType
,
subType
:
subType
,
approvalId
:
approvalId
approvalId
:
approvalId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
purchaseorder002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
purchaseorder002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/purchaseorder/purchaseorderedit.js
浏览文件 @
bcd959be
...
@@ -60,7 +60,7 @@ layui.config({
...
@@ -60,7 +60,7 @@ layui.config({
//渲染数据到页面
//渲染数据到页面
function
initDataToShow
(){
function
initDataToShow
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
purchaseorder004
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
purchaseorder004
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
submitType
=
json
.
bean
.
submitType
;
submitType
=
json
.
bean
.
submitType
;
// 供应商信息赋值
// 供应商信息赋值
...
@@ -255,7 +255,7 @@ layui.config({
...
@@ -255,7 +255,7 @@ layui.config({
approvalId
:
approvalId
,
approvalId
:
approvalId
,
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
purchaseorder005
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
purchaseorder005
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/purchaseorder/purchaseorderlist.js
浏览文件 @
bcd959be
...
@@ -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
+
'
purchaseorder001
'
,
url
:
flowable
BasePath
+
'
purchaseorder001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -204,7 +204,7 @@ layui.config({
...
@@ -204,7 +204,7 @@ layui.config({
// 导出excel
// 导出excel
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
postDownLoadFile
({
postDownLoadFile
({
url
:
req
BasePath
+
'
purchaseorder010?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
url
:
flowable
BasePath
+
'
purchaseorder010?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
params
:
getTableParams
(),
params
:
getTableParams
(),
method
:
'
post
'
method
:
'
post
'
});
});
...
...
erp/src/main/resources/template/js/purchaseorder/purchaseorderpurchase.js
浏览文件 @
bcd959be
...
@@ -69,7 +69,7 @@ layui.config({
...
@@ -69,7 +69,7 @@ layui.config({
// 初始化回显数据
// 初始化回显数据
function
initDataShow
(){
function
initDataShow
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
purchaseorder008
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
purchaseorder008
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
isNull
(
json
.
bean
)){
if
(
isNull
(
json
.
bean
)){
$
(
"
#showForm
"
).
html
(
""
);
$
(
"
#showForm
"
).
html
(
""
);
...
@@ -292,7 +292,7 @@ layui.config({
...
@@ -292,7 +292,7 @@ layui.config({
}
}
function
sendRequest
(
params
){
function
sendRequest
(
params
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
purchaseorder009
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
purchaseorder009
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/purchaseput/purchaseputadd.js
浏览文件 @
bcd959be
...
@@ -205,7 +205,7 @@ layui.config({
...
@@ -205,7 +205,7 @@ layui.config({
subType
:
subType
,
subType
:
subType
,
approvalId
:
approvalId
approvalId
:
approvalId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
purchaseput002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
purchaseput002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/purchaseput/purchaseputedit.js
浏览文件 @
bcd959be
...
@@ -64,7 +64,7 @@ layui.config({
...
@@ -64,7 +64,7 @@ layui.config({
//初始化回显数据
//初始化回显数据
function
initDataShow
(){
function
initDataShow
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
purchaseput003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
purchaseput003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
submitType
=
json
.
bean
.
submitType
;
submitType
=
json
.
bean
.
submitType
;
...
@@ -288,7 +288,7 @@ layui.config({
...
@@ -288,7 +288,7 @@ layui.config({
approvalId
:
approvalId
,
approvalId
:
approvalId
,
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
purchaseput004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
purchaseput004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/purchaseput/purchaseputlist.js
浏览文件 @
bcd959be
...
@@ -25,7 +25,7 @@ layui.config({
...
@@ -25,7 +25,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
purchaseput001
'
,
url
:
flowable
BasePath
+
'
purchaseput001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -180,7 +180,7 @@ layui.config({
...
@@ -180,7 +180,7 @@ layui.config({
// 导出excel
// 导出excel
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
postDownLoadFile
({
postDownLoadFile
({
url
:
req
BasePath
+
'
purchaseput005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
url
:
flowable
BasePath
+
'
purchaseput005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
params
:
getTableParams
(),
params
:
getTableParams
(),
method
:
'
post
'
method
:
'
post
'
});
});
...
...
erp/src/main/resources/template/js/purchasereturns/purchasereturnsadd.js
浏览文件 @
bcd959be
...
@@ -207,7 +207,7 @@ layui.config({
...
@@ -207,7 +207,7 @@ layui.config({
subType
:
subType
,
subType
:
subType
,
approvalId
:
approvalId
approvalId
:
approvalId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
purchasereturns002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
purchasereturns002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/purchasereturns/purchasereturnsedit.js
浏览文件 @
bcd959be
...
@@ -66,7 +66,7 @@ layui.config({
...
@@ -66,7 +66,7 @@ layui.config({
//初始化回显数据
//初始化回显数据
function
initDataShow
(){
function
initDataShow
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
purchasereturns003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
purchasereturns003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
submitType
=
json
.
bean
.
submitType
;
submitType
=
json
.
bean
.
submitType
;
...
@@ -283,7 +283,7 @@ layui.config({
...
@@ -283,7 +283,7 @@ layui.config({
approvalId
:
approvalId
,
approvalId
:
approvalId
,
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
purchasereturns004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
purchasereturns004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/purchasereturns/purchasereturnslist.js
浏览文件 @
bcd959be
...
@@ -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
+
'
purchasereturns001
'
,
url
:
flowable
BasePath
+
'
purchasereturns001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -169,7 +169,7 @@ layui.config({
...
@@ -169,7 +169,7 @@ layui.config({
// 导出excel
// 导出excel
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
postDownLoadFile
({
postDownLoadFile
({
url
:
req
BasePath
+
'
purchasereturns005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
url
:
flowable
BasePath
+
'
purchasereturns005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
params
:
getTableParams
(),
params
:
getTableParams
(),
method
:
'
post
'
method
:
'
post
'
});
});
...
...
erp/src/main/resources/template/js/retailoutlet/retailoutletadd.js
浏览文件 @
bcd959be
...
@@ -233,7 +233,7 @@ layui.config({
...
@@ -233,7 +233,7 @@ layui.config({
subType
:
subType
,
subType
:
subType
,
approvalId
:
approvalId
approvalId
:
approvalId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
retailoutlet002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
retailoutlet002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/retailoutlet/retailoutletedit.js
浏览文件 @
bcd959be
...
@@ -34,7 +34,7 @@ layui.config({
...
@@ -34,7 +34,7 @@ layui.config({
var
orderObject
=
[];
var
orderObject
=
[];
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
retailoutlet003
"
,
url
:
flowable
BasePath
+
"
retailoutlet003
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
beanTemplate
,
template
:
beanTemplate
,
...
@@ -294,7 +294,7 @@ layui.config({
...
@@ -294,7 +294,7 @@ layui.config({
approvalId
:
approvalId
,
approvalId
:
approvalId
,
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
retailoutlet004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
retailoutlet004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/retailoutlet/retailoutletlist.js
浏览文件 @
bcd959be
...
@@ -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
+
'
retailoutlet001
'
,
url
:
flowable
BasePath
+
'
retailoutlet001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -161,7 +161,7 @@ layui.config({
...
@@ -161,7 +161,7 @@ layui.config({
// 导出excel
// 导出excel
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
postDownLoadFile
({
postDownLoadFile
({
url
:
req
BasePath
+
'
retailoutlet005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
url
:
flowable
BasePath
+
'
retailoutlet005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
params
:
getTableParams
(),
params
:
getTableParams
(),
method
:
'
post
'
method
:
'
post
'
});
});
...
...
erp/src/main/resources/template/js/retailreturns/retailreturnsadd.js
浏览文件 @
bcd959be
...
@@ -231,7 +231,7 @@ layui.config({
...
@@ -231,7 +231,7 @@ layui.config({
subType
:
subType
,
subType
:
subType
,
approvalId
:
approvalId
approvalId
:
approvalId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
retailreturns002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
retailreturns002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/retailreturns/retailreturnsedit.js
浏览文件 @
bcd959be
...
@@ -34,7 +34,7 @@ layui.config({
...
@@ -34,7 +34,7 @@ layui.config({
var
orderObject
=
[];
var
orderObject
=
[];
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
retailreturns003
"
,
url
:
flowable
BasePath
+
"
retailreturns003
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
beanTemplate
,
template
:
beanTemplate
,
...
@@ -292,7 +292,7 @@ layui.config({
...
@@ -292,7 +292,7 @@ layui.config({
approvalId
:
approvalId
,
approvalId
:
approvalId
,
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
retailreturns004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
retailreturns004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/retailreturns/retailreturnslist.js
浏览文件 @
bcd959be
...
@@ -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
+
'
retailreturns001
'
,
url
:
flowable
BasePath
+
'
retailreturns001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -161,7 +161,7 @@ layui.config({
...
@@ -161,7 +161,7 @@ layui.config({
//导出excel
//导出excel
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
postDownLoadFile
({
postDownLoadFile
({
url
:
req
BasePath
+
'
retailreturns005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
url
:
flowable
BasePath
+
'
retailreturns005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
params
:
getTableParams
(),
params
:
getTableParams
(),
method
:
'
post
'
method
:
'
post
'
});
});
...
...
erp/src/main/resources/template/js/salesOrderOverPlan/salesOrderOverPlan.js
浏览文件 @
bcd959be
...
@@ -71,7 +71,7 @@ layui.config({
...
@@ -71,7 +71,7 @@ layui.config({
lateProduceTime
:
$
(
"
#lateProduceTime
"
).
val
(),
lateProduceTime
:
$
(
"
#lateProduceTime
"
).
val
(),
lateQualityTime
:
$
(
"
#lateQualityTime
"
).
val
()
lateQualityTime
:
$
(
"
#lateQualityTime
"
).
val
()
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpordersaleoverplan002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpordersaleoverplan002
"
,
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/src/main/resources/template/js/salesOrderOverPlan/salesOrderOverPlanList.js
浏览文件 @
bcd959be
...
@@ -22,7 +22,7 @@ layui.config({
...
@@ -22,7 +22,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erpordersaleoverplan001
'
,
url
:
flowable
BasePath
+
'
erpordersaleoverplan001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
...
erp/src/main/resources/template/js/salesorder/salesOrderChoose.js
浏览文件 @
bcd959be
...
@@ -67,7 +67,7 @@ layui.config({
...
@@ -67,7 +67,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
salesorder012
'
,
url
:
flowable
BasePath
+
'
salesorder012
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
false
,
page
:
false
,
...
...
erp/src/main/resources/template/js/salesorder/salesorderadd.js
浏览文件 @
bcd959be
...
@@ -215,7 +215,7 @@ layui.config({
...
@@ -215,7 +215,7 @@ layui.config({
subType
:
subType
,
subType
:
subType
,
approvalId
:
approvalId
approvalId
:
approvalId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
salesorder002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
salesorder002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/salesorder/salesorderdetails.js
浏览文件 @
bcd959be
...
@@ -42,7 +42,7 @@ layui.config({
...
@@ -42,7 +42,7 @@ layui.config({
// 加载统筹信息
// 加载统筹信息
function
loadOverPlan
(){
function
loadOverPlan
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpordersaleoverplan003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
data
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpordersaleoverplan003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
'
GET
'
,
callback
:
function
(
data
)
{
if
(
data
.
returnCode
==
0
)
{
if
(
data
.
returnCode
==
0
)
{
$
(
"
#showForm
"
).
append
(
getDataUseHandlebars
(
$
(
"
#overPlanTemplate
"
).
html
(),
data
));
$
(
"
#showForm
"
).
append
(
getDataUseHandlebars
(
$
(
"
#overPlanTemplate
"
).
html
(),
data
));
}
else
{
}
else
{
...
...
erp/src/main/resources/template/js/salesorder/salesorderedit.js
浏览文件 @
bcd959be
...
@@ -69,7 +69,7 @@ layui.config({
...
@@ -69,7 +69,7 @@ layui.config({
// 初始化回显数据
// 初始化回显数据
function
initDataShow
(){
function
initDataShow
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
salesorder004
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
salesorder004
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
submitType
=
json
.
bean
.
submitType
;
submitType
=
json
.
bean
.
submitType
;
// 客户信息赋值
// 客户信息赋值
...
@@ -314,7 +314,7 @@ layui.config({
...
@@ -314,7 +314,7 @@ layui.config({
approvalId
:
approvalId
,
approvalId
:
approvalId
,
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
salesorder005
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
salesorder005
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/salesorder/salesorderlist.js
浏览文件 @
bcd959be
...
@@ -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
+
'
salesorder001
'
,
url
:
flowable
BasePath
+
'
salesorder001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -186,7 +186,7 @@ layui.config({
...
@@ -186,7 +186,7 @@ layui.config({
// 导出excel
// 导出excel
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
postDownLoadFile
({
postDownLoadFile
({
url
:
req
BasePath
+
'
salesorder010?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
url
:
flowable
BasePath
+
'
salesorder010?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
params
:
getTableParams
(),
params
:
getTableParams
(),
method
:
'
post
'
method
:
'
post
'
});
});
...
...
erp/src/main/resources/template/js/salesorder/salesorderpurchase.js
浏览文件 @
bcd959be
...
@@ -79,7 +79,7 @@ layui.config({
...
@@ -79,7 +79,7 @@ layui.config({
//初始化回显数据
//初始化回显数据
function
initDataShow
(){
function
initDataShow
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
salesorder008
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
salesorder008
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
isNull
(
json
.
bean
)){
if
(
isNull
(
json
.
bean
)){
$
(
"
#showForm
"
).
html
(
""
);
$
(
"
#showForm
"
).
html
(
""
);
...
@@ -333,7 +333,7 @@ layui.config({
...
@@ -333,7 +333,7 @@ layui.config({
}
}
function
sendRequest
(
params
){
function
sendRequest
(
params
){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
salesorder009
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
salesorder009
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/salesoutlet/salesoutletadd.js
浏览文件 @
bcd959be
...
@@ -224,7 +224,7 @@ layui.config({
...
@@ -224,7 +224,7 @@ layui.config({
subType
:
subType
,
subType
:
subType
,
approvalId
:
approvalId
approvalId
:
approvalId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
salesoutlet002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
salesoutlet002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/salesoutlet/salesoutletedit.js
浏览文件 @
bcd959be
...
@@ -75,7 +75,7 @@ layui.config({
...
@@ -75,7 +75,7 @@ layui.config({
// 初始化回显数据
// 初始化回显数据
function
initDataShow
(){
function
initDataShow
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
salesoutlet003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
salesoutlet003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
submitType
=
json
.
bean
.
submitType
;
submitType
=
json
.
bean
.
submitType
;
// 客户信息赋值
// 客户信息赋值
...
@@ -325,7 +325,7 @@ layui.config({
...
@@ -325,7 +325,7 @@ layui.config({
approvalId
:
approvalId
,
approvalId
:
approvalId
,
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
salesoutlet004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
salesoutlet004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/salesoutlet/salesoutletlist.js
浏览文件 @
bcd959be
...
@@ -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
+
'
salesoutlet001
'
,
url
:
flowable
BasePath
+
'
salesoutlet001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -172,7 +172,7 @@ layui.config({
...
@@ -172,7 +172,7 @@ layui.config({
//导出excel
//导出excel
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
postDownLoadFile
({
postDownLoadFile
({
url
:
req
BasePath
+
'
salesoutlet005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
url
:
flowable
BasePath
+
'
salesoutlet005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
params
:
getTableParams
(),
params
:
getTableParams
(),
method
:
'
post
'
method
:
'
post
'
});
});
...
...
erp/src/main/resources/template/js/salesreturns/salesreturnsadd.js
浏览文件 @
bcd959be
...
@@ -225,7 +225,7 @@ layui.config({
...
@@ -225,7 +225,7 @@ layui.config({
subType
:
subType
,
subType
:
subType
,
approvalId
:
approvalId
approvalId
:
approvalId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
salesreturns002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
salesreturns002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/salesreturns/salesreturnsedit.js
浏览文件 @
bcd959be
...
@@ -75,7 +75,7 @@ layui.config({
...
@@ -75,7 +75,7 @@ layui.config({
// 初始化回显数据
// 初始化回显数据
function
initDataShow
(){
function
initDataShow
(){
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
salesreturns003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
salesreturns003
"
,
params
:
{
rowId
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
submitType
=
json
.
bean
.
submitType
;
submitType
=
json
.
bean
.
submitType
;
// 客户信息赋值
// 客户信息赋值
...
@@ -325,7 +325,7 @@ layui.config({
...
@@ -325,7 +325,7 @@ layui.config({
approvalId
:
approvalId
,
approvalId
:
approvalId
,
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
salesreturns004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
salesreturns004
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
dsFormUtil
.
savePageData
(
"
dsFormShow
"
,
json
.
bean
.
id
);
parent
.
layer
.
close
(
index
);
parent
.
layer
.
close
(
index
);
...
...
erp/src/main/resources/template/js/salesreturns/salesreturnslist.js
浏览文件 @
bcd959be
...
@@ -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
+
'
salesreturns001
'
,
url
:
flowable
BasePath
+
'
salesreturns001
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -172,7 +172,7 @@ layui.config({
...
@@ -172,7 +172,7 @@ layui.config({
// 导出excel
// 导出excel
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
$
(
"
body
"
).
on
(
"
click
"
,
"
#downloadExcel
"
,
function
()
{
postDownLoadFile
({
postDownLoadFile
({
url
:
req
BasePath
+
'
salesreturns005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
url
:
flowable
BasePath
+
'
salesreturns005?userToken=
'
+
getCookie
(
'
userToken
'
)
+
'
&loginPCIp=
'
+
returnCitySN
[
"
cip
"
],
params
:
getTableParams
(),
params
:
getTableParams
(),
method
:
'
post
'
method
:
'
post
'
});
});
...
...
erp/src/main/resources/template/js/splitlist/splitlistadd.js
浏览文件 @
bcd959be
...
@@ -198,7 +198,7 @@ layui.config({
...
@@ -198,7 +198,7 @@ layui.config({
remark
:
$
(
"
#remark
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
(),
depotheadStr
:
JSON
.
stringify
(
tableData
)
depotheadStr
:
JSON
.
stringify
(
tableData
)
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
splitlist002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
splitlist002
"
,
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/src/main/resources/template/js/splitlist/splitlistedit.js
浏览文件 @
bcd959be
...
@@ -26,7 +26,7 @@ layui.config({
...
@@ -26,7 +26,7 @@ layui.config({
var
orderObject
=
[];
var
orderObject
=
[];
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
splitlist003
"
,
url
:
flowable
BasePath
+
"
splitlist003
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
beanTemplate
,
template
:
beanTemplate
,
...
@@ -244,7 +244,7 @@ layui.config({
...
@@ -244,7 +244,7 @@ layui.config({
depotheadStr
:
JSON
.
stringify
(
tableData
),
depotheadStr
:
JSON
.
stringify
(
tableData
),
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
splitlist004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
splitlist004
"
,
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/src/main/resources/template/js/storeHouseApproval/storeHouseOtherExamine.js
浏览文件 @
bcd959be
...
@@ -43,12 +43,12 @@ layui.config({
...
@@ -43,12 +43,12 @@ layui.config({
status
:
$
(
"
input[name='flag']:checked
"
).
val
(),
status
:
$
(
"
input[name='flag']:checked
"
).
val
(),
rowId
:
parent
.
rowId
rowId
:
parent
.
rowId
};
};
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
storehouseapproval006
"
,
params
:
jStr
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
storehouseapproval006
"
,
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
'
;
}
else
{
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
}});
}});
});
});
...
...
erp/src/main/resources/template/js/storeHouseApproval/storeHouseOtherList.js
浏览文件 @
bcd959be
...
@@ -28,7 +28,7 @@ layui.config({
...
@@ -28,7 +28,7 @@ layui.config({
initDepotHtml
();
initDepotHtml
();
//初始化仓库
//初始化仓库
function
initDepotHtml
()
{
function
initDepotHtml
()
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
storehouse009
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
storehouse009
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
//加载仓库数据
//加载仓库数据
$
(
"
#depotId
"
).
html
(
getDataUseHandlebars
(
selOption
,
json
));
$
(
"
#depotId
"
).
html
(
getDataUseHandlebars
(
selOption
,
json
));
...
@@ -49,7 +49,7 @@ layui.config({
...
@@ -49,7 +49,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
storehouseapproval005
'
,
url
:
flowable
BasePath
+
'
storehouseapproval005
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
...
erp/src/main/resources/template/js/storeHouseApproval/storeHousePassOtherList.js
浏览文件 @
bcd959be
...
@@ -28,7 +28,7 @@ layui.config({
...
@@ -28,7 +28,7 @@ layui.config({
initDepotHtml
();
initDepotHtml
();
//初始化仓库
//初始化仓库
function
initDepotHtml
()
{
function
initDepotHtml
()
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
storehouse009
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
storehouse009
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
//加载仓库数据
//加载仓库数据
$
(
"
#depotId
"
).
html
(
getDataUseHandlebars
(
selOption
,
json
));
$
(
"
#depotId
"
).
html
(
getDataUseHandlebars
(
selOption
,
json
));
...
@@ -49,7 +49,7 @@ layui.config({
...
@@ -49,7 +49,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
storehouseapproval009
'
,
url
:
flowable
BasePath
+
'
storehouseapproval009
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
...
erp/src/main/resources/template/js/storeHouseInventory/storeHouseInventoryHistory.js
浏览文件 @
bcd959be
...
@@ -18,7 +18,7 @@ layui.config({
...
@@ -18,7 +18,7 @@ layui.config({
done
:
function
(
page
,
next
)
{
//到达临界点(默认滚动触发),触发下一页
done
:
function
(
page
,
next
)
{
//到达临界点(默认滚动触发),触发下一页
var
lis
=
[];
var
lis
=
[];
//以jQuery的Ajax请求为例,请求下一页数据(注意:page是从2开始返回)
//以jQuery的Ajax请求为例,请求下一页数据(注意:page是从2开始返回)
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
erpstockinventory003
"
,
params
:{
page
:
page
,
limit
:
15
,
normsId
:
parent
.
normsId
,
depotId
:
parent
.
depotId
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
erpstockinventory003
"
,
params
:
{
page
:
page
,
limit
:
15
,
normsId
:
parent
.
normsId
,
depotId
:
parent
.
depotId
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
if
(
json
.
returnCode
==
0
){
var
jsonStr
=
""
;
//实体json对象
var
jsonStr
=
""
;
//实体json对象
$
.
each
(
json
.
rows
,
function
(
index
,
bean
)
{
$
.
each
(
json
.
rows
,
function
(
index
,
bean
)
{
...
@@ -32,7 +32,7 @@ layui.config({
...
@@ -32,7 +32,7 @@ layui.config({
//pages为Ajax返回的总页数,只有当前页小于总页数的情况下,才会继续出现加载更多
//pages为Ajax返回的总页数,只有当前页小于总页数的情况下,才会继续出现加载更多
next
(
lis
.
join
(
''
),
(
page
*
1000
)
<
json
.
total
);
next
(
lis
.
join
(
''
),
(
page
*
1000
)
<
json
.
total
);
}
else
{
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
}});
}});
}
}
...
...
erp/src/main/resources/template/js/storeHouseInventory/storeHouseInventoryList.js
浏览文件 @
bcd959be
...
@@ -24,7 +24,7 @@ layui.config({
...
@@ -24,7 +24,7 @@ layui.config({
initDepotHtml
();
initDepotHtml
();
//初始化仓库
//初始化仓库
function
initDepotHtml
()
{
function
initDepotHtml
()
{
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
storehouse009
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
storehouse009
"
,
params
:
{},
type
:
'
json
'
,
callback
:
function
(
json
)
{
if
(
json
.
returnCode
==
0
)
{
if
(
json
.
returnCode
==
0
)
{
//加载仓库数据
//加载仓库数据
$
(
"
#depotId
"
).
html
(
getDataUseHandlebars
(
selOption
,
json
));
$
(
"
#depotId
"
).
html
(
getDataUseHandlebars
(
selOption
,
json
));
...
@@ -46,7 +46,7 @@ layui.config({
...
@@ -46,7 +46,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
erpstockinventory002
'
,
url
:
flowable
BasePath
+
'
erpstockinventory002
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -116,7 +116,7 @@ layui.config({
...
@@ -116,7 +116,7 @@ layui.config({
number
:
value
,
number
:
value
,
depotId
:
data
.
depotId
depotId
:
data
.
depotId
};
};
AjaxPostUtil
.
request
({
url
:
req
BasePath
+
"
erpstockinventory001
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowable
BasePath
+
"
erpstockinventory001
"
,
params
:
params
,
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
});
}
else
{
}
else
{
...
...
erp/src/main/resources/template/js/storehouse/storehouseadd.js
浏览文件 @
bcd959be
...
@@ -47,12 +47,12 @@ layui.config({
...
@@ -47,12 +47,12 @@ layui.config({
params
.
principal
=
userId
;
params
.
principal
=
userId
;
}
}
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
storehouse002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
storehouse002
"
,
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
'
;
}
else
{
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
}});
}});
}
}
...
...
erp/src/main/resources/template/js/storehouse/storehouseedit.js
浏览文件 @
bcd959be
...
@@ -20,7 +20,7 @@ layui.config({
...
@@ -20,7 +20,7 @@ layui.config({
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
storehouse003
"
,
url
:
flowable
BasePath
+
"
storehouse003
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
template
:
$
(
"
#beanTemplate
"
).
html
(),
...
@@ -86,12 +86,12 @@ layui.config({
...
@@ -86,12 +86,12 @@ layui.config({
params
.
principal
=
userId
;
params
.
principal
=
userId
;
}
}
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
storehouse005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
storehouse005
"
,
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
'
;
}
else
{
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
}});
}});
}
}
...
...
erp/src/main/resources/template/js/storehouse/storehouseinfo.js
浏览文件 @
bcd959be
...
@@ -11,7 +11,7 @@ layui.config({
...
@@ -11,7 +11,7 @@ layui.config({
var
simpleTemplate
=
$
(
"
#simpleTemplate
"
).
html
();
var
simpleTemplate
=
$
(
"
#simpleTemplate
"
).
html
();
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
storehouse007
"
,
url
:
flowable
BasePath
+
"
storehouse007
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
simpleTemplate
,
template
:
simpleTemplate
,
...
...
erp/src/main/resources/template/js/storehouse/storehouselist.js
浏览文件 @
bcd959be
...
@@ -16,7 +16,7 @@ layui.config({
...
@@ -16,7 +16,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
storehouse001
'
,
url
:
flowable
BasePath
+
'
storehouse001
'
,
where
:
{
houseName
:
$
(
"
#houseName
"
).
val
()},
where
:
{
houseName
:
$
(
"
#houseName
"
).
val
()},
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
@@ -95,12 +95,12 @@ layui.config({
...
@@ -95,12 +95,12 @@ layui.config({
var
params
=
{
var
params
=
{
rowId
:
data
.
id
rowId
:
data
.
id
};
};
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
storehouse004
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
storehouse004
"
,
params
:
params
,
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
();
}
else
{
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
}});
}});
});
});
...
@@ -112,12 +112,12 @@ layui.config({
...
@@ -112,12 +112,12 @@ layui.config({
var
params
=
{
var
params
=
{
rowId
:
data
.
id
rowId
:
data
.
id
};
};
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
storehouse006
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
storehouse006
"
,
params
:
params
,
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
();
}
else
{
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
}});
}});
});
});
...
...
erp/src/main/resources/template/js/supplier/supplierChoose.js
浏览文件 @
bcd959be
...
@@ -16,7 +16,7 @@ layui.config({
...
@@ -16,7 +16,7 @@ layui.config({
id
:
'
messageTable
'
,
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
method
:
'
post
'
,
url
:
req
BasePath
+
'
supplier009
'
,
url
:
flowable
BasePath
+
'
supplier009
'
,
where
:
getTableParams
(),
where
:
getTableParams
(),
even
:
true
,
even
:
true
,
page
:
true
,
page
:
true
,
...
...
erp/src/main/resources/template/js/supplier/supplieradd.js
浏览文件 @
bcd959be
...
@@ -39,12 +39,12 @@ layui.config({
...
@@ -39,12 +39,12 @@ layui.config({
accountNumber
:
$
(
"
#accountNumber
"
).
val
(),
accountNumber
:
$
(
"
#accountNumber
"
).
val
(),
taxRate
:
isNull
(
$
(
"
#taxRate
"
).
val
())
?
'
0
'
:
$
(
"
#taxRate
"
).
val
()
taxRate
:
isNull
(
$
(
"
#taxRate
"
).
val
())
?
'
0
'
:
$
(
"
#taxRate
"
).
val
()
};
};
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
supplier002
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
supplier002
"
,
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
'
;
}
else
{
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
}});
}});
}
}
...
...
erp/src/main/resources/template/js/supplier/supplieredit.js
浏览文件 @
bcd959be
...
@@ -11,8 +11,8 @@ layui.config({
...
@@ -11,8 +11,8 @@ layui.config({
textool
=
layui
.
textool
;
textool
=
layui
.
textool
;
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
supplier003
"
,
url
:
flowable
BasePath
+
"
supplier003
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
getFileContent
(
'
tpl/supplier/suppliereditTemplate.tpl
'
),
template
:
getFileContent
(
'
tpl/supplier/suppliereditTemplate.tpl
'
),
ajaxSendLoadBefore
:
function
(
hdb
){},
ajaxSendLoadBefore
:
function
(
hdb
){},
...
@@ -48,12 +48,12 @@ layui.config({
...
@@ -48,12 +48,12 @@ layui.config({
accountNumber
:
$
(
"
#accountNumber
"
).
val
(),
accountNumber
:
$
(
"
#accountNumber
"
).
val
(),
taxRate
:
isNull
(
$
(
"
#taxRate
"
).
val
())
?
'
0
'
:
$
(
"
#taxRate
"
).
val
()
taxRate
:
isNull
(
$
(
"
#taxRate
"
).
val
())
?
'
0
'
:
$
(
"
#taxRate
"
).
val
()
};
};
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
supplier005
"
,
params
:
params
,
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
supplier005
"
,
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
'
;
}
else
{
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
}});
}});
}
}
...
...
erp/src/main/resources/template/js/supplier/supplierinfo.js
浏览文件 @
bcd959be
...
@@ -11,7 +11,7 @@ layui.config({
...
@@ -11,7 +11,7 @@ layui.config({
var
simpleTemplate
=
$
(
"
#simpleTemplate
"
).
html
();
var
simpleTemplate
=
$
(
"
#simpleTemplate
"
).
html
();
showGrid
({
showGrid
({
id
:
"
showForm
"
,
id
:
"
showForm
"
,
url
:
req
BasePath
+
"
supplier008
"
,
url
:
flowable
BasePath
+
"
supplier008
"
,
params
:
{
rowId
:
parent
.
rowId
},
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
pagination
:
false
,
template
:
simpleTemplate
,
template
:
simpleTemplate
,
...
...
erp/src/main/resources/template/js/supplier/supplierlist.js
浏览文件 @
bcd959be
...
@@ -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
+
'
supplier001
'
,
url
:
flowable
BasePath
+
'
supplier001
'
,
where
:
{
supplierName
:
$
(
"
#supplierName
"
).
val
(),
where
:
{
supplierName
:
$
(
"
#supplierName
"
).
val
(),
telephone
:
$
(
"
#telephone
"
).
val
(),
telephone
:
$
(
"
#telephone
"
).
val
(),
email
:
$
(
"
#email
"
).
val
(),
email
:
$
(
"
#email
"
).
val
(),
...
@@ -109,12 +109,12 @@ layui.config({
...
@@ -109,12 +109,12 @@ layui.config({
function
deleteSupplier
(
data
){
function
deleteSupplier
(
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
:
reqBasePath
+
"
supplier004
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
supplier004
"
,
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
();
}
else
{
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
}});
}});
});
});
...
@@ -123,12 +123,12 @@ layui.config({
...
@@ -123,12 +123,12 @@ layui.config({
//设置启用状态
//设置启用状态
function
editEnabled
(
data
){
function
editEnabled
(
data
){
layer
.
confirm
(
'
确认要更改该供应商为启用状态吗?
'
,
{
icon
:
3
,
title
:
'
状态变更
'
},
function
(
index
)
{
layer
.
confirm
(
'
确认要更改该供应商为启用状态吗?
'
,
{
icon
:
3
,
title
:
'
状态变更
'
},
function
(
index
)
{
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
supplier006
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
supplier006
"
,
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
();
}
else
{
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
}});
}});
});
});
...
@@ -137,12 +137,12 @@ layui.config({
...
@@ -137,12 +137,12 @@ layui.config({
//设置禁用状态
//设置禁用状态
function
editNotEnabled
(
data
){
function
editNotEnabled
(
data
){
layer
.
confirm
(
'
确认要更改该供应商为禁用状态吗?
'
,
{
icon
:
3
,
title
:
'
状态变更
'
},
function
(
index
)
{
layer
.
confirm
(
'
确认要更改该供应商为禁用状态吗?
'
,
{
icon
:
3
,
title
:
'
状态变更
'
},
function
(
index
)
{
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
supplier007
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
supplier007
"
,
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
();
}
else
{
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
}
}});
}});
});
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录