MicroCommunityWeb/public/components/common/allocationStorehouse/allocationStorehouse.html
2021-04-29 17:21:28 +08:00

81 lines
4.9 KiB
HTML

<div id="allocationStorehouseModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-body">
<h3 class="m-t-none m-b ">申请调拨</h3>
<div class="ibox-content">
<div>
<div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">源仓库</label>
<div class="col-sm-10">
<select class="custom-select" v-model="allocationStorehouseInfo.shIda">
<option selected value="">必填,请选择源仓库</option>
<option v-for="(item,index) in allocationStorehouseInfo.storehouses"
:key="index" v-bind:value="item.shId"
v-if="item.shId != allocationStorehouseInfo.shIdz">
{{item.shName}}
</option>
</select>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">物品名称</label>
<div class="col-sm-10">
<input v-model="allocationStorehouseInfo.resName" type="text"
placeholder="必填,请填写物品名称" class="form-control">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">库存</label>
<div class="col-sm-10">
<input v-model="allocationStorehouseInfo.curStock" type="text" disabled
placeholder="必填,请填写库存" class="form-control">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">目标仓库</label>
<div class="col-sm-10">
<select class="custom-select" v-model="allocationStorehouseInfo.shIdz">
<option selected value="">必填,请选择目标仓库</option>
<option v-for="(item,index) in allocationStorehouseInfo.storehouses"
:key="index" v-bind:value="item.shId"
v-if="item.shId != allocationStorehouseInfo.shIda">
{{item.shName}}
</option>
</select>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">调拨数量</label>
<div class="col-sm-10">
<input v-model="allocationStorehouseInfo.stock" type="text" placeholder="必填,请填写调拨数量"
class="form-control">
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">备注</label>
<div class="col-sm-10">
<textarea placeholder="必填,请填写备注" class="form-control"
v-model="allocationStorehouseInfo.remark">
</textarea>
</div>
</div>
<div class="ibox-content">
<button class="btn btn-primary float-right" type="button"
v-on:click="_allocationStorehouse()">
<i class="fa fa-check"></i>&nbsp;保存
</button>
<button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
data-dismiss="modal">
<i class="fa fa-times"></i>&nbsp;取消
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>