ate" placeholder="yyyy-MM-dd HH:mm:ss"
                                                             value=""></div>
      </td>
      <td>
        <a href="javascript:void(0);" on-click="{this.new()}">保存</a>
        <a href="javascript:void(0);" on-click="{newP=false}">取消</a>
      </td>
    </tr>
    {#list products as product}

    <tr style="display: none">
      <td>{product_index+1}</td>
      <td>{product.name}</td>
      <td>{product.bar_code}</td>
      <td>{this.formatNum(product.cost,2)}</