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
2ca4e0fb
Commit
2ca4e0fb
authored
Dec 22, 2023
by
覃振观
👶
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
888 js BUG
parent
9fa1499a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
160 additions
and
89 deletions
+160
-89
productDetail.js
...un-xt/src/main/webapp/biz/topsun/product/productDetail.js
+8
-7
productDetail.jsp
...n-xt/src/main/webapp/biz/topsun/product/productDetail.jsp
+143
-82
easy-search-product.xml
...sources/config/content/easysearch/easy-search-product.xml
+9
-0
No files found.
topsun-xt/src/main/webapp/biz/topsun/product/productDetail.js
View file @
2ca4e0fb
...
...
@@ -3,7 +3,7 @@ $(document).ready(function() {
initializeUI
();
initializeToobarContainer
();
initializeTab
();
//
initializateSelectC();
initializateSelectC
();
// runObserver();
});
...
...
@@ -19,10 +19,11 @@ function initializeTab() {
}
function
initializateSelectC
()
{
$
(
'#
productId
'
).
searchbox
({
$
(
'#
selectedCategory
'
).
searchbox
({
type
:
"product"
,
name
:
"productCode"
,
name
:
"productCode
2
"
,
onChange
:
function
(
value
,
data
)
{
$
(
'#selectedCategory'
).
val
(
data
.
productCategoryName
)
}
});
}
...
...
@@ -35,8 +36,6 @@ function initializeUI() {
allowRightCollapse
:
false
,
allowRightResize
:
false
});
var
gm
=
UICtrl
.
getGridManager
(
"#layout"
);
UICtrl
.
onGridResize
(
gm
);
}
function
deleteHandler
(){
...
...
@@ -105,12 +104,14 @@ function loadDataTest() {
// Grid: 需要监听 Grid Data 时,必须设置 唯一 id 列。
var
dataMapping
=
{
Product
:
[
"productId"
,
"brandName"
,
"productCategoryId"
,
"productUnit"
,
"productSizeGroupId"
,
"confirmDate"
,
"comfirmPerson"
"productId"
,
"brandName"
,
"productCategoryId"
,
"productUnit"
,
"productSizeGroupId"
,
"isOnlyCode"
,
"isBodyColor"
,
"isDisable"
,
"isBuildBom"
,
"confirmDate"
,
"comfirmPerson"
,
"isFreeInspection"
,
"isNoQualityLoss"
,
"sampleOrderNo"
,
"stockNo"
,
"fileNo"
,
"brandName"
],
ProductDetail
:
[
{
"factoryName"
:
"factoryName"
},
"productLayout"
,
"materialCode"
,
"productCode"
,
"productEnCode"
,
"bodyColor"
,
"customerMaterialCode"
,
"versionNo"
,
"isNewSpecification"
,
"specificationNo"
,
"customerMaterialCode"
,
"versionNo"
,
"isNewSpecification"
,
"specificationNo"
,
"productSubstrate"
],
ProductLooked
:
[
"productLength"
,
"productWidth"
,
"productHeight"
,
"productThick"
,
"productWeight"
,
"productAngleType"
,
"productAngle"
...
...
topsun-xt/src/main/webapp/biz/topsun/product/productDetail.jsp
View file @
2ca4e0fb
This diff is collapsed.
Click to expand it.
topsun/src/main/resources/config/content/easysearch/easy-search-product.xml
View file @
2ca4e0fb
...
...
@@ -16,6 +16,15 @@
</easy-search>
<easy-search
name=
"productCode2"
desc=
"产品"
>
<sql>
select t.product_category_id, t.product_category_name from product_category t
</sql>
<field
name=
"类型ID"
title=
"类型ID"
code=
"productCategoryId"
width=
"200"
/>
<field
name=
"产品名称"
title=
"产品名称"
code=
"productCategoryName"
width=
"200"
/>
</easy-search>
<easy-search
name=
"productS"
desc=
"产品"
>
<sql>
select pa.product_id,pm.proofing_make_no
...
...
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