|
@@ -1,3 +1,4 @@
|
|
1
|
+
|
1
|
2
|
var edit_form_panel = Ext.create("Ext.form.Panel", {
|
2
|
3
|
bodyStyle : "padding: 30px;",
|
3
|
4
|
defaultType : "textfield",
|
|
@@ -132,6 +133,61 @@ var edit_form_panel = Ext.create("Ext.form.Panel", {
|
132
|
133
|
},{
|
133
|
134
|
xtype: 'container',
|
134
|
135
|
layout: 'hbox',
|
|
136
|
+ items: [
|
|
137
|
+ {
|
|
138
|
+ xtype : 'radiogroup',
|
|
139
|
+ fieldLabel: '竞买协议',
|
|
140
|
+ name: 'jmxy',
|
|
141
|
+ editable : false,
|
|
142
|
+ items:{
|
|
143
|
+ xtype : 'button',
|
|
144
|
+ text : '查看详情',
|
|
145
|
+ fieldLabel: '查看详情',
|
|
146
|
+ // tooltip : '查看详情',
|
|
147
|
+ // icon : jcapp.getIcon("user_magnify.png"),
|
|
148
|
+ handler : function() {
|
|
149
|
+ getPriceInfo(0);
|
|
150
|
+ }
|
|
151
|
+ },
|
|
152
|
+ },{
|
|
153
|
+ xtype : 'radiogroup',
|
|
154
|
+ fieldLabel: '竞买规则',
|
|
155
|
+ editable : false,
|
|
156
|
+ items:{
|
|
157
|
+ xtype : 'button',
|
|
158
|
+ text : '查看详情',
|
|
159
|
+ fieldLabel: '查看详情',
|
|
160
|
+ // tooltip : '查看详情',
|
|
161
|
+ // icon : jcapp.getIcon("user_magnify.png"),
|
|
162
|
+ handler : function() {
|
|
163
|
+ getPriceInfo(1);
|
|
164
|
+ }
|
|
165
|
+ },
|
|
166
|
+ },
|
|
167
|
+ ]
|
|
168
|
+ },{
|
|
169
|
+ xtype: 'container',
|
|
170
|
+ layout: 'hbox',
|
|
171
|
+ width: '50%',
|
|
172
|
+ items: [{
|
|
173
|
+ xtype : 'radiogroup',
|
|
174
|
+ fieldLabel: '标的物图片',
|
|
175
|
+ editable : false,
|
|
176
|
+ items:{
|
|
177
|
+ xtype : 'button',
|
|
178
|
+ text : '查看详情',
|
|
179
|
+ fieldLabel: '查看详情',
|
|
180
|
+ // tooltip : '查看详情',
|
|
181
|
+ // icon : jcapp.getIcon("user_magnify.png"),
|
|
182
|
+ handler : function() {
|
|
183
|
+ enlarge();
|
|
184
|
+ }
|
|
185
|
+ },
|
|
186
|
+ },]
|
|
187
|
+ },
|
|
188
|
+ /*,{
|
|
189
|
+ xtype: 'container',
|
|
190
|
+ layout: 'hbox',
|
135
|
191
|
items: [{
|
136
|
192
|
xtype : 'combobox',
|
137
|
193
|
fieldLabel: '竞买协议',
|
|
@@ -207,7 +263,7 @@ var edit_form_panel = Ext.create("Ext.form.Panel", {
|
207
|
263
|
}
|
208
|
264
|
}
|
209
|
265
|
},]
|
210
|
|
- },
|
|
266
|
+ },*/
|
211
|
267
|
],
|
212
|
268
|
});
|
213
|
269
|
function isEmpty(obj){
|
|
@@ -248,6 +304,9 @@ function details(kid){
|
248
|
304
|
edit_form_panel.getForm().findField("time_opening").setValue(dateStr1);
|
249
|
305
|
var dateStr2 = getSmpFormatDateByLong(json.time_end);
|
250
|
306
|
edit_form_panel.getForm().findField("time_end").setValue(dateStr2);
|
|
307
|
+ if (isEmpty(json.bidding_agreement_path)){
|
|
308
|
+ edit_form_panel.getForm().findField("jmxy").setValue();
|
|
309
|
+ }
|
251
|
310
|
edit_form_panel_win.show();
|
252
|
311
|
},
|
253
|
312
|
failure : function(response) {
|