     <td>
        <div class="ui input {newPNerror?'error':''}"><input r-model="newPName" value="" placeholder="名字"></div>
      </td>
      <td>
        <div class="ui input {newPBerror?'error':''}"><input r-model="newPBarCode" value="" placeholder="编码"></div>
      </td>
      <td>
        <div class="ui input {newPCerror?'error':''}"><input r-model="newPCost" value="" placeholder="整数,分"></div>
      </td>
      <td>
        <div class="ui input {newPDerror?'error':''}"><input r-model="newPD