|
@@ -494,10 +494,10 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="5" :span="6" style="margin-left: 20px;">
|
|
<el-col :xs="24" :sm="12" :lg="5" :span="6" style="margin-left: 20px;">
|
|
- <el-button type="info" round @click="calulate()"
|
|
|
|
- v-if="currentNode.nodeCode === 'DETERMINE_PRICE' || currentNode.nodeCode === 'GENERATE_STATEMENT' || currentNode.nodeCode === 'WRITE_REPORT' || currentNode.nodeCode === 'WRITE_LETTER'">计算价格</el-button>
|
|
|
|
- <el-button type="primary" round @click="saveCalulateResult()"
|
|
|
|
- v-if="currentNode.nodeCode === 'DETERMINE_PRICE' || currentNode.nodeCode === 'GENERATE_STATEMENT' || currentNode.nodeCode === 'WRITE_REPORT' || currentNode.nodeCode === 'WRITE_LETTER'">保存价格</el-button>
|
|
|
|
|
|
+ <el-button type="primary" round @click="calulate()"
|
|
|
|
+ v-if="currentNode.nodeCode === 'DETERMINE_PRICE' || currentNode.nodeCode === 'GENERATE_STATEMENT' || currentNode.nodeCode === 'WRITE_REPORT' || currentNode.nodeCode === 'WRITE_LETTER'">保存</el-button>
|
|
|
|
+ <!-- <el-button type="primary" round @click="saveCalulateResult()"
|
|
|
|
+ v-if="currentNode.nodeCode === 'DETERMINE_PRICE' || currentNode.nodeCode === 'GENERATE_STATEMENT' || currentNode.nodeCode === 'WRITE_REPORT' || currentNode.nodeCode === 'WRITE_LETTER'">保存价格</el-button> -->
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<el-table v-loading="calculating" element-loading-text="正在计算..." element-loading-spinner="el-icon-loading"
|
|
<el-table v-loading="calculating" element-loading-text="正在计算..." element-loading-spinner="el-icon-loading"
|
|
@@ -830,7 +830,7 @@
|
|
</div>
|
|
</div>
|
|
<div v-if="showProds" style="display: flex;margin-top: 50px;margin-bottom: 20px; width: 100%;">
|
|
<div v-if="showProds" style="display: flex;margin-top: 50px;margin-bottom: 20px; width: 100%;">
|
|
<el-card :body-style="{ padding: '0px' }" shadow="always" style="margin-left: 5%; margin-right: 5%; width: 20%;"
|
|
<el-card :body-style="{ padding: '0px' }" shadow="always" style="margin-left: 5%; margin-right: 5%; width: 20%;"
|
|
- v-if="hasStatement">
|
|
|
|
|
|
+ >
|
|
<img :src="statementCardPNG" class="image">
|
|
<img :src="statementCardPNG" class="image">
|
|
<div style="padding: 14px;">
|
|
<div style="padding: 14px;">
|
|
<span>房地产意见书</span>
|
|
<span>房地产意见书</span>
|
|
@@ -839,19 +839,15 @@
|
|
<time class="time">{{ statementProd.modified }}</time>
|
|
<time class="time">{{ statementProd.modified }}</time>
|
|
<div class="control">
|
|
<div class="control">
|
|
<el-button type="text" class="button" @click="doStamp(statementProd.files)"
|
|
<el-button type="text" class="button" @click="doStamp(statementProd.files)"
|
|
- :disabled="currentNode.nodeCode != 'GENERATE_STATEMENT' || !statementProd.isOnline">加盖公章</el-button>
|
|
|
|
- <el-button type="text" class="button" @click="warehouse()"
|
|
|
|
- :disabled="currentNode.nodeCode != 'STATEMENT_IN' && currentNode.nodeCode != 'STATEMENT_OUT'">出入库</el-button>
|
|
|
|
- <el-button type="text" class="button" @click="genProductionFile(1)"
|
|
|
|
- :disabled="currentNode.nodeCode != 'GENERATE_STATEMENT'">系统生成</el-button>
|
|
|
|
|
|
+ :disabled="!statementProd.isOnline">加盖公章</el-button>
|
|
|
|
+ <el-button type="text" class="button" @click="genProductionFile(1)" >系统生成</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<el-upload style="position: relative; top: -10px; padding: 10px;"
|
|
<el-upload style="position: relative; top: -10px; padding: 10px;"
|
|
:action="'/api/personalProduction/upload/' + target.id + '/1'" :file-list="statementProd.files" :limit="1"
|
|
:action="'/api/personalProduction/upload/' + target.id + '/1'" :file-list="statementProd.files" :limit="1"
|
|
:on-exceed="handleExceed" :on-preview="handleAttachmentPreview" :on-success="getProductions"
|
|
:on-exceed="handleExceed" :on-preview="handleAttachmentPreview" :on-success="getProductions"
|
|
:before-remove="handleRemoveFile">
|
|
:before-remove="handleRemoveFile">
|
|
- <el-button type="text" style="position: relative; left: 10px;top: -4px;"
|
|
|
|
- :disabled="currentNode.nodeCode != 'GENERATE_STATEMENT'">手动上传</el-button>
|
|
|
|
|
|
+ <el-button type="text" style="position: relative; left: 10px;top: -4px;">手动上传</el-button>
|
|
</el-upload>
|
|
</el-upload>
|
|
|
|
|
|
</el-card>
|
|
</el-card>
|
|
@@ -866,8 +862,6 @@
|
|
<div class="control">
|
|
<div class="control">
|
|
<el-button type="text" class="button" @click="doStamp(technicReportProd.files)"
|
|
<el-button type="text" class="button" @click="doStamp(technicReportProd.files)"
|
|
:disabled="currentNode.nodeCode != 'WRITE_REPORT'">加盖公章</el-button>
|
|
:disabled="currentNode.nodeCode != 'WRITE_REPORT'">加盖公章</el-button>
|
|
- <el-button type="text" class="button" @click="warehouse()"
|
|
|
|
- :disabled="currentNode.nodeCode != 'REPORT_IN' && currentNode.nodeCode != 'REPORT_OUT'">出入库</el-button>
|
|
|
|
<el-button type="text" class="button" @click="genProductionFile(2)"
|
|
<el-button type="text" class="button" @click="genProductionFile(2)"
|
|
:disabled="currentNode.nodeCode != 'WRITE_REPORT'">系统生成</el-button>
|
|
:disabled="currentNode.nodeCode != 'WRITE_REPORT'">系统生成</el-button>
|
|
</div>
|
|
</div>
|
|
@@ -891,8 +885,6 @@
|
|
<div class="control">
|
|
<div class="control">
|
|
<el-button type="text" class="button" @click="doStamp(finalReprotProd.files)"
|
|
<el-button type="text" class="button" @click="doStamp(finalReprotProd.files)"
|
|
:disabled="currentNode.nodeCode != 'WRITE_REPORT'">加盖公章</el-button>
|
|
:disabled="currentNode.nodeCode != 'WRITE_REPORT'">加盖公章</el-button>
|
|
- <el-button type="text" class="button" @click="warehouse()"
|
|
|
|
- :disabled="currentNode.nodeCode != 'REPORT_IN' && currentNode.nodeCode != 'REPORT_OUT'">出入库</el-button>
|
|
|
|
<el-button type="text" class="button" @click="genProductionFile(3)"
|
|
<el-button type="text" class="button" @click="genProductionFile(3)"
|
|
:disabled="currentNode.nodeCode != 'WRITE_REPORT'">系统生成</el-button>
|
|
:disabled="currentNode.nodeCode != 'WRITE_REPORT'">系统生成</el-button>
|
|
</div>
|
|
</div>
|
|
@@ -914,8 +906,6 @@
|
|
class="el-icon-circle-check"></i></span>
|
|
class="el-icon-circle-check"></i></span>
|
|
<time class="time">{{ letterReprotProd.modified }}</time>
|
|
<time class="time">{{ letterReprotProd.modified }}</time>
|
|
<div class="control">
|
|
<div class="control">
|
|
- <el-button type="text" class="button" @click="warehouse()"
|
|
|
|
- :disabled="currentNode.nodeCode != 'LETTER_IN' && currentNode.nodeCode != 'LETTER_OUT'">出入库</el-button>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<el-upload style="position: relative; top: -10px;padding: 10px;"
|
|
<el-upload style="position: relative; top: -10px;padding: 10px;"
|
|
@@ -1891,6 +1881,7 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ this.saveCalulateResult();
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
this.calculating = false;
|
|
this.calculating = false;
|
|
}, 500)
|
|
}, 500)
|
|
@@ -1903,14 +1894,16 @@ export default {
|
|
this.target.sellMoneyRate = this.compareList.sellMoneyRate;
|
|
this.target.sellMoneyRate = this.compareList.sellMoneyRate;
|
|
this.target.sellMoney = this.compareList.sellMoney;
|
|
this.target.sellMoney = this.compareList.sellMoney;
|
|
this.target.sellMoneyBase = this.compareList.sellMoneyBase;
|
|
this.target.sellMoneyBase = this.compareList.sellMoneyBase;
|
|
|
|
+ let message = this.target.price?'价格保存成功。':'价格未计算,暂存可比实例信息。';
|
|
|
|
+ let type = this.target.price?'success':'warning';
|
|
let taskRecord = this.buildTaskRecordDTO(this.compareList);
|
|
let taskRecord = this.buildTaskRecordDTO(this.compareList);
|
|
this.$api.personalCalculate.calculate(taskRecord).then(res => {
|
|
this.$api.personalCalculate.calculate(taskRecord).then(res => {
|
|
if (res.code === 200 && res.data) {
|
|
if (res.code === 200 && res.data) {
|
|
this.getCaluateTable(this.target.id);
|
|
this.getCaluateTable(this.target.id);
|
|
this.$notify({
|
|
this.$notify({
|
|
title: '成功',
|
|
title: '成功',
|
|
- message: '保存成功',
|
|
|
|
- type: 'success',
|
|
|
|
|
|
+ message: message,
|
|
|
|
+ type: type,
|
|
duration: 2000
|
|
duration: 2000
|
|
});
|
|
});
|
|
} else {
|
|
} else {
|