Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
0e91d84c
"jshERP-web/src/git@ustchcs.com:gujinli1118/JSH_ERP.git" did not exist on "3cce61240da1e8d9a90ffada1121e49f44e2e68b"
Commit
0e91d84c
authored
Dec 28, 2020
by
季圣华
Browse files
优化单据的查询条件
parent
d1fa8075
Changes
14
Show whitespace changes
Inline
Side-by-side
erp_web/pages/bill/allocation_out_list.html
View file @
0e91d84c
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"control-label"
>
商品信息:
</label>
<label
class=
"control-label"
>
商品信息:
</label>
<div
class=
"control-inline"
>
<div
class=
"control-inline"
>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
placeholder=
"名称,
型号"
maxlength=
"100"
class=
"easyui-textbox width-
9
0"
/>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
data-options=
"prompt:'名称、规格、
型号
'
"
maxlength=
"100"
class=
"easyui-textbox width-
12
0"
/>
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
...
erp_web/pages/bill/assemble_list.html
View file @
0e91d84c
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"control-label"
>
商品信息:
</label>
<label
class=
"control-label"
>
商品信息:
</label>
<div
class=
"control-inline"
>
<div
class=
"control-inline"
>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
placeholder=
"名称,
型号"
maxlength=
"100"
class=
"easyui-textbox width-
9
0"
/>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
data-options=
"prompt:'名称、规格、
型号
'
"
maxlength=
"100"
class=
"easyui-textbox width-
12
0"
/>
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
...
erp_web/pages/bill/disassemble_list.html
View file @
0e91d84c
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"control-label"
>
商品信息:
</label>
<label
class=
"control-label"
>
商品信息:
</label>
<div
class=
"control-inline"
>
<div
class=
"control-inline"
>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
placeholder=
"名称,
型号"
maxlength=
"100"
class=
"easyui-textbox width-
9
0"
/>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
data-options=
"prompt:'名称、规格、
型号
'
"
maxlength=
"100"
class=
"easyui-textbox width-
12
0"
/>
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
...
erp_web/pages/bill/other_in_list.html
View file @
0e91d84c
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"control-label"
>
商品信息:
</label>
<label
class=
"control-label"
>
商品信息:
</label>
<div
class=
"control-inline"
>
<div
class=
"control-inline"
>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
placeholder=
"名称,
型号"
maxlength=
"100"
class=
"easyui-textbox width-
9
0"
/>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
data-options=
"prompt:'名称、规格、
型号
'
"
maxlength=
"100"
class=
"easyui-textbox width-
12
0"
/>
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
...
erp_web/pages/bill/other_out_list.html
View file @
0e91d84c
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"control-label"
>
商品信息:
</label>
<label
class=
"control-label"
>
商品信息:
</label>
<div
class=
"control-inline"
>
<div
class=
"control-inline"
>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
placeholder=
"名称,
型号"
maxlength=
"100"
class=
"easyui-textbox width-
9
0"
/>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
data-options=
"prompt:'名称、规格、
型号
'
"
maxlength=
"100"
class=
"easyui-textbox width-
12
0"
/>
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
...
erp_web/pages/bill/purchase_back_list.html
View file @
0e91d84c
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"control-label"
>
商品信息:
</label>
<label
class=
"control-label"
>
商品信息:
</label>
<div
class=
"control-inline"
>
<div
class=
"control-inline"
>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
placeholder=
"名称,
型号"
maxlength=
"100"
class=
"easyui-textbox width-
9
0"
/>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
data-options=
"prompt:'名称、规格、
型号
'
"
maxlength=
"100"
class=
"easyui-textbox width-
12
0"
/>
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
...
erp_web/pages/bill/purchase_in_list.html
View file @
0e91d84c
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"control-label"
>
商品信息:
</label>
<label
class=
"control-label"
>
商品信息:
</label>
<div
class=
"control-inline"
>
<div
class=
"control-inline"
>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
placeholder=
"名称,
型号"
maxlength=
"100"
class=
"easyui-textbox width-
9
0"
/>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
data-options=
"prompt:'名称、规格、
型号
'
"
maxlength=
"100"
class=
"easyui-textbox width-
12
0"
/>
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
...
erp_web/pages/bill/purchase_orders_list.html
View file @
0e91d84c
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"control-label"
>
商品信息:
</label>
<label
class=
"control-label"
>
商品信息:
</label>
<div
class=
"control-inline"
>
<div
class=
"control-inline"
>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
placeholder=
"名称,
型号"
maxlength=
"100"
class=
"easyui-textbox width-
9
0"
/>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
data-options=
"prompt:'名称、规格、
型号
'
"
maxlength=
"100"
class=
"easyui-textbox width-
12
0"
/>
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
...
erp_web/pages/bill/retail_back_list.html
View file @
0e91d84c
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"control-label"
>
商品信息:
</label>
<label
class=
"control-label"
>
商品信息:
</label>
<div
class=
"control-inline"
>
<div
class=
"control-inline"
>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
placeholder=
"名称,
型号"
maxlength=
"100"
class=
"easyui-textbox width-
9
0"
/>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
data-options=
"prompt:'名称、规格、
型号
'
"
maxlength=
"100"
class=
"easyui-textbox width-
12
0"
/>
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
...
erp_web/pages/bill/retail_out_list.html
View file @
0e91d84c
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"control-label"
>
商品信息:
</label>
<label
class=
"control-label"
>
商品信息:
</label>
<div
class=
"control-inline"
>
<div
class=
"control-inline"
>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
placeholder=
"名称,
型号"
maxlength=
"100"
class=
"easyui-textbox width-
9
0"
/>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
data-options=
"prompt:'名称、规格、
型号
'
"
maxlength=
"100"
class=
"easyui-textbox width-
12
0"
/>
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
...
erp_web/pages/bill/sale_back_list.html
View file @
0e91d84c
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"control-label"
>
商品信息:
</label>
<label
class=
"control-label"
>
商品信息:
</label>
<div
class=
"control-inline"
>
<div
class=
"control-inline"
>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
placeholder=
"名称,
型号"
maxlength=
"100"
class=
"easyui-textbox width-
9
0"
/>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
data-options=
"prompt:'名称、规格、
型号
'
"
maxlength=
"100"
class=
"easyui-textbox width-
12
0"
/>
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
...
erp_web/pages/bill/sale_orders_list.html
View file @
0e91d84c
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"control-label"
>
商品信息:
</label>
<label
class=
"control-label"
>
商品信息:
</label>
<div
class=
"control-inline"
>
<div
class=
"control-inline"
>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
placeholder=
"名称,
型号"
maxlength=
"100"
class=
"easyui-textbox width-
9
0"
/>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
data-options=
"prompt:'名称、规格、
型号
'
"
maxlength=
"100"
class=
"easyui-textbox width-
12
0"
/>
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
...
erp_web/pages/bill/sale_out_list.html
View file @
0e91d84c
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"control-label"
>
商品信息:
</label>
<label
class=
"control-label"
>
商品信息:
</label>
<div
class=
"control-inline"
>
<div
class=
"control-inline"
>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
placeholder=
"名称,
型号"
maxlength=
"100"
class=
"easyui-textbox width-
9
0"
/>
<input
type=
"text"
id=
"searchMaterial"
name=
"searchMaterial"
data-options=
"prompt:'名称、规格、
型号
'
"
maxlength=
"100"
class=
"easyui-textbox width-
12
0"
/>
</div>
</div>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
...
src/main/resources/mapper_xml/DepotHeadMapperEx.xml
View file @
0e91d84c
...
@@ -69,8 +69,9 @@
...
@@ -69,8 +69,9 @@
<if
test=
"endTime != null"
>
<if
test=
"endTime != null"
>
and dh.oper_time
<
= '${endTime}'
and dh.oper_time
<
= '${endTime}'
</if>
</if>
<if
test=
"materialParam != null"
>
<if
test=
"materialParam != null and materialParam !=''"
>
and (m.`Name` like '%${materialParam}%' or m.Model like '%${materialParam}%')
<bind
name=
"bindKey"
value=
"'%'+materialParam+'%'"
/>
and (m.name like #{bindKey} or m.standard like #{bindKey} or m.model like #{bindKey})
</if>
</if>
<if
test=
"depotIds != null"
>
<if
test=
"depotIds != null"
>
and di.depot_id in (${depotIds})
and di.depot_id in (${depotIds})
...
@@ -113,8 +114,9 @@
...
@@ -113,8 +114,9 @@
<if
test=
"endTime != null"
>
<if
test=
"endTime != null"
>
and dh.oper_time
<
= '${endTime}'
and dh.oper_time
<
= '${endTime}'
</if>
</if>
<if
test=
"materialParam != null"
>
<if
test=
"materialParam != null and materialParam !=''"
>
and (m.`Name` like '%${materialParam}%' or m.Model like '%${materialParam}%')
<bind
name=
"bindKey"
value=
"'%'+materialParam+'%'"
/>
and (m.name like #{bindKey} or m.standard like #{bindKey} or m.model like #{bindKey})
</if>
</if>
<if
test=
"depotIds != null"
>
<if
test=
"depotIds != null"
>
and di.depot_id in (${depotIds})
and di.depot_id in (${depotIds})
...
@@ -130,7 +132,7 @@
...
@@ -130,7 +132,7 @@
</select>
</select>
<select
id=
"findMaterialsListByHeaderId"
resultType=
"java.lang.String"
>
<select
id=
"findMaterialsListByHeaderId"
resultType=
"java.lang.String"
>
select group_concat(concat(jsh_material.
`N
ame
`
,' ',jsh_material.
M
odel)) as mName
select group_concat(concat(jsh_material.
n
ame,' ',jsh_material.
standard,' ',jsh_material.m
odel)) as mName
from jsh_depot_item
from jsh_depot_item
inner join jsh_material on jsh_depot_item.material_id = jsh_material.Id and ifnull(jsh_material.delete_Flag,'0') !='1'
inner join jsh_material on jsh_depot_item.material_id = jsh_material.Id and ifnull(jsh_material.delete_Flag,'0') !='1'
where jsh_depot_item.header_id = ${id}
where jsh_depot_item.header_id = ${id}
...
...
Write
Preview
Supports
Markdown
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