|
@@ -99,7 +99,7 @@
|
|
<table class="spec_table tb-type2" style="width: 800px">
|
|
<table class="spec_table tb-type2" style="width: 800px">
|
|
<tr class="w500" rowspan="2">
|
|
<tr class="w500" rowspan="2">
|
|
<th class="align-center" rowspan="2" style="width: 100px">机构号</th>
|
|
<th class="align-center" rowspan="2" style="width: 100px">机构号</th>
|
|
- <th class="align-center" rowspan="2">机构名称</th>
|
|
|
|
|
|
+<!-- <th class="align-center" rowspan="2">机构名称</th>-->
|
|
<th class=" align-center" colspan="6">
|
|
<th class=" align-center" colspan="6">
|
|
中石油
|
|
中石油
|
|
</th>
|
|
</th>
|
|
@@ -120,50 +120,40 @@
|
|
<th style="text-align: center">1000</th>
|
|
<th style="text-align: center">1000</th>
|
|
</tr>
|
|
</tr>
|
|
<tbody class="tbody">
|
|
<tbody class="tbody">
|
|
|
|
+ <?php if (!empty($output['data']) && is_array($output['data'])) { ?>
|
|
|
|
+ <?php foreach ($output['data'] as $k => $v) { ?>
|
|
<tr class="w500">
|
|
<tr class="w500">
|
|
<td class="w50 align-center">
|
|
<td class="w50 align-center">
|
|
- 1
|
|
|
|
- </td>
|
|
|
|
- <td class="w50 align-center">
|
|
|
|
- xyxy
|
|
|
|
|
|
+ <?php echo $v['mchid'];?>
|
|
|
|
+ <input type="hidden" name="mchid[]" value="<?php echo $v['mchid'];?>">
|
|
</td>
|
|
</td>
|
|
|
|
+<!-- <td class="w50 align-center">-->
|
|
|
|
+<!-- --><?php //echo $v['merchant_name'];?>
|
|
|
|
+<!-- </td>-->
|
|
<td class="w50 align-center" style="width:30px">
|
|
<td class="w50 align-center" style="width:30px">
|
|
</td>
|
|
</td>
|
|
|
|
+ <?php foreach ($v['petrochina'] as $amount => $limit) { ?>
|
|
<td class="w50 align-center">
|
|
<td class="w50 align-center">
|
|
- <input type="text" name="spec[]" value="10" style="width:50px">
|
|
|
|
- </td>
|
|
|
|
- <td class="w50 align-center">
|
|
|
|
- <input type="text" name="spec[]" value="10" style="width:50px">
|
|
|
|
- </td>
|
|
|
|
- <td class="w50 align-center">
|
|
|
|
- <input type="text" name="spec[]" value="10" style="width:50px">
|
|
|
|
- </td>
|
|
|
|
- <td class="w50 align-center">
|
|
|
|
- <input type="text" name="spec[]" value="10" style="width:50px">
|
|
|
|
|
|
+ <input type="text" class="petrochina" name="petrochina[<?php echo $amount;?>][]" value="<?php echo $limit?>" style="width:50px">
|
|
</td>
|
|
</td>
|
|
|
|
+ <?php } ?>
|
|
<td class="w50 align-center" style="width:30px">
|
|
<td class="w50 align-center" style="width:30px">
|
|
</td>
|
|
</td>
|
|
|
|
+ <?php foreach ($v['sinopec'] as $amount => $limit) { ?>
|
|
<td class="w50 align-center">
|
|
<td class="w50 align-center">
|
|
- <input type="text" name="spec[]" value="10" style="width:50px">
|
|
|
|
- </td>
|
|
|
|
- <td class="w50 align-center">
|
|
|
|
- <input type="text" name="spec[]" value="10" style="width:50px">
|
|
|
|
- </td>
|
|
|
|
- <td class="w50 align-center">
|
|
|
|
- <input type="text" name="spec[]" value="10" style="width:50px">
|
|
|
|
- </td>
|
|
|
|
- <td class="w50 align-center">
|
|
|
|
- <input type="text" name="spec[]" value="10" style="width:50px">
|
|
|
|
|
|
+ <input type="text" class="sinopec" name="sinopec[<?php echo $amount;?>][]" value="<?php echo $limit?>" style="width:50px">
|
|
</td>
|
|
</td>
|
|
|
|
+ <?php } ?>
|
|
</tr>
|
|
</tr>
|
|
|
|
+ <?php } ?>
|
|
|
|
+ <?php } ?>
|
|
</tbody>
|
|
</tbody>
|
|
</table>
|
|
</table>
|
|
</tr>
|
|
</tr>
|
|
</tbody>
|
|
</tbody>
|
|
<tfoot>
|
|
<tfoot>
|
|
<tr class="tfoot">
|
|
<tr class="tfoot">
|
|
- <td colspan="15"><a href="JavaScript:void(0);" class="btn"
|
|
|
|
- id="submitBtn"><span><?php echo $lang['nc_submit']; ?></span></a></td>
|
|
|
|
|
|
+ <td colspan="15"><a href="JavaScript:void(0);" class="btn" id="submitBtn"><span><?php echo $lang['nc_submit']; ?></span></a></td>
|
|
</tr>
|
|
</tr>
|
|
</tfoot>
|
|
</tfoot>
|
|
</table>
|
|
</table>
|
|
@@ -178,6 +168,8 @@
|
|
id="cssfile2"/>
|
|
id="cssfile2"/>
|
|
<script type="text/javascript">
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
$(function () {
|
|
-
|
|
|
|
|
|
+ $("#submitBtn").click(function () {
|
|
|
|
+ $("#price_form").submit();
|
|
|
|
+ })
|
|
});
|
|
});
|
|
</script>
|
|
</script>
|