浏览代码

修改小问题

ytf 3 年之前
父节点
当前提交
6a2a2d7c67

+ 1 - 1
krock-jcebid-cp/krock-web-cp-all/src/main/resources/static/view_cp_pm/pm/verify/bdw_verify.html

@@ -110,7 +110,7 @@
110
                     align : 'center'
110
                     align : 'center'
111
                 },{
111
                 },{
112
                     text : '联系人',
112
                     text : '联系人',
113
-                    dataIndex : 'auctioneer',
113
+                    dataIndex : 'bidding_linkman',
114
                     flex : 1,
114
                     flex : 1,
115
                     align : 'center'
115
                     align : 'center'
116
                 },{
116
                 },{

+ 60 - 1
krock-jcebid-cp/krock-web-cp-all/src/main/resources/static/view_cp_pm/pm/verify/select.js

@@ -1,3 +1,4 @@
1
+
1
 var edit_form_panel = Ext.create("Ext.form.Panel", {
2
 var edit_form_panel = Ext.create("Ext.form.Panel", {
2
 	bodyStyle : "padding: 30px;",
3
 	bodyStyle : "padding: 30px;",
3
 	defaultType : "textfield",
4
 	defaultType : "textfield",
@@ -132,6 +133,61 @@ var edit_form_panel = Ext.create("Ext.form.Panel", {
132
 		},{
133
 		},{
133
 			xtype: 'container',
134
 			xtype: 'container',
134
 			layout: 'hbox',
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
 			items: [{
191
 			items: [{
136
 				xtype : 'combobox',
192
 				xtype : 'combobox',
137
 				fieldLabel: '竞买协议',
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
 function isEmpty(obj){
269
 function isEmpty(obj){
@@ -248,6 +304,9 @@ function details(kid){
248
 			edit_form_panel.getForm().findField("time_opening").setValue(dateStr1);
304
 			edit_form_panel.getForm().findField("time_opening").setValue(dateStr1);
249
 			var dateStr2 = getSmpFormatDateByLong(json.time_end);
305
 			var dateStr2 = getSmpFormatDateByLong(json.time_end);
250
 			edit_form_panel.getForm().findField("time_end").setValue(dateStr2);
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
 			edit_form_panel_win.show();
310
 			edit_form_panel_win.show();
252
 		},
311
 		},
253
 		failure : function(response) {
312
 		failure : function(response) {