|
@@ -429,8 +429,8 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6" :span="6">
|
|
<el-col :xs="24" :sm="12" :lg="6" :span="6">
|
|
- <el-form-item label="评估总价(元):" prop="amount" label-width="140px" class="postInfo-container-item">
|
|
|
|
- <el-input-number v-model="target.amount" size="medium" controls-position="right" :min="0"
|
|
|
|
|
|
+ <el-form-item label="评估总价(万元):" prop="amount" label-width="140px" class="postInfo-container-item">
|
|
|
|
+ <el-input-number v-model="target.amount" size="medium" controls-position="right" :min="0" :precision="2"
|
|
style="width: 100%;"></el-input-number>
|
|
style="width: 100%;"></el-input-number>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -1000,7 +1000,7 @@
|
|
<el-button type="primary" @click="doOutWareHouse()">确 定</el-button>
|
|
<el-button type="primary" @click="doOutWareHouse()">确 定</el-button>
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
- <el-dialog :visible.sync="checkDialog" width="50%" center top="25vh" custom-class="doWarehouseClass">
|
|
|
|
|
|
+ <el-dialog :visible.sync="checkDialog" width="1000px" center top="25vh" custom-class="doWarehouseClass">
|
|
<el-divider content-position="left">产品审核</el-divider>
|
|
<el-divider content-position="left">产品审核</el-divider>
|
|
<el-form ref="targetForm" :model="target">
|
|
<el-form ref="targetForm" :model="target">
|
|
<el-row>
|
|
<el-row>
|
|
@@ -1045,7 +1045,7 @@
|
|
<el-form-item label="评估总价:" prop="amount" label-width="140px" class="postInfo-container-item">
|
|
<el-form-item label="评估总价:" prop="amount" label-width="140px" class="postInfo-container-item">
|
|
<el-input v-model="target.amount" disabled readonly>
|
|
<el-input v-model="target.amount" disabled readonly>
|
|
<template slot="append">
|
|
<template slot="append">
|
|
- <span>元</span>
|
|
|
|
|
|
+ <span>万元</span>
|
|
</template>
|
|
</template>
|
|
</el-input>
|
|
</el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -1165,8 +1165,8 @@ export default {
|
|
},
|
|
},
|
|
target: {
|
|
target: {
|
|
handler(newVal, oldVal) {
|
|
handler(newVal, oldVal) {
|
|
- if (newVal.acreage != null && newVal.price != null) {
|
|
|
|
- newVal.amount = Math.round(newVal.acreage * newVal.price)
|
|
|
|
|
|
+ if (newVal.acreage != null && newVal.price != null && newVal.price !=null && newVal.price != 0) {
|
|
|
|
+ newVal.amount = (newVal.acreage * newVal.price/10000).toFixed(2)
|
|
}
|
|
}
|
|
if (newVal.id) {
|
|
if (newVal.id) {
|
|
this.getProductions();
|
|
this.getProductions();
|
|
@@ -1989,8 +1989,8 @@ export default {
|
|
let target = new Object();
|
|
let target = new Object();
|
|
target.id = this.target.id;
|
|
target.id = this.target.id;
|
|
target.personalId = this.target.personalId;
|
|
target.personalId = this.target.personalId;
|
|
- target.price = this.target.price;
|
|
|
|
- target.amount = this.target.amount;
|
|
|
|
|
|
+ target.price = Math.round(this.target.amount*10000/this.target.acreage);
|
|
|
|
+ target.amount = this.target.amount*10000;
|
|
target.acreage = this.target.acreage;
|
|
target.acreage = this.target.acreage;
|
|
target.location = this.personal.location;
|
|
target.location = this.personal.location;
|
|
target.bailorA = this.personal.bailorA;
|
|
target.bailorA = this.personal.bailorA;
|
|
@@ -2004,6 +2004,7 @@ export default {
|
|
type: 'success',
|
|
type: 'success',
|
|
duration: 2000
|
|
duration: 2000
|
|
});
|
|
});
|
|
|
|
+ this.getPersonalTarget();
|
|
} else {
|
|
} else {
|
|
this.$notify({
|
|
this.$notify({
|
|
title: '失败',
|
|
title: '失败',
|