Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
814a6f82
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1173
Star
154
Fork
127
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
814a6f82
编写于
10月 21, 2022
作者:
W
weizhiqiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ERP商品获取规格信息修改
上级
45adbc61
变更
46
隐藏空白更改
内联
并排
Showing
46 changed file
with
69 addition
and
69 deletion
+69
-69
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/erpBomEdit.js
...oduce/src/main/resources/template/js/erpBom/erpBomEdit.js
+3
-4
erp-produce/src/main/resources/template/js/erpBom/erpBomList.js
...oduce/src/main/resources/template/js/erpBom/erpBomList.js
+3
-3
erp-produce/src/main/resources/template/js/erpMachin/erpMachinAdd.js
.../src/main/resources/template/js/erpMachin/erpMachinAdd.js
+2
-2
erp-produce/src/main/resources/template/js/erpMachin/erpMachinEdit.js
...src/main/resources/template/js/erpMachin/erpMachinEdit.js
+5
-5
erp-produce/src/main/resources/template/js/erpPick/erpPatchAdd.js
...uce/src/main/resources/template/js/erpPick/erpPatchAdd.js
+2
-2
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/erpRequisitionAdd.js
...c/main/resources/template/js/erpPick/erpRequisitionAdd.js
+2
-2
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/erpReturnAdd.js
...ce/src/main/resources/template/js/erpPick/erpReturnAdd.js
+2
-2
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/erpProduction/erpProductionEdit.js
.../resources/template/js/erpProduction/erpProductionEdit.js
+1
-1
erp-produce/src/main/resources/template/tpl/erpBom/erpBomDetail.html
.../src/main/resources/template/tpl/erpBom/erpBomDetail.html
+4
-3
erp-produce/src/main/resources/template/tpl/erpMachin/erpMachinDetails.html
...in/resources/template/tpl/erpMachin/erpMachinDetails.html
+3
-3
erp/src/main/resources/template/js/allocation/allocationadd.js
...rc/main/resources/template/js/allocation/allocationadd.js
+1
-1
erp/src/main/resources/template/js/allocation/allocationedit.js
...c/main/resources/template/js/allocation/allocationedit.js
+1
-1
erp/src/main/resources/template/js/assemblysheet/assemblysheetadd.js
...n/resources/template/js/assemblysheet/assemblysheetadd.js
+1
-1
erp/src/main/resources/template/js/assemblysheet/assemblysheetedit.js
.../resources/template/js/assemblysheet/assemblysheetedit.js
+1
-1
erp/src/main/resources/template/js/material/materialChooseToProduce.js
...resources/template/js/material/materialChooseToProduce.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
+1
-1
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
+1
-1
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
+1
-1
erp/src/main/resources/template/js/purchaseorder/purchaseorderpurchase.js
...ources/template/js/purchaseorder/purchaseorderpurchase.js
+1
-1
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
+1
-1
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
+1
-1
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
+1
-1
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
+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/salesorderedit.js
...c/main/resources/template/js/salesorder/salesorderedit.js
+1
-1
erp/src/main/resources/template/js/salesorder/salesorderpurchase.js
...in/resources/template/js/salesorder/salesorderpurchase.js
+1
-1
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
+1
-1
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
+1
-1
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
+1
-1
seal-service/src/main/resources/template/js/partsclaim/partsclaimadd.js
...rc/main/resources/template/js/partsclaim/partsclaimadd.js
+2
-2
seal-service/src/main/resources/template/js/partsclaim/partsclaimedit.js
...c/main/resources/template/js/partsclaim/partsclaimedit.js
+2
-2
seal-service/src/main/resources/template/js/stateisstayfinishedpro/stateisstayfinished.js
...template/js/stateisstayfinishedpro/stateisstayfinished.js
+2
-2
未找到文件。
erp-produce/src/main/resources/template/js/erpBom/erpBomAdd.js
浏览文件 @
814a6f82
...
...
@@ -81,7 +81,7 @@ layui.config({
}
});
if
(
unitIndex
>=
0
){
return
unitList
[
unitIndex
].
s
alePrice
;
return
unitList
[
unitIndex
].
normsS
alePrice
;
}
}
...
...
erp-produce/src/main/resources/template/js/erpBom/erpBomEdit.js
浏览文件 @
814a6f82
...
...
@@ -22,7 +22,7 @@ layui.config({
var
selTemplate
=
getFileContent
(
'
tpl/template/select-option-must.tpl
'
);
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
erpbom005
"
,
params
:
{
rowI
d
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
flowableBasePath
+
"
erpbom005
"
,
params
:
{
i
d
:
parent
.
rowId
},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
$
(
"
#showForm
"
).
html
(
getDataUseHandlebars
(
$
(
"
#mainHtml
"
).
html
(),
json
));
textool
.
init
({
eleId
:
'
remark
'
,
maxlength
:
200
});
...
...
@@ -103,7 +103,7 @@ layui.config({
}
});
if
(
unitIndex
>=
0
){
return
unitList
[
unitIndex
].
s
alePrice
;
return
unitList
[
unitIndex
].
normsS
alePrice
;
}
}
...
...
@@ -319,8 +319,7 @@ layui.config({
var
str
=
""
;
var
title
=
""
;
$
.
each
(
procedureMationList
,
function
(
i
,
item
)
{
str
+=
''
+
'
<span class="layui-badge layui-bg-gray">
'
+
item
.
number
+
'
</span>
'
+
item
.
procedureName
+
'
,
'
;
str
+=
'
<span class="layui-badge layui-bg-gray">
'
+
item
.
number
+
'
</span>
'
+
item
.
procedureName
+
'
,
'
;
title
+=
item
.
number
+
'
、
'
+
item
.
procedureName
+
'
\n
'
;
});
$
(
"
#procedureBox
"
+
proId
).
html
(
'
<img class="procedureSel" id="procedureSel
'
+
proId
+
'
" src="../../assets/images/forum-menu.png"/>
'
+
str
);
...
...
erp-produce/src/main/resources/template/js/erpBom/erpBomList.js
浏览文件 @
814a6f82
...
...
@@ -28,9 +28,9 @@ layui.config({
{
field
:
'
title
'
,
title
:
'
bom方案名称
'
,
align
:
'
left
'
,
width
:
150
,
templet
:
function
(
d
)
{
return
'
<a lay-event="details" class="notice-title-click">
'
+
d
.
title
+
'
</a>
'
;
}},
{
field
:
'
materialName
'
,
title
:
'
商品名称
'
,
align
:
'
left
'
,
width
:
150
},
{
field
:
'
materialModel
'
,
title
:
'
商品型号
'
,
align
:
'
left
'
,
width
:
150
},
{
field
:
'
unitName
'
,
title
:
'
计量单位
'
,
align
:
'
center
'
,
width
:
100
},
{
field
:
'
materialName
'
,
title
:
'
商品名称
'
,
align
:
'
left
'
,
width
:
150
,
templet
:
function
(
d
)
{
return
d
.
normMation
.
materialName
}
},
{
field
:
'
materialModel
'
,
title
:
'
商品型号
'
,
align
:
'
left
'
,
width
:
150
,
templet
:
function
(
d
)
{
return
d
.
normMation
.
materialModel
}
},
{
field
:
'
unitName
'
,
title
:
'
计量单位
'
,
align
:
'
center
'
,
width
:
100
,
templet
:
function
(
d
)
{
return
d
.
normMation
.
unitName
}
},
{
field
:
'
makeNum
'
,
title
:
'
数量
'
,
align
:
'
center
'
,
width
:
80
},
{
field
:
'
consumablesPrice
'
,
title
:
'
耗材总费用
'
,
align
:
'
right
'
,
width
:
100
},
{
field
:
'
procedurePrice
'
,
title
:
'
工序总费用
'
,
align
:
'
right
'
,
width
:
100
},
...
...
erp-produce/src/main/resources/template/js/erpMachin/erpMachinAdd.js
浏览文件 @
814a6f82
...
...
@@ -58,8 +58,8 @@ layui.config({
if
(
thisRowValue
==
bean
.
id
){
//获取规格
//获取当前行数量
var
rkNum
=
parseInt
(
$
(
"
#rkNum
"
+
thisRowNum
).
val
());
$
(
"
#unitPrice
"
+
thisRowNum
).
val
(
bean
.
e
stimatePurchasePrice
.
toFixed
(
2
));
//单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
val
((
rkNum
*
parseFloat
(
bean
.
e
stimatePurchasePrice
)).
toFixed
(
2
));
//金额
$
(
"
#unitPrice
"
+
thisRowNum
).
val
(
bean
.
normsE
stimatePurchasePrice
.
toFixed
(
2
));
//单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
val
((
rkNum
*
parseFloat
(
bean
.
normsE
stimatePurchasePrice
)).
toFixed
(
2
));
//金额
return
false
;
}
});
...
...
erp-produce/src/main/resources/template/js/erpMachin/erpMachinEdit.js
浏览文件 @
814a6f82
...
...
@@ -60,9 +60,9 @@ layui.config({
//加工产品信息
machinPro
=
{
materialId
:
data
.
materialId
,
materialName
:
data
.
materialName
,
materialModel
:
data
.
materialModel
,
unitList
:
data
.
unitList
materialName
:
data
.
normMation
.
materialName
,
materialModel
:
data
.
normMation
.
materialModel
,
unitList
:
data
.
normMation
.
unitList
};
$
(
"
#productName
"
).
val
(
machinPro
.
materialName
);
$
(
"
#productModel
"
).
val
(
machinPro
.
materialModel
);
...
...
@@ -126,8 +126,8 @@ layui.config({
if
(
thisRowValue
==
bean
.
id
){
//获取规格
//获取当前行数量
var
rkNum
=
parseInt
(
$
(
"
#rkNum
"
+
thisRowNum
).
val
());
$
(
"
#unitPrice
"
+
thisRowNum
).
val
(
bean
.
e
stimatePurchasePrice
.
toFixed
(
2
));
//单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
val
((
rkNum
*
parseFloat
(
bean
.
e
stimatePurchasePrice
)).
toFixed
(
2
));
//金额
$
(
"
#unitPrice
"
+
thisRowNum
).
val
(
bean
.
normsE
stimatePurchasePrice
.
toFixed
(
2
));
//单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
val
((
rkNum
*
parseFloat
(
bean
.
normsE
stimatePurchasePrice
)).
toFixed
(
2
));
//金额
return
false
;
}
});
...
...
erp-produce/src/main/resources/template/js/erpPick/erpPatchAdd.js
浏览文件 @
814a6f82
...
...
@@ -49,8 +49,8 @@ layui.config({
if
(
thisRowValue
==
bean
.
id
){
//获取规格
//获取当前行数量
var
rkNum
=
parseInt
(
$
(
"
#rkNum
"
+
thisRowNum
).
val
());
$
(
"
#unitPrice
"
+
thisRowNum
).
val
(
bean
.
e
stimatePurchasePrice
.
toFixed
(
2
));
//单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
val
((
rkNum
*
parseFloat
(
bean
.
e
stimatePurchasePrice
)).
toFixed
(
2
));
//金额
$
(
"
#unitPrice
"
+
thisRowNum
).
val
(
bean
.
normsE
stimatePurchasePrice
.
toFixed
(
2
));
//单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
val
((
rkNum
*
parseFloat
(
bean
.
normsE
stimatePurchasePrice
)).
toFixed
(
2
));
//金额
return
false
;
}
});
...
...
erp-produce/src/main/resources/template/js/erpPick/erpPatchEdit.js
浏览文件 @
814a6f82
...
...
@@ -84,8 +84,8 @@ layui.config({
if
(
thisRowValue
==
bean
.
id
){
//获取规格
//获取当前行数量
var
rkNum
=
parseInt
(
$
(
"
#rkNum
"
+
thisRowNum
).
val
());
$
(
"
#unitPrice
"
+
thisRowNum
).
val
(
bean
.
e
stimatePurchasePrice
.
toFixed
(
2
));
//单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
val
((
rkNum
*
parseFloat
(
bean
.
e
stimatePurchasePrice
)).
toFixed
(
2
));
//金额
$
(
"
#unitPrice
"
+
thisRowNum
).
val
(
bean
.
normsE
stimatePurchasePrice
.
toFixed
(
2
));
//单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
val
((
rkNum
*
parseFloat
(
bean
.
normsE
stimatePurchasePrice
)).
toFixed
(
2
));
//金额
return
false
;
}
});
...
...
erp-produce/src/main/resources/template/js/erpPick/erpRequisitionAdd.js
浏览文件 @
814a6f82
...
...
@@ -49,8 +49,8 @@ layui.config({
if
(
thisRowValue
==
bean
.
id
){
//获取规格
//获取当前行数量
var
rkNum
=
parseInt
(
$
(
"
#rkNum
"
+
thisRowNum
).
val
());
$
(
"
#unitPrice
"
+
thisRowNum
).
val
(
bean
.
e
stimatePurchasePrice
.
toFixed
(
2
));
//单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
val
((
rkNum
*
parseFloat
(
bean
.
e
stimatePurchasePrice
)).
toFixed
(
2
));
//金额
$
(
"
#unitPrice
"
+
thisRowNum
).
val
(
bean
.
normsE
stimatePurchasePrice
.
toFixed
(
2
));
//单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
val
((
rkNum
*
parseFloat
(
bean
.
normsE
stimatePurchasePrice
)).
toFixed
(
2
));
//金额
return
false
;
}
});
...
...
erp-produce/src/main/resources/template/js/erpPick/erpRequisitionEdit.js
浏览文件 @
814a6f82
...
...
@@ -94,8 +94,8 @@ layui.config({
if
(
thisRowValue
==
bean
.
id
){
//获取规格
//获取当前行数量
var
rkNum
=
parseInt
(
$
(
"
#rkNum
"
+
thisRowNum
).
val
());
$
(
"
#unitPrice
"
+
thisRowNum
).
val
(
bean
.
e
stimatePurchasePrice
.
toFixed
(
2
));
//单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
val
((
rkNum
*
parseFloat
(
bean
.
e
stimatePurchasePrice
)).
toFixed
(
2
));
//金额
$
(
"
#unitPrice
"
+
thisRowNum
).
val
(
bean
.
normsE
stimatePurchasePrice
.
toFixed
(
2
));
//单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
val
((
rkNum
*
parseFloat
(
bean
.
normsE
stimatePurchasePrice
)).
toFixed
(
2
));
//金额
return
false
;
}
});
...
...
erp-produce/src/main/resources/template/js/erpPick/erpReturnAdd.js
浏览文件 @
814a6f82
...
...
@@ -45,8 +45,8 @@ layui.config({
if
(
thisRowValue
==
bean
.
id
){
//获取规格
//获取当前行数量
var
rkNum
=
parseInt
(
$
(
"
#rkNum
"
+
thisRowNum
).
val
());
$
(
"
#unitPrice
"
+
thisRowNum
).
val
(
bean
.
e
stimatePurchasePrice
.
toFixed
(
2
));
//单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
val
((
rkNum
*
parseFloat
(
bean
.
e
stimatePurchasePrice
)).
toFixed
(
2
));
//金额
$
(
"
#unitPrice
"
+
thisRowNum
).
val
(
bean
.
normsE
stimatePurchasePrice
.
toFixed
(
2
));
//单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
val
((
rkNum
*
parseFloat
(
bean
.
normsE
stimatePurchasePrice
)).
toFixed
(
2
));
//金额
return
false
;
}
});
...
...
erp-produce/src/main/resources/template/js/erpPick/erpReturnEdit.js
浏览文件 @
814a6f82
...
...
@@ -75,8 +75,8 @@ layui.config({
if
(
thisRowValue
==
bean
.
id
){
//获取规格
//获取当前行数量
var
rkNum
=
parseInt
(
$
(
"
#rkNum
"
+
thisRowNum
).
val
());
$
(
"
#unitPrice
"
+
thisRowNum
).
val
(
bean
.
e
stimatePurchasePrice
.
toFixed
(
2
));
//单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
val
((
rkNum
*
parseFloat
(
bean
.
e
stimatePurchasePrice
)).
toFixed
(
2
));
//金额
$
(
"
#unitPrice
"
+
thisRowNum
).
val
(
bean
.
normsE
stimatePurchasePrice
.
toFixed
(
2
));
//单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
val
((
rkNum
*
parseFloat
(
bean
.
normsE
stimatePurchasePrice
)).
toFixed
(
2
));
//金额
return
false
;
}
});
...
...
erp-produce/src/main/resources/template/js/erpProduction/erpProductionEdit.js
浏览文件 @
814a6f82
...
...
@@ -186,7 +186,7 @@ layui.config({
normsId
:
item
.
normsId
,
number
:
$
(
"
#proposal
"
+
item
.
materialId
).
val
(),
unitNumber
:
item
.
needNum
,
unitPrice
:
item
.
normsPurchasePrice
unitPrice
:
item
.
norms
Estimate
PurchasePrice
});
});
//子件清单信息
...
...
erp-produce/src/main/resources/template/tpl/erpBom/erpBomDetail.html
浏览文件 @
814a6f82
...
...
@@ -56,19 +56,19 @@
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
商品名称
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
materialName
}}
{{
normMation
.
materialName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
商品型号
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
materialModel
}}
{{
normMation
.
materialModel
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
计量单位
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
unitName
}}
{{
normMation
.
unitName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
...
...
@@ -133,6 +133,7 @@
<!-- 表格行 -->
<script
type=
"text/html"
id=
"tableBody"
>
<
div
class
=
"
diy
"
style
=
"
width: 13%
"
>
{{
productName
}}
<
/div
>
<
div
class
=
"
diy
"
style
=
"
width: 13%
"
>
{{
productModel
}}
<
/div
>
<
div
class
=
"
diy
"
style
=
"
width: 6%
"
>
{{
unitName
}}
<
/div
>
<
div
class
=
"
diy procedureBox
"
style
=
"
width: 15%
"
id
=
"
procedureBox{{productId}}
"
...
...
erp-produce/src/main/resources/template/tpl/erpMachin/erpMachinDetails.html
浏览文件 @
814a6f82
...
...
@@ -52,7 +52,7 @@
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
加工商品
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
materialName
}}
{{
normMation
.
materialName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
...
...
@@ -64,13 +64,13 @@
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
商品型号
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
materialModel
}}
{{
normMation
.
materialModel
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
计量单位
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
unitName
}}
{{
normMation
.
unitName
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
...
...
erp/src/main/resources/template/js/allocation/allocationadd.js
浏览文件 @
814a6f82
...
...
@@ -57,7 +57,7 @@ layui.config({
matchingLanguage
();
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
e
stimatePurchasePrice
"
,
calculatedTotalPrice
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsE
stimatePurchasePrice
"
,
calculatedTotalPrice
);
// 调出仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/allocation/allocationedit.js
浏览文件 @
814a6f82
...
...
@@ -109,7 +109,7 @@ layui.config({
}
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
e
stimatePurchasePrice
"
,
calculatedTotalPrice
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsE
stimatePurchasePrice
"
,
calculatedTotalPrice
);
// 调出仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/assemblysheet/assemblysheetadd.js
浏览文件 @
814a6f82
...
...
@@ -56,7 +56,7 @@ layui.config({
matchingLanguage
();
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
e
stimatePurchasePrice
"
,
calculatedTotalPrice
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsE
stimatePurchasePrice
"
,
calculatedTotalPrice
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/assemblysheet/assemblysheetedit.js
浏览文件 @
814a6f82
...
...
@@ -109,7 +109,7 @@ layui.config({
}
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
e
stimatePurchasePrice
"
,
calculatedTotalPrice
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsE
stimatePurchasePrice
"
,
calculatedTotalPrice
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/material/materialChooseToProduce.js
浏览文件 @
814a6f82
...
...
@@ -258,7 +258,7 @@ layui.config({
}
});
if
(
proIndex
>=
0
&&
normsIndex
>=
0
){
return
productMationList
[
proIndex
].
unitList
[
normsIndex
].
e
stimatePurchasePrice
;
return
productMationList
[
proIndex
].
unitList
[
normsIndex
].
normsE
stimatePurchasePrice
;
}
else
{
return
new
Array
();
}
...
...
erp/src/main/resources/template/js/otheroutlets/otheroutletsadd.js
浏览文件 @
814a6f82
...
...
@@ -79,7 +79,7 @@ layui.config({
matchingLanguage
();
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
s
alePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsS
alePrice
"
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/otheroutlets/otheroutletsedit.js
浏览文件 @
814a6f82
...
...
@@ -143,7 +143,7 @@ layui.config({
}
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
e
stimatePurchasePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsE
stimatePurchasePrice
"
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/otherwarehous/otherwarehousadd.js
浏览文件 @
814a6f82
...
...
@@ -79,7 +79,7 @@ layui.config({
matchingLanguage
();
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
e
stimatePurchasePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsE
stimatePurchasePrice
"
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/otherwarehous/otherwarehousedit.js
浏览文件 @
814a6f82
...
...
@@ -139,7 +139,7 @@ layui.config({
}
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
e
stimatePurchasePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsE
stimatePurchasePrice
"
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/purchaseorder/purchaseorderadd.js
浏览文件 @
814a6f82
...
...
@@ -79,7 +79,7 @@ layui.config({
matchingLanguage
();
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
e
stimatePurchasePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsE
stimatePurchasePrice
"
);
// 保存为草稿
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/purchaseorder/purchaseorderedit.js
浏览文件 @
814a6f82
...
...
@@ -143,7 +143,7 @@ layui.config({
}
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
e
stimatePurchasePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsE
stimatePurchasePrice
"
);
// 保存为草稿
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/purchaseorder/purchaseorderpurchase.js
浏览文件 @
814a6f82
...
...
@@ -184,7 +184,7 @@ layui.config({
}
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
e
stimatePurchasePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsE
stimatePurchasePrice
"
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/purchaseput/purchaseputadd.js
浏览文件 @
814a6f82
...
...
@@ -101,7 +101,7 @@ layui.config({
matchingLanguage
();
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
e
stimatePurchasePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsE
stimatePurchasePrice
"
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/purchaseput/purchaseputedit.js
浏览文件 @
814a6f82
...
...
@@ -176,7 +176,7 @@ layui.config({
}
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
e
stimatePurchasePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsE
stimatePurchasePrice
"
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/purchasereturns/purchasereturnsadd.js
浏览文件 @
814a6f82
...
...
@@ -104,7 +104,7 @@ layui.config({
matchingLanguage
();
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
e
stimatePurchasePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsE
stimatePurchasePrice
"
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/purchasereturns/purchasereturnsedit.js
浏览文件 @
814a6f82
...
...
@@ -176,7 +176,7 @@ layui.config({
}
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
e
stimatePurchasePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsE
stimatePurchasePrice
"
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/retailoutlet/retailoutletadd.js
浏览文件 @
814a6f82
...
...
@@ -71,7 +71,7 @@ layui.config({
matchingLanguage
();
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
r
etailPrice
"
,
calculatedTotalPrice
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsR
etailPrice
"
,
calculatedTotalPrice
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/retailoutlet/retailoutletedit.js
浏览文件 @
814a6f82
...
...
@@ -139,7 +139,7 @@ layui.config({
}
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
r
etailPrice
"
,
calculatedTotalPrice
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsR
etailPrice
"
,
calculatedTotalPrice
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/retailreturns/retailreturnsadd.js
浏览文件 @
814a6f82
...
...
@@ -71,7 +71,7 @@ layui.config({
matchingLanguage
();
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
r
etailPrice
"
,
calculatedTotalPrice
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsR
etailPrice
"
,
calculatedTotalPrice
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/retailreturns/retailreturnsedit.js
浏览文件 @
814a6f82
...
...
@@ -139,7 +139,7 @@ layui.config({
}
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
r
etailPrice
"
,
calculatedTotalPrice
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsR
etailPrice
"
,
calculatedTotalPrice
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/salesorder/salesorderadd.js
浏览文件 @
814a6f82
...
...
@@ -100,7 +100,7 @@ layui.config({
matchingLanguage
();
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
s
alePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsS
alePrice
"
);
// 保存为草稿
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/salesorder/salesorderedit.js
浏览文件 @
814a6f82
...
...
@@ -192,7 +192,7 @@ layui.config({
}
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
s
alePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsS
alePrice
"
);
// 保存为草稿
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/salesorder/salesorderpurchase.js
浏览文件 @
814a6f82
...
...
@@ -203,7 +203,7 @@ layui.config({
}
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
s
alePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsS
alePrice
"
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/salesoutlet/salesoutletadd.js
浏览文件 @
814a6f82
...
...
@@ -108,7 +108,7 @@ layui.config({
matchingLanguage
();
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
s
alePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsS
alePrice
"
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/salesoutlet/salesoutletedit.js
浏览文件 @
814a6f82
...
...
@@ -196,7 +196,7 @@ layui.config({
}
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
s
alePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsS
alePrice
"
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/salesreturns/salesreturnsadd.js
浏览文件 @
814a6f82
...
...
@@ -110,7 +110,7 @@ layui.config({
matchingLanguage
();
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
s
alePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsS
alePrice
"
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/salesreturns/salesreturnsedit.js
浏览文件 @
814a6f82
...
...
@@ -193,7 +193,7 @@ layui.config({
}
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
s
alePrice
"
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsS
alePrice
"
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/splitlist/splitlistadd.js
浏览文件 @
814a6f82
...
...
@@ -56,7 +56,7 @@ layui.config({
matchingLanguage
();
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
e
stimatePurchasePrice
"
,
calculatedTotalPrice
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsE
stimatePurchasePrice
"
,
calculatedTotalPrice
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
erp/src/main/resources/template/js/splitlist/splitlistedit.js
浏览文件 @
814a6f82
...
...
@@ -110,7 +110,7 @@ layui.config({
}
// 商品规格加载变化事件
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
e
stimatePurchasePrice
"
,
calculatedTotalPrice
);
mUnitChangeEvent
(
form
,
allChooseProduct
,
"
normsE
stimatePurchasePrice
"
,
calculatedTotalPrice
);
// 仓库变化事件
form
.
on
(
'
select(depotId)
'
,
function
(
data
)
{
...
...
seal-service/src/main/resources/template/js/partsclaim/partsclaimadd.js
浏览文件 @
814a6f82
...
...
@@ -53,8 +53,8 @@ layui.config({
if
(
thisRowValue
==
bean
.
id
){
// 获取规格
// 获取当前行数量
var
rkNum
=
parseInt
(
$
(
"
#rkNum
"
+
thisRowNum
).
val
());
$
(
"
#unitPrice
"
+
thisRowNum
).
html
(
bean
.
r
etailPrice
.
toFixed
(
2
));
// 单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
html
((
rkNum
*
parseFloat
(
bean
.
r
etailPrice
)).
toFixed
(
2
));
// 金额
$
(
"
#unitPrice
"
+
thisRowNum
).
html
(
bean
.
normsR
etailPrice
.
toFixed
(
2
));
// 单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
html
((
rkNum
*
parseFloat
(
bean
.
normsR
etailPrice
)).
toFixed
(
2
));
// 金额
return
false
;
}
});
...
...
seal-service/src/main/resources/template/js/partsclaim/partsclaimedit.js
浏览文件 @
814a6f82
...
...
@@ -111,8 +111,8 @@ layui.config({
if
(
thisRowValue
==
bean
.
id
){
// 获取规格
// 获取当前行数量
var
rkNum
=
parseInt
(
$
(
"
#rkNum
"
+
thisRowNum
).
val
());
$
(
"
#unitPrice
"
+
thisRowNum
).
html
(
bean
.
r
etailPrice
.
toFixed
(
2
));
// 单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
html
((
rkNum
*
parseFloat
(
bean
.
r
etailPrice
)).
toFixed
(
2
));
// 金额
$
(
"
#unitPrice
"
+
thisRowNum
).
html
(
bean
.
normsR
etailPrice
.
toFixed
(
2
));
// 单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
html
((
rkNum
*
parseFloat
(
bean
.
normsR
etailPrice
)).
toFixed
(
2
));
// 金额
return
false
;
}
});
...
...
seal-service/src/main/resources/template/js/stateisstayfinishedpro/stateisstayfinished.js
浏览文件 @
814a6f82
...
...
@@ -66,8 +66,8 @@ layui.config({
if
(
thisRowValue
==
bean
.
id
){
// 获取规格
// 获取当前行数量
var
rkNum
=
parseInt
(
$
(
"
#rkNum
"
+
thisRowNum
).
val
());
$
(
"
#unitPrice
"
+
thisRowNum
).
html
(
bean
.
r
etailPrice
.
toFixed
(
2
));
// 单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
html
((
rkNum
*
parseFloat
(
bean
.
r
etailPrice
)).
toFixed
(
2
));
// 金额
$
(
"
#unitPrice
"
+
thisRowNum
).
html
(
bean
.
normsR
etailPrice
.
toFixed
(
2
));
// 单价
$
(
"
#amountOfMoney
"
+
thisRowNum
).
html
((
rkNum
*
parseFloat
(
bean
.
normsR
etailPrice
)).
toFixed
(
2
));
// 金额
return
false
;
}
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录