MicroCommunityWeb/public/pages/common/allocationStorehouseApplyManage/allocationStorehouseApplyManage.html
2022-03-29 12:58:07 +08:00

151 lines
8.4 KiB
HTML

<div class="animated fadeInRight ecommerce">
<div class="row">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5>调拨物品</h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_goBack()">返回
</button>
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openAllocationStorehouseModel()">
<i class="fa fa-plus"></i>选择物品
</button>
</div>
</div>
<div class="ibox-content">
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
<thead>
<tr>
<th class="text-center">物品ID</th>
<th class="text-center">物品类型</th>
<th class="text-center">物品名称</th>
<th class="text-center">物品规格</th>
<th class="text-center">是否是固定物品</th>
<th class="text-center">源仓库</th>
<th class="text-center">库存</th>
<th class="text-center">目标仓库</th>
<th class="text-center">调拨数量</th>
<th class="text-center">操作</th>
</tr>
</thead>
<tbody>
<tr v-for="resourceStore in allocationStorehouseManageInfo.resourceStores">
<td class="text-center" style="vertical-align: inherit;">{{resourceStore.resId}}</td>
<td class="text-center" style="vertical-align: inherit;">
{{resourceStore.parentRstName ? resourceStore.parentRstName : '-'}} > {{resourceStore.rstName ? resourceStore.rstName : '-'}}
</td>
<td class="text-center" style="vertical-align: inherit;">{{resourceStore.resName}}</td>
<td class="text-center" style="vertical-align: inherit;">
{{resourceStore.rssName ? resourceStore.rssName : '-'}}
</td>
<td class="text-center" style="vertical-align: inherit;">{{resourceStore.isFixedName}}</td>
<td class="text-center" style="vertical-align: inherit;">{{resourceStore.shaName}}</td>
<td class="text-center" style="vertical-align: inherit;">
{{resourceStore.stock}}{{resourceStore.unitCodeName}}
</td>
<td class="text-center" style="vertical-align: inherit;">
<select class="custom-select" v-model="resourceStore.shzId" style="width: 70%">
<option value="">必填,请选择目标仓库</option>
<option v-for="(item,index) in allocationStorehouseManageInfo.storehouses"
:key="index" v-bind:value="item.shId"
v-if="item.shId != resourceStore.shId">
{{item.shName}}
</option>
</select>
</td>
<td class="text-center" style="vertical-align: inherit;">
<input v-model="resourceStore.curStock" type="number" placeholder="必填,请填写调拨数量" class="form-control" style="width: 50%;display:inline; margin: auto">&nbsp;&nbsp;{{resourceStore.unitCodeName}}
</td>
<td class="text-center" style="vertical-align: inherit;">
<div class="btn-group">
<button class="btn-white btn btn-xs" v-on:click="_openDeleteResourceStoreModel(resourceStore)">取消调拨
</button>
</div>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="9">
<ul class="pagination float-right"></ul>
</td>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5>调拨说明</h5>
<div class="ibox-tools" style="top:10px;">
</div>
</div>
<div class="ibox-content">
<div class="form-group row">
<label class="col-sm-2 col-form-label">申请说明</label>
<div class="col-sm-10 ">
<textarea v-model="allocationStorehouseManageInfo.remark" placeholder="必填,请填写申请说明" class="form-control"></textarea>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div class="ibox">
<div class="ibox-title">
<h5>审批人信息</h5>
<div class="ibox-tools" style="top:10px;">
</div>
</div>
<div class="ibox-content" v-if="allocationStorehouseManageInfo.companyName">
<div class="form-group row">
<label class="col-sm-2 col-form-label">所属公司</label>
<div class="col-sm-10">
<input placeholder="必填,请填写所属公司" class="form-control" v-model="allocationStorehouseManageInfo.companyName" readonly/>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">所属部门</label>
<div class="col-sm-10">
<input placeholder="必填,请填写所属部门" class="form-control" v-model="allocationStorehouseManageInfo.departmentName" readonly/>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 col-form-label">员工</label>
<div class="col-sm-10">
<input placeholder="必填,请填写所属员工" class="form-control" v-model="allocationStorehouseManageInfo.staffName" readonly/>
</div>
</div>
</div>
<div class="ibox-content" v-else>
<div class="form-group row">
<label class="col-sm-2 col-form-label">员工</label>
<div class="col-sm-8">
<input type="text" class="form-control" placeholder="必填,请选择下一处理人" disabled v-model="allocationStorehouseManageInfo.staffName">
</div>
<div class="col-sm-2">
<button class="btn btn-white " type="button" v-on:click="chooseStaff()">
选择
</button>
</div>
</div>
</div>
</div>
</div>
<vc:create path="property/selectStaff"></vc:create>
<div class="row">
<div class="col-md-10"></div>
<div class="col-md-2 " style="margin-bottom:10px; text-align:right">
<button type="button" class="btn btn-primary" style="margin-left:10px;" v-on:click="_submitApply()">提交
</button>
</div>
</div>
<vc:create path="common/chooseResourceStore" emitChooseResourceStore="allocationStorehouseApply" emitLoadData="allocationStorehouseApply"></vc:create>
</div>