mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 22:27:55 +08:00
91 lines
6.6 KiB
HTML
91 lines
6.6 KiB
HTML
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="ibox ">
|
|
<div class="ibox-title">
|
|
<h5><span><vc:i18n name="物品信息" namespace="viewResourceStoreInfo3"></vc:i18n></span></h5>
|
|
<div class="ibox-tools" style="top:10px;">
|
|
<button type="button" v-if="viewResourceStoreInfo3.index != 2" class="btn btn-primary btn-sm"
|
|
style="margin-right:10px;" v-on:click="_openSelectResourceStoreInfoModel()">
|
|
<i class="fa fa-search"></i> <span><vc:i18n name="选择物品" namespace="viewResourceStoreInfo3"></vc:i18n></span>
|
|
</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"><span><vc:i18n name="物品类型" namespace="viewResourceStoreInfo3"></vc:i18n></span></th>
|
|
<th class="text-center"><span><vc:i18n name="物品名称" namespace="viewResourceStoreInfo3"></vc:i18n></span></th>
|
|
<th class="text-center"><span><vc:i18n name="物品规格" namespace="viewResourceStoreInfo3"></vc:i18n></span></th>
|
|
<th class="text-center"><span><vc:i18n name="物品编码" namespace="viewResourceStoreInfo3"></vc:i18n></span></th>
|
|
<th class="text-center"><span><vc:i18n name="是否是固定物品" namespace="viewResourceStoreInfo3"></vc:i18n></span></th>
|
|
<th class="text-center"><span><vc:i18n name="物品库存" namespace="viewResourceStoreInfo3"></vc:i18n></span></th>
|
|
<th class="text-center"><span><vc:i18n name="参考单价" namespace="viewResourceStoreInfo3"></vc:i18n></span></th>
|
|
<th class="text-center">{{viewResourceStoreInfo3.resOrderType == 10000 ? '采购数量' : '出库数量'}}</th>
|
|
<th class="text-center" v-if="viewResourceStoreInfo3.resOrderType == 10000"><span><vc:i18n name="采购单价" namespace="viewResourceStoreInfo3"></vc:i18n></span></th>
|
|
<th class="text-center" v-if="viewResourceStoreInfo3.resOrderType == 10000"><span><vc:i18n name="供应商" namespace="viewResourceStoreInfo3"></vc:i18n></span></th>
|
|
<th class="text-center"><span><vc:i18n name="备注" namespace="viewResourceStoreInfo3"></vc:i18n></span></th>
|
|
<th class="text-center"><span><vc:i18n name="操作" namespace="viewResourceStoreInfo3"></vc:i18n></span></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr v-for="resourceStore in viewResourceStoreInfo3.resourceStores">
|
|
<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.resCode}}</td>
|
|
<td class="text-center" style="vertical-align: inherit;">{{resourceStore.isFixedName}}</td>
|
|
<td class="text-center" style="vertical-align: inherit;">
|
|
{{resourceStore.stock}}{{resourceStore.unitCodeName}}
|
|
</td>
|
|
<td class="text-center" style="vertical-align: inherit;">{{resourceStore.contrastPrice}}</td>
|
|
<td class="text-center" style="vertical-align: inherit;">
|
|
<input v-model="resourceStore.purchaseQuantity" type="number" :placeholder="vc.i18n('必填,请填写数量','viewResourceStoreInfo3')"
|
|
class="form-control" style="width: 70%;display:inline; margin: auto"> {{resourceStore.unitCodeName}}
|
|
</td>
|
|
<td class="text-center" v-if="viewResourceStoreInfo3.resOrderType == 10000"
|
|
style="vertical-align: inherit;">
|
|
<input v-model="resourceStore.price" type="number" :placeholder="vc.i18n('必填,请填写采购单价','viewResourceStoreInfo3')"
|
|
class="form-control">
|
|
</td>
|
|
<td class="text-center" v-if="viewResourceStoreInfo3.resOrderType == 10000"
|
|
style="vertical-align: inherit;">
|
|
<select class="form-control" name="" id="" v-model="resourceStore.rsId">
|
|
<option value="" selected>{{vc.i18n('请选择','viewResourceStoreInfo3')}}</option>
|
|
<option v-for="supplier in viewResourceStoreInfo3.resourceSuppliers"
|
|
:value="supplier.rsId">{{supplier.supplierName}}
|
|
</option>
|
|
</select>
|
|
</td>
|
|
<td class="text-center" style="vertical-align: inherit;">
|
|
<input v-model="resourceStore.purchaseRemark" type="text" class="form-control">
|
|
</td>
|
|
<td class="text-center" style="vertical-align: inherit;">
|
|
<button type="button" class="btn btn-danger btn-sm" style="margin-right:10px;"
|
|
v-on:click="_removeSelectResourceStoreItem(resourceStore.resId)">
|
|
<i class="fa fa-times"></i> <span><vc:i18n name="移除" namespace="viewResourceStoreInfo3"></vc:i18n></span>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="12">
|
|
<ul class="pagination float-right"></ul>
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<vc:create path="common/chooseResourceStore3" emitChooseResourceStore="viewResourceStoreInfo"
|
|
emitLoadData="viewResourceStoreInfo">
|
|
</vc:create>
|
|
</div>
|
|
</div>
|