Commit 3ee7bf25 by 朱继来

添加判断

parent 710deced
Showing with 18 additions and 16 deletions
...@@ -236,22 +236,24 @@ ...@@ -236,22 +236,24 @@
</thead> </thead>
<tbody> <tbody>
@foreach ($order_temp_info['change_info'] as $k => $v) @if (isset($order_temp_info['change_info']))
<tr> @foreach ($order_temp_info['change_info'] as $k => $v)
<td> <tr>
<input type="hidden" name="change_info[{{$k}}][goods_name]" value="{{$v['goods_name']}}"> <td>
<p>{{$v['goods_name']}}</p> <input type="hidden" name="change_info[{{$k}}][goods_name]" value="{{$v['goods_name']}}">
</td> <p>{{$v['goods_name']}}</p>
<td> </td>
<input type="hidden" name="change_info[{{$k}}][goods_number]" value="{{$v['goods_number']}}"> <td>
<p>{{$v['goods_number']}}</p> <input type="hidden" name="change_info[{{$k}}][goods_number]" value="{{$v['goods_number']}}">
</td> <p>{{$v['goods_number']}}</p>
<td> </td>
<input type="hidden" name="change_info[{{$k}}][goods_price]" value="{{$v['goods_price']}}"> <td>
<p>{{$v['goods_price']}}</p> <input type="hidden" name="change_info[{{$k}}][goods_price]" value="{{$v['goods_price']}}">
</td> <p>{{$v['goods_price']}}</p>
</tr> </td>
@endforeach </tr>
@endforeach
@endif
</tbody> </tbody>
</table> </table>
<hr> <hr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment