Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
Overview
Overview
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
platform
hp-smart
Commits
80620a6b
Commit
80620a6b
authored
Jan 25, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购订单;
parent
55d67351
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
109 additions
and
38 deletions
+109
-38
HPSqlConstant.java
...ain/java/com/baosight/hpjx/hp/constant/HPSqlConstant.java
+2
-0
HPKC001.java
src/main/java/com/baosight/hpjx/hp/kc/domain/HPKC001.java
+26
-1
ServiceHPKC001.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC001.java
+0
-0
HPKC001.xml
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC001.xml
+3
-1
HPKCTools.java
src/main/java/com/baosight/hpjx/hp/kc/tools/HPKCTools.java
+45
-4
HPKC001.js
src/main/webapp/HP/KC/HPKC001.js
+0
-0
HPKC001.jsp
src/main/webapp/HP/KC/HPKC001.jsp
+33
-32
No files found.
src/main/java/com/baosight/hpjx/hp/constant/HPSqlConstant.java
View file @
80620a6b
...
@@ -16,6 +16,8 @@ public class HPSqlConstant {
...
@@ -16,6 +16,8 @@ public class HPSqlConstant {
// 统计
// 统计
public
static
final
String
STAT_DATE
=
"HPKC001.statDate"
;
public
static
final
String
STAT_DATE
=
"HPKC001.statDate"
;
// 锁
public
static
final
String
LOCK
=
"HPKC001.lock"
;
}
}
/**
/**
...
...
src/main/java/com/baosight/hpjx/hp/kc/domain/HPKC001.java
View file @
80620a6b
...
@@ -34,6 +34,7 @@ public class HPKC001 extends DaoEPBase {
...
@@ -34,6 +34,7 @@ public class HPKC001 extends DaoEPBase {
public
static
final
String
FIELD_UPDATED_NAME
=
"updatedName"
;
/* 更新人名称*/
public
static
final
String
FIELD_UPDATED_NAME
=
"updatedName"
;
/* 更新人名称*/
public
static
final
String
FIELD_UPDATED_TIME
=
"updatedTime"
;
/* 更新时间*/
public
static
final
String
FIELD_UPDATED_TIME
=
"updatedTime"
;
/* 更新时间*/
public
static
final
String
FIELD_PURCHASE_CODE
=
"purchaseCode"
;
/* 采购单号*/
public
static
final
String
FIELD_PURCHASE_CODE
=
"purchaseCode"
;
/* 采购单号*/
public
static
final
String
FIELD_OLD_PURCHASE_CODE
=
"oldPurchaseCode"
;
/* 原采购单号*/
public
static
final
String
FIELD_RECEIPT_DATE
=
"receiptDate"
;
/* 单据日期*/
public
static
final
String
FIELD_RECEIPT_DATE
=
"receiptDate"
;
/* 单据日期*/
public
static
final
String
FIELD_WH_CODE
=
"whCode"
;
/* 仓库编码*/
public
static
final
String
FIELD_WH_CODE
=
"whCode"
;
/* 仓库编码*/
public
static
final
String
FIELD_WH_NAME
=
"whName"
;
/* 仓库名称*/
public
static
final
String
FIELD_WH_NAME
=
"whName"
;
/* 仓库名称*/
...
@@ -55,7 +56,7 @@ public class HPKC001 extends DaoEPBase {
...
@@ -55,7 +56,7 @@ public class HPKC001 extends DaoEPBase {
public
static
final
String
COL_UPDATED_BY
=
"UPDATED_BY"
;
/* 更新人*/
public
static
final
String
COL_UPDATED_BY
=
"UPDATED_BY"
;
/* 更新人*/
public
static
final
String
COL_UPDATED_NAME
=
"UPDATED_NAME"
;
/* 更新人名称*/
public
static
final
String
COL_UPDATED_NAME
=
"UPDATED_NAME"
;
/* 更新人名称*/
public
static
final
String
COL_UPDATED_TIME
=
"UPDATED_TIME"
;
/* 更新时间*/
public
static
final
String
COL_UPDATED_TIME
=
"UPDATED_TIME"
;
/* 更新时间*/
public
static
final
String
COL_
PURCHASE_CODE
=
"PURCHASE_CODE"
;
/*
采购单号*/
public
static
final
String
COL_
OLD_PURCHASE_CODE
=
"OLD_PURCHASE_CODE"
;
/* 原
采购单号*/
public
static
final
String
COL_RECEIPT_DATE
=
"RECEIPT_DATE"
;
/* 单据日期*/
public
static
final
String
COL_RECEIPT_DATE
=
"RECEIPT_DATE"
;
/* 单据日期*/
public
static
final
String
COL_WH_CODE
=
"WH_CODE"
;
/* 仓库编码*/
public
static
final
String
COL_WH_CODE
=
"WH_CODE"
;
/* 仓库编码*/
public
static
final
String
COL_WH_NAME
=
"WH_NAME"
;
/* 仓库名称*/
public
static
final
String
COL_WH_NAME
=
"WH_NAME"
;
/* 仓库名称*/
...
@@ -84,6 +85,7 @@ public class HPKC001 extends DaoEPBase {
...
@@ -84,6 +85,7 @@ public class HPKC001 extends DaoEPBase {
private
String
updatedName
=
" "
;
/* 更新人名称*/
private
String
updatedName
=
" "
;
/* 更新人名称*/
private
String
updatedTime
;
/* 更新时间*/
private
String
updatedTime
;
/* 更新时间*/
private
String
purchaseCode
=
" "
;
/* 采购单号*/
private
String
purchaseCode
=
" "
;
/* 采购单号*/
private
String
oldPurchaseCode
=
" "
;
/* 原采购单号*/
private
String
receiptDate
;
/* 单据日期*/
private
String
receiptDate
;
/* 单据日期*/
private
String
whCode
=
" "
;
/* 仓库编码*/
private
String
whCode
=
" "
;
/* 仓库编码*/
private
String
whName
=
" "
;
/* 仓库名称*/
private
String
whName
=
" "
;
/* 仓库名称*/
...
@@ -143,6 +145,10 @@ public class HPKC001 extends DaoEPBase {
...
@@ -143,6 +145,10 @@ public class HPKC001 extends DaoEPBase {
eiColumn
.
setDescName
(
"采购单号"
);
eiColumn
.
setDescName
(
"采购单号"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_OLD_PURCHASE_CODE
);
eiColumn
.
setDescName
(
"原采购单号"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_RECEIPT_DATE
);
eiColumn
=
new
EiColumn
(
FIELD_RECEIPT_DATE
);
eiColumn
.
setDescName
(
"单据日期"
);
eiColumn
.
setDescName
(
"单据日期"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
...
@@ -363,6 +369,23 @@ public class HPKC001 extends DaoEPBase {
...
@@ -363,6 +369,23 @@ public class HPKC001 extends DaoEPBase {
public
void
setPurchaseCode
(
String
purchaseCode
)
{
public
void
setPurchaseCode
(
String
purchaseCode
)
{
this
.
purchaseCode
=
purchaseCode
;
this
.
purchaseCode
=
purchaseCode
;
}
}
/**
* set the oldPurchaseCode - 原采购单号.
*
* @param oldPurchaseCode - 原采购单号
*/
public
void
setOldPurchaseCode
(
String
oldPurchaseCode
)
{
this
.
oldPurchaseCode
=
oldPurchaseCode
;
}
/**
* get the oldPurchaseCode - 原采购单号.
* @return the oldPurchaseCode
*/
public
String
getOldPurchaseCode
()
{
return
this
.
oldPurchaseCode
;
}
/**
/**
* get the receiptDate - 单据日期.
* get the receiptDate - 单据日期.
* @return the receiptDate
* @return the receiptDate
...
@@ -557,6 +580,7 @@ public class HPKC001 extends DaoEPBase {
...
@@ -557,6 +580,7 @@ public class HPKC001 extends DaoEPBase {
setUpdatedName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_NAME
)),
updatedName
));
setUpdatedName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_NAME
)),
updatedName
));
setUpdatedTime
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_TIME
)),
updatedTime
));
setUpdatedTime
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_TIME
)),
updatedTime
));
setPurchaseCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PURCHASE_CODE
)),
purchaseCode
));
setPurchaseCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PURCHASE_CODE
)),
purchaseCode
));
setOldPurchaseCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_OLD_PURCHASE_CODE
)),
oldPurchaseCode
));
setReceiptDate
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_RECEIPT_DATE
)),
receiptDate
));
setReceiptDate
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_RECEIPT_DATE
)),
receiptDate
));
setWhCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_WH_CODE
)),
whCode
));
setWhCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_WH_CODE
)),
whCode
));
setWhName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_WH_NAME
)),
whName
));
setWhName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_WH_NAME
)),
whName
));
...
@@ -587,6 +611,7 @@ public class HPKC001 extends DaoEPBase {
...
@@ -587,6 +611,7 @@ public class HPKC001 extends DaoEPBase {
map
.
put
(
FIELD_UPDATED_NAME
,
StringUtils
.
toString
(
updatedName
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_NAME
)));
map
.
put
(
FIELD_UPDATED_NAME
,
StringUtils
.
toString
(
updatedName
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_NAME
)));
map
.
put
(
FIELD_UPDATED_TIME
,
StringUtils
.
toString
(
updatedTime
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_TIME
)));
map
.
put
(
FIELD_UPDATED_TIME
,
StringUtils
.
toString
(
updatedTime
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_TIME
)));
map
.
put
(
FIELD_PURCHASE_CODE
,
StringUtils
.
toString
(
purchaseCode
,
eiMetadata
.
getMeta
(
FIELD_PURCHASE_CODE
)));
map
.
put
(
FIELD_PURCHASE_CODE
,
StringUtils
.
toString
(
purchaseCode
,
eiMetadata
.
getMeta
(
FIELD_PURCHASE_CODE
)));
map
.
put
(
FIELD_OLD_PURCHASE_CODE
,
StringUtils
.
toString
(
oldPurchaseCode
,
eiMetadata
.
getMeta
(
FIELD_OLD_PURCHASE_CODE
)));
map
.
put
(
FIELD_RECEIPT_DATE
,
StringUtils
.
toString
(
receiptDate
,
eiMetadata
.
getMeta
(
FIELD_RECEIPT_DATE
)));
map
.
put
(
FIELD_RECEIPT_DATE
,
StringUtils
.
toString
(
receiptDate
,
eiMetadata
.
getMeta
(
FIELD_RECEIPT_DATE
)));
map
.
put
(
FIELD_WH_CODE
,
StringUtils
.
toString
(
whCode
,
eiMetadata
.
getMeta
(
FIELD_WH_CODE
)));
map
.
put
(
FIELD_WH_CODE
,
StringUtils
.
toString
(
whCode
,
eiMetadata
.
getMeta
(
FIELD_WH_CODE
)));
map
.
put
(
FIELD_WH_NAME
,
StringUtils
.
toString
(
whName
,
eiMetadata
.
getMeta
(
FIELD_WH_NAME
)));
map
.
put
(
FIELD_WH_NAME
,
StringUtils
.
toString
(
whName
,
eiMetadata
.
getMeta
(
FIELD_WH_NAME
)));
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC001.java
View file @
80620a6b
This diff is collapsed.
Click to expand it.
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC001.xml
View file @
80620a6b
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
UPDATED_NAME as "updatedName",
<!-- 更新人名称 -->
UPDATED_NAME as "updatedName",
<!-- 更新人名称 -->
UPDATED_TIME as "updatedTime",
<!-- 更新时间 -->
UPDATED_TIME as "updatedTime",
<!-- 更新时间 -->
PURCHASE_CODE as "purchaseCode",
<!-- 采购单号 -->
PURCHASE_CODE as "purchaseCode",
<!-- 采购单号 -->
OLD_PURCHASE_CODE as "oldPurchaseCode",
<!-- 原采购单号 -->
RECEIPT_DATE as "receiptDate",
<!-- 单据日期 -->
RECEIPT_DATE as "receiptDate",
<!-- 单据日期 -->
WH_CODE as "whCode",
<!-- 仓库编码 -->
WH_CODE as "whCode",
<!-- 仓库编码 -->
WH_NAME as "whName",
<!-- 仓库名称 -->
WH_NAME as "whName",
<!-- 仓库名称 -->
...
@@ -123,6 +124,7 @@
...
@@ -123,6 +124,7 @@
CREATED_NAME,
<!-- 创建人名称 -->
CREATED_NAME,
<!-- 创建人名称 -->
CREATED_TIME,
<!-- 创建时间 -->
CREATED_TIME,
<!-- 创建时间 -->
PURCHASE_CODE,
<!-- 采购单号 -->
PURCHASE_CODE,
<!-- 采购单号 -->
OLD_PURCHASE_CODE,
<!-- 原采购单号 -->
RECEIPT_DATE,
<!-- 单据日期 -->
RECEIPT_DATE,
<!-- 单据日期 -->
WH_CODE,
<!-- 仓库编码 -->
WH_CODE,
<!-- 仓库编码 -->
WH_NAME,
<!-- 仓库名称 -->
WH_NAME,
<!-- 仓库名称 -->
...
@@ -136,7 +138,7 @@
...
@@ -136,7 +138,7 @@
DELETE_FLAG
<!-- 是否删除0.否1.是 -->
DELETE_FLAG
<!-- 是否删除0.否1.是 -->
) VALUES (
) VALUES (
#companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#,
#companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#,
#purchaseCode#, #receiptDate#, #whCode#, #whName#, #inventType#,
#
oldPurchaseCode#,#
purchaseCode#, #receiptDate#, #whCode#, #whName#, #inventType#,
#inventCode#, #inventName#, #inventRecordId#, #amount#, #weight#,
#inventCode#, #inventName#, #inventRecordId#, #amount#, #weight#,
#remarks#, #deleteFlag#
#remarks#, #deleteFlag#
)
)
...
...
src/main/java/com/baosight/hpjx/hp/kc/tools/HPKCTools.java
View file @
80620a6b
...
@@ -2,10 +2,7 @@ package com.baosight.hpjx.hp.kc.tools;
...
@@ -2,10 +2,7 @@ package com.baosight.hpjx.hp.kc.tools;
import
com.baosight.hpjx.core.dao.DaoBase
;
import
com.baosight.hpjx.core.dao.DaoBase
;
import
com.baosight.hpjx.hp.constant.HPSqlConstant
;
import
com.baosight.hpjx.hp.constant.HPSqlConstant
;
import
com.baosight.hpjx.hp.kc.domain.HPKC005
;
import
com.baosight.hpjx.hp.kc.domain.*
;
import
com.baosight.hpjx.hp.kc.domain.HPKC006
;
import
com.baosight.hpjx.hp.kc.domain.HPKC007
;
import
com.baosight.hpjx.hp.kc.domain.HPKC010
;
import
com.baosight.iplat4j.core.ei.EiConstant
;
import
com.baosight.iplat4j.core.ei.EiConstant
;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.exception.PlatException
;
import
com.baosight.iplat4j.core.exception.PlatException
;
...
@@ -67,6 +64,50 @@ public class HPKCTools {
...
@@ -67,6 +64,50 @@ public class HPKCTools {
}
}
return
results
.
stream
().
collect
(
Collectors
.
toMap
(
HPKC005:
:
getCheckNo
,
item
->
item
));
return
results
.
stream
().
collect
(
Collectors
.
toMap
(
HPKC005:
:
getCheckNo
,
item
->
item
));
}
}
/**
* 锁
*
* @param otherEnterNos
* @return
*/
public
static
void
lockKc001
(
List
<
String
>
otherEnterNos
)
{
if
(
CollectionUtils
.
isEmpty
(
otherEnterNos
))
{
return
;
}
Map
queryMap
=
new
HashMap
();
queryMap
.
put
(
"otherEnterNos"
,
otherEnterNos
);
DaoBase
.
getInstance
().
update
(
HPSqlConstant
.
HPKC001
.
LOCK
,
queryMap
);
}
/**
* 查询其他入库信息
*
* @param otherEnterNos
* @return
*/
public
static
List
<
HPKC001
>
listKc001
(
List
<
String
>
otherEnterNos
)
{
if
(
CollectionUtils
.
isEmpty
(
otherEnterNos
))
{
return
null
;
}
Map
queryMap
=
new
HashMap
();
queryMap
.
put
(
"otherEnterNos"
,
otherEnterNos
);
return
DaoBase
.
getInstance
().
query
(
HPKC001
.
QUERY
,
queryMap
);
}
/**
* 查询其他入库信息
*
* @param otherEnterNos
* @return
*/
public
static
Map
<
String
,
HPKC001
>
mapKc001
(
List
<
String
>
otherEnterNos
)
{
List
<
HPKC001
>
results
=
listKc001
(
otherEnterNos
);
if
(
CollectionUtils
.
isEmpty
(
results
))
{
return
null
;
}
return
results
.
stream
().
collect
(
Collectors
.
toMap
(
HPKC001:
:
getPurchaseCode
,
item
->
item
));
}
/**
/**
* 锁
* 锁
...
...
src/main/webapp/HP/KC/HPKC001.js
View file @
80620a6b
This diff is collapsed.
Click to expand it.
src/main/webapp/HP/KC/HPKC001.jsp
View file @
80620a6b
...
@@ -9,49 +9,50 @@
...
@@ -9,49 +9,50 @@
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFDatePicker
ename=
"inqu_status-0-documentTime"
cname=
"单据日期"
format=
"yyyy-MM-dd"
required=
"true"
/>
<EF:EFDatePicker
cname=
"单据日期"
ename=
"inqu_status-0-receiptDate"
colWidth=
"3"
<EF:EFInput
ename=
"inqu_status-0-documentCode"
cname=
"采购入库单号"
colWidth=
"4"
readonly=
"false"
/>
role=
"date"
format=
"yyyy-MM-dd"
readonly=
"true"
/>
<EF:EFSelect
cname=
"存货类型"
blockId=
"inqu_status"
ename=
"materialType"
row=
"0"
colWidth=
"3"
>
<EF:EFInput
cname=
"采购单号"
ename=
"inqu_status-0-chpurchaseCodeeckNo"
colWidth=
"3"
/>
<EF:EFSelect
cname=
"存货类型"
ename=
"inqu_status-0-inventType"
colWidth=
"3"
filter=
"contains"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
/>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
/>
</EF:EFSelect>
</EF:EFSelect>
<EF:EFSelect
ename=
"inqu_status-0-whCode"
cname=
"仓库名称"
<EF:EFSelect
cname=
"仓库名称"
ename=
"inqu_status-0-whCode"
colWidth=
"3"
filter=
"contains"
defultValue=
""
>
valueTemplate=
"#=textField#"
filter=
"contains"
<EF:EFOption
label=
"全部"
value=
""
/>
required=
"false"
defultValue=
"ALL"
template=
"#=textField#"
>
<EF:EFOption
label=
"请选择"
value=
""
></EF:EFOption>
<EF:EFOptions
blockId=
"wh_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
<EF:EFOptions
blockId=
"wh_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
</EF:EFSelect>
<EF:EFSelect
ename=
"inqu_status-0-materialCode"
cname=
"存货名称"
</div>
valueTemplate=
"#=textField#"
filter=
"contains"
<div
class=
"row"
>
required=
"false"
defultValue=
"ALL"
<EF:EFSelect
cname=
"存货名称"
ename=
"inqu_status-0-inventCode"
colWidth=
"3"
filter=
"contains"
defultValue=
""
>
template=
"#=textField#"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOption
label=
"请选择"
value=
""
></EF:EFOption>
<EF:EFOptions
blockId=
"invent_name_block_id"
textField=
"textField"
valueField=
"valueField"
/>
<EF:EFOptions
blockId=
"invent_name_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
</EF:EFSelect>
<EF:EFSelect
cname=
"规格"
ename=
"inqu_status-0-spec"
colWidth=
"3"
filter=
"contains"
defultValue=
""
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOptions
blockId=
"spec_name_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion
id=
"result"
title=
"明细信息"
>
<EF:EFRegion
id=
"result"
title=
"明细信息"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"false"
isFloat=
"true"
autoFit=
"true"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
>
<EF:EFColumn
ename=
"id"
cname=
"主键id"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"documentTime"
cname=
"单据日期"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyy-MM-dd']"
width=
"100"
required=
"true"
/>
<EF:EFColumn
ename=
"purchaseCode"
cname=
"采购单号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"documentCode"
cname=
"采购入库单号"
width=
"100"
readonly=
"false"
align=
"center"
required=
"false"
enable=
"false"
/>
<EF:EFColumn
ename=
"receiptDate"
cname=
"单据日期"
width=
"90"
align=
"center"
editType=
"date"
<EF:EFComboColumn
ename=
"materialType"
cname=
"存货类型"
width=
"90"
align=
"center"
>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
required=
"true"
/>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
/>
<EF:EFComboColumn
ename=
"inventType"
cname=
"存货类型"
width=
"100"
align=
"center"
required=
"true"
>
</EF:EFComboColumn>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
/>
<EF:EFColumn
ename=
"whCode"
cname=
"仓库名称"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"whName"
cname=
"仓库名称"
width=
"100"
readonly=
"false"
hidden=
"true"
/>
<EF:EFColumn
ename=
"materialCode"
cname=
"存货名称"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"materialName"
cname=
"存货名称"
width=
"100"
readonly=
"false"
hidden=
"true"
/>
<EF:EFColumn
ename=
"spec"
cname=
"规格"
width=
"120"
readonly=
"false"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"unit"
cname=
"单位"
width=
"80"
readonly=
"false"
align=
"center"
enable=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"quantity"
cname=
"数量"
width=
"80"
defaultValue=
"0"
data-regex=
"/^[0-9]\\\d*$/"
data-errorprompt=
"请输入正整数"
readonly=
"false"
align=
"right"
required=
"true"
/>
<EF:EFColumn
ename=
"weight"
cname=
"重量"
defaultValue=
"0"
data-rules=
"number"
maxLength=
"20"
width=
"100"
align=
"right"
readonly=
"false"
/>
<EF:EFComboColumn
ename=
"approvalStatus"
cname=
"审批状态"
width=
"90"
align=
"center"
>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.approvalStatus"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"remarks"
cname=
"备注"
width=
"100"
readonly=
"false"
/>
<EF:EFColumn
ename=
"whCode"
cname=
"仓库名称"
width=
"120"
align=
"center"
required=
"true"
readonly=
"true"
/>
<EF:EFColumn
ename=
"inventCode"
cname=
"存货名称"
width=
"120"
align=
"center"
required=
"true"
readonly=
"true"
/>
<EF:EFColumn
ename=
"spec"
cname=
"规格"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"unit"
cname=
"单位"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"amount"
cname=
"数量"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
/>
<EF:EFColumn
ename=
"weight"
cname=
"重量"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
/>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
width=
"150"
readonly=
"true"
/>
<EF:EFColumn
ename=
"createdName"
cname=
"创建人"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时刻"
enable=
"false"
width=
"140"
align=
"center"
editType=
"datetime"
parseFormats=
"['yyyyMMddHHmmss']"
/>
</EF:EFGrid>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFRegion>
...
...
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