|
@@ -646,22 +646,28 @@
|
|
<div v-if="orderProduction.reports!=null && orderProduction.reports.length>0">
|
|
<div v-if="orderProduction.reports!=null && orderProduction.reports.length>0">
|
|
<el-row v-for="(r,index) in orderProduction.reports">
|
|
<el-row v-for="(r,index) in orderProduction.reports">
|
|
<div >
|
|
<div >
|
|
- <el-col :xs="24" :sm="12" :lg="6" :span="6">
|
|
|
|
- <el-form-item :label="productionLabel+(index+1)+':'" prop="productionType" label-width="120px" class="postInfo-container-item">
|
|
|
|
|
|
+ <el-col :xs="24" :sm="12" :lg="5" :span="6">
|
|
|
|
+ <el-form-item :label="productionLabel+(index+1)+':'" prop="productionType" label-width="90px" class="postInfo-container-item">
|
|
<el-input :value="r.productionType" type="text" class="filter-item" disabled readonly />
|
|
<el-input :value="r.productionType" type="text" class="filter-item" disabled readonly />
|
|
</el-form-item >
|
|
</el-form-item >
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :xs="24" :sm="12" :lg="10" :span="6">
|
|
|
|
- <el-form-item label="报告号:" prop="businessSubId" label-width="120px" class="postInfo-container-item">
|
|
|
|
|
|
+ <el-col :xs="24" :sm="12" :lg="7" :span="6">
|
|
|
|
+ <el-form-item label="报告号:" prop="businessSubId" label-width="90px" class="postInfo-container-item">
|
|
<el-input :value="r.businessSubId" type="text" class="filter-item" disabled readonly />
|
|
<el-input :value="r.businessSubId" type="text" class="filter-item" disabled readonly />
|
|
</el-form-item >
|
|
</el-form-item >
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :xs="24" :sm="12" :lg="8" :span="6">
|
|
|
|
- <el-form-item label="已分配金额:" prop="claimedAmount" label-width="140px" class="postInfo-container-item">
|
|
|
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6" :span="6">
|
|
|
|
+ <el-form-item label="已分配金额:" prop="claimedAmount" label-width="120px" class="postInfo-container-item">
|
|
<el-input-number :precision="2" :min="0" :value-on-clear="0" v-model.number="r.claimedAmount" type="number"
|
|
<el-input-number :precision="2" :min="0" :value-on-clear="0" v-model.number="r.claimedAmount" type="number"
|
|
style="width:100%" class="filter-item" readonly disabled/>
|
|
style="width:100%" class="filter-item" readonly disabled/>
|
|
</el-form-item >
|
|
</el-form-item >
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6" :span="6">
|
|
|
|
+ <el-form-item label="本次分配:" prop="thisTimeAmount" label-width="100px" class="postInfo-container-item">
|
|
|
|
+ <el-input-number :precision="2" :min="0" :value-on-clear="0" v-model.number="r.thisTimeAmount" type="number"
|
|
|
|
+ style="width:100%" class="filter-item" />
|
|
|
|
+ </el-form-item >
|
|
|
|
+ </el-col>
|
|
</div>
|
|
</div>
|
|
</el-row>
|
|
</el-row>
|
|
</div>
|
|
</div>
|
|
@@ -1221,7 +1227,7 @@ export default {
|
|
this.$api.businessProduction.getProductionByOrderFundId(orderFundId).then(res=>{
|
|
this.$api.businessProduction.getProductionByOrderFundId(orderFundId).then(res=>{
|
|
if (res.code === 200){
|
|
if (res.code === 200){
|
|
this.orderProduction.reports = res.data;
|
|
this.orderProduction.reports = res.data;
|
|
- let allotAmount = res.data.map(item=>item.realAmount).reduce(function(prev,cur){
|
|
|
|
|
|
+ let allotAmount = res.data.map(item=>item.claimedAmount).reduce(function(prev,cur){
|
|
return prev + cur;
|
|
return prev + cur;
|
|
},0);
|
|
},0);
|
|
this.notAllotAmount = this.orderProduction.realAmount -allotAmount;
|
|
this.notAllotAmount = this.orderProduction.realAmount -allotAmount;
|