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
52fb4c6e
Commit
52fb4c6e
authored
Jan 06, 2019
by
季圣华
Browse files
解决采购信息中,供应商不能新增的问题
parent
57d3f072
Changes
2
Hide whitespace changes
Inline
Side-by-side
erp_web/js/pages/materials/in_out.js
View file @
52fb4c6e
...
...
@@ -1556,7 +1556,7 @@
initTableData_material
(
"
add
"
);
//商品列表
reject
();
//撤销下、刷新商品列表
$
(
"
#addOrgan
"
).
off
(
"
click
"
).
on
(
"
click
"
,
function
(){
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加供应商
'
);
$
(
'
#supplierDlg
'
).
dialog
(
'
open
'
).
dialog
(
'
setTitle
'
,
'
<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加供应商
信息
'
);
});
url
=
'
/depotHead/add
'
;
...
...
@@ -2553,28 +2553,15 @@
return
;
}
var
url
=
'
/supplier/add
'
;
var
supObj
=
$
(
"
#supplierFM
"
).
serializeObject
();
supObj
.
type
=
"
供应商
"
;
supObj
.
enabled
=
1
;
$
.
ajax
({
url
:
url
,
type
:
"
post
"
,
dataType
:
"
json
"
,
data
:{
supplier
:
$
(
"
#supplier
"
).
val
(),
type
:
"
供应商
"
,
contacts
:
$
(
"
#contacts
"
).
val
(),
phonenum
:
$
(
"
#phonenum
"
).
val
(),
telephone
:
$
(
"
#telephone
"
).
val
(),
email
:
$
(
"
#email
"
).
val
(),
address
:
$
(
"
#address
"
).
val
(),
fax
:
$
(
"
#fax
"
).
val
(),
BeginNeedGet
:
$
(
"
#BeginNeedGet
"
).
val
(),
BeginNeedPay
:
$
(
"
#BeginNeedPay
"
).
val
(),
taxNum
:
$
(
"
#taxNum
"
).
val
(),
taxRate
:
$
(
"
#taxRate
"
).
val
(),
bankName
:
$
(
"
#bankName
"
).
val
(),
accountNumber
:
$
(
"
#accountNumber
"
).
val
(),
description
:
$
(
"
#description
"
).
val
(),
enabled
:
1
,
clientIp
:
clientIp
info
:
JSON
.
stringify
(
supObj
)
},
success
:
function
(
res
)
{
if
(
res
)
{
...
...
erp_web/pages/materials/purchase_in_list.html
View file @
52fb4c6e
...
...
@@ -292,22 +292,22 @@
</td>
</tr>
<tr>
<td>
联系电话
</td>
<td
style=
"padding:1px;"
>
<input
name=
"phonenum"
id=
"phonenum"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
手机
</td>
<td>
手机号码
</td>
<td
style=
"padding:1px;"
>
<input
name=
"telephone"
id=
"telephone"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
电子邮箱
</td>
<td
style=
"padding:1px"
>
<input
name=
"email"
id=
"email"
class=
"easyui-validatebox"
validType=
"email"
style=
"width: 160px;height: 20px"
/>
</td>
</tr>
<tr>
<td>
联系电话
</td>
<td
style=
"padding:1px;"
>
<input
name=
"phonenum"
id=
"phonenum"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
</td>
<td>
传真
</td>
<td
style=
"padding:1px"
>
<input
name=
"fax"
id=
"fax"
class=
"easyui-validatebox"
style=
"width: 160px;height: 20px"
/>
...
...
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