|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .form-button { | 
|---|
|  |  |  | margin-top: 10px; | 
|---|
|  |  |  | padding: 5px 20px; | 
|---|
|  |  |  | margin: 5px 10px 0 10px; | 
|---|
|  |  |  | padding: 5px 15px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | </style> | 
|---|
|  |  |  | </head> | 
|---|
|  |  |  | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <button class="form-button" id="save" onclick="save()">保存</button> | 
|---|
|  |  |  | <button class="form-button" id="remove" onclick="remove()">移除</button> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </body> | 
|---|
|  |  |  | <script> | 
|---|
|  |  |  | 
|---|
|  |  |  | parent.layer.closeAll(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | function remove() { | 
|---|
|  |  |  | parent.removeTableData({ | 
|---|
|  |  |  | locNo: $('#locNo').val(), | 
|---|
|  |  |  | matnr: $('#matnr').val(), | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | parent.layer.closeAll(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | function add() { | 
|---|
|  |  |  | countDom.val(Number(countDom.val()) + 1); | 
|---|
|  |  |  | } | 
|---|