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
e7ef174f
Commit
e7ef174f
authored
Feb 20, 2020
by
季圣华
Browse files
优化系统单据代码,更新sql
parent
195e5223
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
docs/jsh_erp.sql
View file @
e7ef174f
This diff is collapsed.
Click to expand it.
erp_web/js/common/common.js
View file @
e7ef174f
...
...
@@ -26,27 +26,29 @@
/**
* 扩展datagrid的editors方法,支持combogrid
*/
$
.
extend
(
$
.
fn
.
datagrid
.
defaults
.
editors
,
{
combogrid
:
{
init
:
function
(
container
,
options
)
{
var
input
=
$
(
'
<input type="text" style="height: 22px;" class="datagrid-editable-input">
'
).
appendTo
(
container
);
input
.
combogrid
(
options
);
return
input
;
},
destroy
:
function
(
target
)
{
$
(
target
).
combogrid
(
'
destroy
'
);
},
getValue
:
function
(
target
)
{
return
$
(
target
).
combogrid
(
'
getValue
'
);
},
setValue
:
function
(
target
,
value
)
{
$
(
target
).
combogrid
(
'
setValue
'
,
value
);
},
resize
:
function
(
target
,
width
)
{
$
(
target
).
combogrid
(
'
resize
'
,
width
);
if
(
$
.
fn
.
datagrid
)
{
$
.
extend
(
$
.
fn
.
datagrid
.
defaults
.
editors
,
{
combogrid
:
{
init
:
function
(
container
,
options
)
{
var
input
=
$
(
'
<input type="text" style="height: 22px;" class="datagrid-editable-input">
'
).
appendTo
(
container
);
input
.
combogrid
(
options
);
return
input
;
},
destroy
:
function
(
target
)
{
$
(
target
).
combogrid
(
'
destroy
'
);
},
getValue
:
function
(
target
)
{
return
$
(
target
).
combogrid
(
'
getValue
'
);
},
setValue
:
function
(
target
,
value
)
{
$
(
target
).
combogrid
(
'
setValue
'
,
value
);
},
resize
:
function
(
target
,
width
)
{
$
(
target
).
combogrid
(
'
resize
'
,
width
);
}
}
}
}
);
}
);
}
$
(
function
()
{
domresize
();
...
...
erp_web/js/pages/materials/in_out.js
View file @
e7ef174f
...
...
@@ -192,7 +192,6 @@
if
(
depot
.
isDefault
){
defDepotId
=
depot
.
id
;
}
depotString
=
depotString
+
"
,
"
;
}
}
depotString
=
depotString
.
substring
(
0
,
depotString
.
length
-
1
);
...
...
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