MicroCommunityWeb/public/pages/common/allocationStorehouseDetail/allocationStorehouseDetail.html

204 lines
11 KiB
HTML

<div>
<div class="row">
<div class="col-lg-12">
<div class="ibox ">
<div class="ibox-title">
<h5>
<vc:i18n name="申请信息" namespace="allocationStorehouseDetail"></vc:i18n>
</h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-primary btn-sm"
v-on:click="_printAllocationStorehouse()">
<i class="fa fa-print"></i>
<vc:i18n name="打印" namespace="allocationStorehouseDetail"></vc:i18n>
</button>
<button type="button" class="btn btn-primary btn-sm" v-on:click="_callBackListPurchaseApply()">
<i class="fa fa-close"></i>返回
</button>
</div>
</div>
<div class="ibox-content">
<div class="row">
<div class="col-sm-4">
<div class="form-group">
<label class="col-form-label">
<vc:i18n name="申请人:" namespace="allocationStorehouseDetail"></vc:i18n>
</label>
<label class="">{{allocationStorehouseDetailInfo.startUserName}}</label>
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
<label class="col-form-label">
<vc:i18n name="申请时间:" namespace="allocationStorehouseDetail"></vc:i18n>
</label>
<label class="">{{allocationStorehouseDetailInfo.createTime}}</label>
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
<label class="col-form-label">
<vc:i18n name="类型:" namespace="allocationStorehouseDetail"></vc:i18n>
</label>
<label class="">{{allocationStorehouseDetailInfo.applyTypeName}}</label>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<div class="form-group">
<label class="col-form-label">
<vc:i18n name="状态:" namespace="allocationStorehouseDetail"></vc:i18n>
</label>
<label class="">{{allocationStorehouseDetailInfo.stateName}}</label>
</div>
</div>
<div class="col-sm-8">
<div class="form-group">
<label class="col-form-label">
<vc:i18n name="申请说明:" namespace="allocationStorehouseDetail"></vc:i18n>
</label>
<label class="">{{allocationStorehouseDetailInfo.remark}}</label>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="ibox ">
<div class="ibox-title">
<h5>
<vc:i18n name="调拨物品" namespace="allocationStorehouseDetail"></vc:i18n>
</h5>
<div class="ibox-tools" style="top:10px;"></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">
<vc:i18n name="物品ID" namespace="allocationStorehouseDetail"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="物品类型" namespace="allocationStorehouseDetail"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="物品名称" namespace="allocationStorehouseDetail"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="物品规格" namespace="allocationStorehouseDetail"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="物品编码" namespace="allocationStorehouseDetail"></vc:i18n>
</th>
<th class="text-center">
<vc:i18n name="固定物品" namespace="allocationStorehouseDetail"></vc:i18n>
</th>
<th class="text-center">{{allocationStorehouseDetailInfo.applyType == '10000' ||
allocationStorehouseDetailInfo.applyType == '30000' ? '被调仓库' : '退还人'}}
</th>
<th class="text-center">
<vc:i18n name="目标仓库" namespace="allocationStorehouseDetail"></vc:i18n>
</th>
<th class="text-center">
<span><vc:i18n name="原库存" namespace="allocationStorehouseDetail"></vc:i18n></span>
({{allocationStorehouseDetailInfo.applyType == '30000' ? '目标仓库' : '被调仓库'}})
</th>
<th class="text-center">
<vc:i18n name="调拨数量" namespace="allocationStorehouseDetail"></vc:i18n>
</th>
</tr>
</thead>
<tbody>
<tr v-for="resourceStore in allocationStorehouseDetailInfo.resourceStores">
<td class="text-center">{{resourceStore.resId}}</td>
<td class="text-center">{{resourceStore.parentRstName}} > {{resourceStore.rstName}}</td>
<td class="text-center">{{resourceStore.resName}}</td>
<td class="text-center">{{resourceStore.specName ? resourceStore.specName : '-'}}</td>
<td class="text-center">{{resourceStore.resCode}}</td>
<td class="text-center">{{resourceStore.isFixedName}}</td>
<td class="text-center">{{allocationStorehouseDetailInfo.applyType == '10000' ||
allocationStorehouseDetailInfo.applyType == '30000' ? resourceStore.shaName :
allocationStorehouseDetailInfo.startUserName}}
</td>
<td class="text-center">{{resourceStore.shzName}}</td>
<td class="text-center">{{resourceStore.originalStock}}{{resourceStore.unitCodeName}}</td>
<td class="text-center">{{resourceStore.stock}}{{resourceStore.applyType==20000 ?
resourceStore.miniUnitCodeName : resourceStore.unitCodeName}}
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="10">
<ul class="pagination float-right"></ul>
</td>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</div>
<div class="row" v-if="allocationStorehouseDetailInfo.applyType == '10000'">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5>
<vc:i18n name="工单流转" namespace="allocationStorehouseDetail"></vc:i18n>
</h5>
<div class="ibox-tools" style="top:10px;"></div>
</div>
<div class="ibox-content">
<table class="table table-stripped">
<thead>
<tr>
<th scope="col" class="text-center">
<vc:i18n name="序号" namespace="allocationStorehouseDetail"></vc:i18n>
</th>
<th scope="col" class="text-center">
<vc:i18n name="处理人" namespace="allocationStorehouseDetail"></vc:i18n>
</th>
<th scope="col" class="text-center">
<vc:i18n name="状态" namespace="allocationStorehouseDetail"></vc:i18n>
</th>
<th scope="col" class="text-center">
<vc:i18n name="处理时间" namespace="allocationStorehouseDetail"></vc:i18n>
</th>
<th scope="col" class="text-center">
<vc:i18n name="耗时" namespace="allocationStorehouseDetail"></vc:i18n>
</th>
<th scope="col" class="text-center">
<vc:i18n name="意见" namespace="allocationStorehouseDetail"></vc:i18n>
</th>
</tr>
</thead>
<tbody>
<tr v-for="(tItem,index) in allocationStorehouseDetailInfo.auditUsers">
<td class="text-center">{{index+1}}</td>
<td class="text-center">{{tItem.userName?tItem.userName:tItem.auditName}}</td>
<td class="text-center">{{tItem.stateName}}</td>
<td class="text-center">{{tItem.auditTime}}</td>
<td class="text-center">{{tItem.duration}}</td>
<td class="text-center">{{tItem.message}}</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="6">
<ul class="pagination float-right"></ul>
</td>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</div>
<div v-if="allocationStorehouseDetailInfo.action == 'audit'">
<vc:create path="common/auditDiv"></vc:create>
</div>
</div>