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
4ee0c987
Commit
4ee0c987
authored
Nov 14, 2019
by
季圣华
Browse files
在单据首次加载的时候隐藏新增和查看界面
parent
69221e57
Changes
2
Hide whitespace changes
Inline
Side-by-side
erp_web/css/in_out.css
View file @
4ee0c987
#depotHeadDlg
,
#depotHeadDlgShow
{
display
:
none
;
}
/*价格*/
#depotHeadFM
.price-list
{
width
:
110px
;
...
...
erp_web/js/pages/materials/in_out.js
View file @
4ee0c987
...
...
@@ -1437,7 +1437,7 @@
$
(
"
#Debt
"
).
val
(
0
);
$
(
"
#AccountId
"
).
val
(
defaultAccountId
);
//初始化默认的账户Id
var
addTitle
=
listTitle
.
replace
(
"
列表
"
,
"
信息
"
);
$
(
'
#depotHeadDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加
'
+
addTitle
);
$
(
'
#depotHeadDlg
'
).
show
().
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加
'
+
addTitle
);
$
(
"
.window-mask
"
).
css
({
width
:
webW
,
height
:
webH
});
orgDepotHead
=
""
;
...
...
@@ -1549,7 +1549,7 @@
oldNumber
=
res
.
number
;
//记录编辑前的单据编号
oldId
=
res
.
id
;
//记录单据Id
var
editTitle
=
listTitle
.
replace
(
"
列表
"
,
"
信息
"
);
$
(
'
#depotHeadDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/> 编辑
'
+
editTitle
);
$
(
'
#depotHeadDlg
'
).
show
().
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/> 编辑
'
+
editTitle
);
$
(
"
.window-mask
"
).
css
({
width
:
webW
,
height
:
webH
});
depotHeadID
=
res
.
id
;
...
...
@@ -1700,7 +1700,7 @@
var
TotalPrice
=
res
.
totalprice
;
$
(
"
#AllocationProjectIdShow
"
).
text
(
res
.
allocationProjectName
);
var
showTitle
=
listTitle
.
replace
(
"
列表
"
,
"
信息
"
);
$
(
'
#depotHeadDlgShow
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui-1.3.5/themes/icons/list.png"/> 查看
'
+
showTitle
);
$
(
'
#depotHeadDlgShow
'
).
show
().
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui-1.3.5/themes/icons/list.png"/> 查看
'
+
showTitle
);
$
(
"
.window-mask
"
).
css
({
width
:
webW
,
height
:
webH
});
depotHeadID
=
res
.
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