You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
2.0 KiB
35 lines
2.0 KiB
<div class="window-modal" x-cloak data-type="window-modal" x-show="modalShow.other" x-ref="createOtherOptionModal" id="createOtherOptionModal">
|
|
<div class="window-modal-content modal-xl">
|
|
<div class="window-modal-header">
|
|
<h4>新增附加項目</h4>
|
|
<button class="btn btn-close" @click="hideCreateOtherOptionModal()">X</button>
|
|
</div>
|
|
<div class="window-modal-body">
|
|
<div>
|
|
<table class="table">
|
|
<tr class="table-active">
|
|
<th>詢價單號</th>
|
|
<th>項目名稱</th>
|
|
<th>單價</th>
|
|
<th>數量</th>
|
|
<th>複價</th>
|
|
<th>備註</th>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="text" class="form-control" x-model="modalOtherOptionInfo.pr_no"></td>
|
|
<td><input type="text" class="form-control" x-model="modalOtherOptionInfo.name"></td>
|
|
<td><input type="number" class="form-control" x-model="modalOtherOptionInfo.price"></td>
|
|
<td><input type="number" style="width:80px;" class="form-control" x-model="modalOtherOptionInfo.num"></td>
|
|
<td><input type="text" disabled class="form-control" x-model="(modalOtherOptionInfo.price * modalOtherOptionInfo.num).toLocaleString()"></td>
|
|
<td><input type="text" class="form-control" x-model="modalOtherOptionInfo.memo"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-secondary" @click="hideCreateOtherOptionModal()">關閉</button>
|
|
<button type="button" class="btn btn-primary" @click="createOtherOptionFn()">新增</button>
|
|
</div>
|
|
</div>
|
|
<div class="window-back" @click="hideCreateOtherOptionModal()"></div>
|
|
</div>
|