|
@@ -15,12 +15,13 @@ class batch_path(Load):
|
|
|
,path = '/origin/batch'
|
|
|
,width = '600'
|
|
|
,height = '600'
|
|
|
- ,search = (('farm_id-select-','load_id-select-'), (u'选择农场',u'地块'))
|
|
|
+ ,search = (('farm_id-select-','land_id-select-'), (u'选择农场',u'地块'))
|
|
|
,thead = (u'所属农场', u'产品名称', u'种植时间', u'采收时间', u'设备', u'地块')
|
|
|
,tbody = ('farm','name', 'zzdate', 'csdate', 'device', 'land')
|
|
|
,state = True
|
|
|
)
|
|
|
self.data['common']['search_farm_id-select-'] = Demeter.config['setting']['farmList']
|
|
|
+ self.data['common']['search_land_id-select-'] = self.service('common').list('farm_work_land')
|
|
|
self.commonList('origin_batch')
|
|
|
if self.data['list']:
|
|
|
for key, value in enumerate(self.data['list']):
|