<?xml version="1.0" encoding="utf-8" ?>
<Actions>
  <Action name="Insertpurchase">
      <table id="purchaseTable" style="padding:10%; width:100%;">
        <tr><td>名称:</td><td><input type="text" id="purchaseName"/></td></tr>
        <tr><td>价格:</td><td><input type="number" id="purchasePrice"/></td></tr>
        <tr><td>数量:</td><td><input type="number" id="purchaseQuantity"/></td></tr>
        <tr><td>时间:</td><td><input type="date" id="purchaseTime"/></td></tr>
        <tr><td>备注:</td><td><textarea style="width:100%" id="purchaseRemark" rows="3" cols="20"></textarea></td></tr>
      </table>
      <div style="width:100%; text-align: center;"><input type="button" value="保存" id="purchaseSave"/></div>
  </Action>
  <Action name="Updatepurchase">
    <table style="padding:10%; width:100%;">
      <tr><td>名称:</td><td><input type="text" id="purchaseNameU"/></td></tr>
      <tr><td>价格:</td><td><input type="number" id="purchasePriceU"/></td></tr>
      <tr><td>数量:</td><td><input type="number" id="purchaseQuantityU"/></td></tr>
      <tr><td>时间:</td><td><input type="date" id="purchaseTimeU"/></td></tr>
      <tr><td>备注:</td><td><textarea style="width:100%" id="purchaseRemarkU" rows="3" cols="20"></textarea></td></tr>
    </table>
    <div style="width:100%; text-align: center;"><input type="button" value="保存" id="purchaseUpdate"/></div>
  </Action>
  
  <Action name="Insertstock">
    <table id="stockTable" style="padding:10%; width:100%;">
      <tr><td>名称:</td><td><input type="text" id="stockName"/></td></tr>
      <tr><td>数量:</td><td><input type="number" id="stockQuantity"/></td></tr>
      <tr><td>时间:</td><td><input type="date" id="stockTime"/></td></tr>
      <tr><td>备注:</td><td><textarea style="width:100%" id="stockRemark" rows="3" cols="20"></textarea></td></tr>
    </table>
    <div style="width:100%; text-align: center;"><input type="button" value="保存" id="stockSave"/></div>
  </Action>
  <Action name="Updatestock">
    <table style="padding:10%; width:100%;">
      <tr><td>名称:</td><td><input type="text" id="stockNameU"/></td></tr>
      <tr><td>数量:</td><td><input type="number" id="stockQuantityU"/></td></tr>
      <tr><td>时间:</td><td><input type="date" id="stockTimeU"/></td></tr>
      <tr><td>备注:</td><td><textarea style="width:100%" id="stockRemarkU" rows="3" cols="20"></textarea></td></tr>
    </table>
    <div style="width:100%; text-align: center;"><input type="button" value="保存" id="stockUpdate"/></div>
  </Action>
  
  
  <Action name="Insertingredients">
    <table id="ingredientsTable" style="padding:10%; width:100%;">
      <tr><td>名称:</td><td><input type="text" id="ingredientsName"/></td></tr>
      <tr><td>所需部门:</td><td><select id="ingredientsDepName"></select></td></tr>
      <tr><td>数量:</td><td><input type="number" id="ingredientsQuantity"/></td></tr>
      <tr><td>时间:</td><td><input type="date" id="ingredientsTime"/></td></tr>
      <tr><td>备注:</td><td><textarea style="width:100%" id="ingredientsRemark" rows="3" cols="20"></textarea></td></tr>
    </table>
    <div style="width:100%; text-align: center;"><input type="button" value="保存" id="ingredientsSave"/></div>
  </Action>
  <Action name="Updateingredients">
    <table style="padding:10%; width:100%;">
      <tr><td>名称:</td><td><input type="text" id="ingredientsNameU"/></td></tr>
      <tr><td>所需部门:</td><td><select id="ingredientsDepNameU"></select></td></tr>
      <tr><td>数量:</td><td><input type="number" id="ingredientsQuantityU"/></td></tr>
      <tr><td>时间:</td><td><input type="date" id="ingredientsTimeU"/></td></tr>
      <tr><td>备注:</td><td><textarea style="width:100%" id="ingredientsRemarkU" rows="3" cols="20"></textarea></td></tr>
    </table>
    <div style="width:100%; text-align: center;"><input type="button" value="保存" id="ingredientsUpdate"/></div>
  </Action>
  
  
  <Action name="Insertsupply">
    <table id="supplyTable" style="padding:10%; width:100%;">
      <tr><td>名称:</td><td><input type="text" id="supplyName"/></td></tr>
      <tr><td>供给部门:</td><td><select id="supplyDepName"></select></td></tr>
      <tr><td>数量:</td><td><input type="number" id="supplyQuantity"/></td></tr>
      <tr><td>时间:</td><td><input type="date" id="supplyTime"/></td></tr>
      <tr><td>备注:</td><td><textarea style="width:100%" id="supplyRemark" rows="3" cols="20"></textarea></td></tr>
    </table>
    <div style="width:100%; text-align: center;"><input type="button" value="保存" id="supplySave"/></div>
  </Action>
  <Action name="Updatesupply">
    <table style="padding:10%; width:100%;">
      <tr><td>名称:</td><td><input type="text" id="supplyNameU"/></td></tr>
      <tr><td>供给部门:</td><td><select id="supplyDepNameU"></select></td></tr>
      <tr><td>数量:</td><td><input type="number" id="supplyQuantityU"/></td></tr>
      <tr><td>时间:</td><td><input type="date" id="supplyTimeU"/></td></tr>
      <tr><td>备注:</td><td><textarea style="width:100%" id="supplyRemarkU" rows="3" cols="20"></textarea></td></tr>
    </table>
    <div style="width:100%; text-align: center;"><input type="button" value="保存" id="supplyUpdate"/></div>
  </Action>
</Actions>
