|
@@ -102,6 +102,7 @@ if q2_result_count > 0: # 有執行項目(無預定完成日期)
|
|
<th style='width:15%;'>合約到期日</th> \
|
|
<th style='width:15%;'>合約到期日</th> \
|
|
<th style='width:5%;'>負責業務</th> \
|
|
<th style='width:5%;'>負責業務</th> \
|
|
<th style='width:20%;'>執行項</th> \
|
|
<th style='width:20%;'>執行項</th> \
|
|
|
|
+ <th style='width:15%;'>預定到期日</th> \
|
|
</tr>";
|
|
</tr>";
|
|
|
|
|
|
count = 1
|
|
count = 1
|
|
@@ -127,13 +128,15 @@ if q2_result_count > 0: # 有執行項目(無預定完成日期)
|
|
if r3['contract_time'] is None:
|
|
if r3['contract_time'] is None:
|
|
r3['contract_time'] = '無'
|
|
r3['contract_time'] = '無'
|
|
|
|
|
|
|
|
+ print ('contract_time = ' + r3['contract_time']) # test
|
|
|
|
+
|
|
if r3['set_date'] is None:
|
|
if r3['set_date'] is None:
|
|
r3['set_date'] = '無'
|
|
r3['set_date'] = '無'
|
|
-
|
|
|
|
- print ('contract_time = ' + r3['contract_time']) # test
|
|
|
|
|
|
+
|
|
|
|
+ print ('set_date = ' + r3['set_date']) # test
|
|
|
|
|
|
if idx < 1:
|
|
if idx < 1:
|
|
- html += "<tr><td rowspan='" + q3_result_count + "'>" + str(count) + "</td><td rowspan='" + q3_result_count + "'><a href='" + url + "' target='_blank'>" + r3['num'] + "</a></td><td rowspan='" + q3_result_count + "'>" + r3['company'] + "</td><td rowspan='" + q3_result_count + "'>" + str(r3['contract_time']) + "</td><td rowspan='" + q3_result_count + "'>" + r3['sales_man'] + "</td><td>" + r3['lv1'] + "_" + r3['lv2'] + "</td><tr>"
|
|
|
|
|
|
+ html += "<tr><td rowspan='" + q3_result_count + "'>" + str(count) + "</td><td rowspan='" + q3_result_count + "'><a href='" + url + "' target='_blank'>" + r3['num'] + "</a></td><td rowspan='" + q3_result_count + "'>" + r3['company'] + "</td><td rowspan='" + q3_result_count + "'>" + str(r3['contract_time']) + "</td><td rowspan='" + q3_result_count + "'>" + r3['sales_man'] + "</td><td>" + r3['lv1'] + "_" + r3['lv2'] + "</td><td>" + str(r3['set_date']) + "</td><tr>"
|
|
|
|
|
|
idx += 1
|
|
idx += 1
|
|
else:
|
|
else:
|