Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
鲁鑫
topsun-bpm
Commits
b02a52a3
Commit
b02a52a3
authored
Nov 21, 2024
by
1650842865
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工序报价备注字段取消必填;工序外协带出单位;品质异常报告中原材料异常取消客户相关必填,通过采购单号筛选出物料信息
parent
5273b3c7
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
12 deletions
+35
-12
exceptionReportDetail.js
...p/biz/topsun/sap/exceptionReport/exceptionReportDetail.js
+13
-11
processOutsourceDetail.js
...biz/topsun/sap/processOutsource/processOutsourceDetail.js
+2
-0
processQuotedPriceDetail.jsp
...opsun/sap/processQuotedPrice/processQuotedPriceDetail.jsp
+1
-1
easy-search-material.xml
...ources/config/content/easysearch/easy-search-material.xml
+19
-0
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/exceptionReport/exceptionReportDetail.js
View file @
b02a52a3
...
...
@@ -164,9 +164,9 @@ function showPurchaseDiv() {
}
function
setPurchaseMustInput
(
flag
)
{
UICtrl
.
setElRequiredFlag
(
"#customerNamePur"
,
flag
);
UICtrl
.
setElRequiredFlag
(
"#customerOrderNoPur"
,
flag
);
UICtrl
.
setElRequiredFlag
(
"#brandName"
,
flag
);
//
UICtrl.setElRequiredFlag("#customerNamePur", flag);
//
UICtrl.setElRequiredFlag("#customerOrderNoPur", flag);
//
UICtrl.setElRequiredFlag("#brandName", flag);
UICtrl
.
setElHideOrShow
(
"#loseMoney"
,
true
);
...
...
@@ -809,19 +809,21 @@ function getPurchaseGridColumns() {
,
editor
:
{
required
:
true
,
type
:
"select"
,
data
:
{
type
:
'
system
'
,
name
:
"s
apMaterialSelect
"
,
type
:
'
material
'
,
name
:
"s
electMaterialsByPurchaseOrder
"
,
getParam
:
function
(
item
)
{
return
{
// filterValue:item.company
ebeln
:
item
.
produceNo
}
},
back
:
{
MATNR
:
"productCode"
,
MAKTX
:
"productName"
,
// EKGRP: "ekgrp",
MEINS
:
"unit"
,
MSEHL
:
"unitName"
matnr
:
"productCode"
,
txz01
:
"productName"
,
menge
:
"number"
,
meins
:
"unit"
,
msehl
:
"unitName"
,
waers
:
"currency"
,
name
:
"currencyName"
,
}
}
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/processOutsource/processOutsourceDetail.js
View file @
b02a52a3
...
...
@@ -127,6 +127,8 @@ function getOrderColumns(){
MAKTX
:
"productName"
,
MTART
:
"productType"
,
MTBEZ
:
"productTypeName"
,
MSEH3
:
"meins"
,
MSEHL
:
"meinsName"
,
}
}
}
...
...
topsun-xt/src/main/webapp/biz/topsun/sap/processQuotedPrice/processQuotedPriceDetail.jsp
View file @
b02a52a3
...
...
@@ -36,7 +36,7 @@
<x:inputC
name=
"currencyName"
label=
"币别"
labelCol=
"1"
fieldCol=
"2"
required=
"true"
wrapper=
"select"
/>
</div>
<div
class=
"hg-form-row"
>
<x:textareaC
name=
"remark"
label=
"备注"
labelCol=
"1"
fieldCol=
"11"
required=
"
tru
e"
rows=
"3"
/>
<x:textareaC
name=
"remark"
label=
"备注"
labelCol=
"1"
fieldCol=
"11"
required=
"
fals
e"
rows=
"3"
/>
</div>
</div>
<div
class=
"blank_div clearfix"
></div>
...
...
topsun/src/main/resources/config/content/easysearch/easy-search-material.xml
View file @
b02a52a3
...
...
@@ -192,4 +192,23 @@
<condition
column=
"mtart"
name=
"mtart"
symbol=
"="
alias=
"t"
/>
<condition
column=
"matkl"
name=
"matkl"
symbol=
"="
alias=
"t"
/>
</easy-search>
<easy-search
name=
"selectMaterialsByPurchaseOrder"
desc=
"通过采购订单查询物料"
>
<sql>
SELECT oi.matnr, oi.txz01, oi.menge, oi.meins, oi.msehl, o.waers,d.`name`,o.ebeln
FROM sap_purchase_order_item oi
LEFT JOIN sap_purchase_order o ON o.id = oi.purchase_order_id
LEFT JOIN ( SELECT dd.`NAME`, dd.`VALUE` FROM sa_dictionarydetail dd
LEFT JOIN sa_dictionary d ON d.id = dd.DICTIONARY_ID
WHERE d.`CODE` = 'currency' ) d ON d.`VALUE`= o.WAERS where 1=1
</sql>
<field
name=
"物料编码"
title=
"物料编码"
code=
"matnr"
width=
"200"
/>
<field
name=
"物料名称"
title=
"物料名称"
code=
"txz01"
width=
"400"
/>
<field
name=
"订单数量"
title=
"订单数量"
code=
"menge"
width=
"100"
/>
<field
name=
"单位"
title=
"单位"
code=
"meins"
width=
"100"
/>
<field
name=
"单位描述"
title=
"单位描述"
code=
"msehl"
width=
"100"
/>
<field
name=
"币别"
title=
"币别"
code=
"waers"
width=
"100"
/>
<field
name=
"币别描述"
title=
"币别描述"
code=
"name"
width=
"100"
/>
<condition
column=
"ebeln"
name=
"ebeln"
symbol=
"="
alias=
"o"
/>
</easy-search>
</easy-search-mappings>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment