Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
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
hujun
tl_estate
Commits
8d062df7
Commit
8d062df7
authored
Feb 19, 2019
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
fc8bf69e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
getCollection.js
public/resource/js/getCollection.js
+8
-2
No files found.
public/resource/js/getCollection.js
View file @
8d062df7
...
@@ -1352,14 +1352,16 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -1352,14 +1352,16 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
doc
.
find
(
"#running"
).
text
(
data
.
is_open
==
1
?
"是"
:
"否"
);
doc
.
find
(
"#running"
).
text
(
data
.
is_open
==
1
?
"是"
:
"否"
);
doc
.
find
(
"#fenhong"
).
val
(
data
.
is_dividend
);
doc
.
find
(
"#fenhong"
).
val
(
data
.
is_dividend
);
doc
.
find
(
'#pinpai'
).
text
(
data
.
industry_type
);
doc
.
find
(
'#pinpai'
).
text
(
data
.
industry_type
);
var
source_id
=
data
.
source_id
;
if
(
data
.
source
==
0
)
{
if
(
data
.
source
==
0
)
{
$
(
"#comes"
).
text
(
'APP'
);
$
(
"#comes"
).
text
(
'APP'
);
doc
.
find
(
"#status"
).
text
(
"正常"
);
//
doc.find("#status").text("正常");
$
(
'#intoPrice'
).
removeAttr
(
"readonly"
);
$
(
'#intoPrice'
).
removeAttr
(
"readonly"
);
$
(
'#shoutiao'
).
removeAttr
(
"readonly"
);
$
(
'#shoutiao'
).
removeAttr
(
"readonly"
);
// $('#payType').removeAttr("readonly");
// $('#payType').removeAttr("readonly");
$
(
"#payType"
).
removeAttr
(
"disabled"
)
$
(
"#payType"
).
removeAttr
(
"disabled"
)
$
(
'#payNo'
).
removeAttr
(
"readonly"
);
$
(
'#payNo'
).
removeAttr
(
"readonly"
);
}
else
if
(
data
.
source
==
1
){
}
else
if
(
data
.
source
==
1
){
$
(
"#comes"
).
text
(
'智能pos机'
);
$
(
"#comes"
).
text
(
'智能pos机'
);
$
(
'#intoPrice'
).
removeAttr
(
"readonly"
);
$
(
'#intoPrice'
).
removeAttr
(
"readonly"
);
...
@@ -1367,7 +1369,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -1367,7 +1369,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
// $('#payType').removeAttr("readonly");
// $('#payType').removeAttr("readonly");
$
(
"#payType"
).
removeAttr
(
"disabled"
)
$
(
"#payType"
).
removeAttr
(
"disabled"
)
$
(
'#payNo'
).
removeAttr
(
"readonly"
);
$
(
'#payNo'
).
removeAttr
(
"readonly"
);
doc
.
find
(
"#status"
).
text
(
"正常"
);
//
doc.find("#status").text("正常");
}
else
{
}
else
{
$
(
"#comes"
).
text
(
'调整'
);
$
(
"#comes"
).
text
(
'调整'
);
$
(
'#intoPrice'
).
attr
(
"readonly"
,
"readonly"
);
$
(
'#intoPrice'
).
attr
(
"readonly"
,
"readonly"
);
...
@@ -1375,7 +1377,11 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -1375,7 +1377,11 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
// $('#payType').attr("readonly" , "readonly");
// $('#payType').attr("readonly" , "readonly");
$
(
"#payType"
).
attr
(
"disabled"
,
"disabled"
).
css
(
"background-color"
,
"#EEEEEE;"
);
$
(
"#payType"
).
attr
(
"disabled"
,
"disabled"
).
css
(
"background-color"
,
"#EEEEEE;"
);
$
(
'#payNo'
).
attr
(
"readonly"
,
"readonly"
);
$
(
'#payNo'
).
attr
(
"readonly"
,
"readonly"
);
}
if
(
source_id
)
{
doc
.
find
(
"#status"
).
text
(
"被调整"
);
doc
.
find
(
"#status"
).
text
(
"被调整"
);
}
else
{
doc
.
find
(
"#status"
).
text
(
"正常"
);
}
}
// doc.find("#status").text(data.source_id);
// doc.find("#status").text(data.source_id);
doc
.
find
(
"#lastTime"
).
val
(
data
.
last_transfer_time
);
doc
.
find
(
"#lastTime"
).
val
(
data
.
last_transfer_time
);
...
...
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