|
@@ -277,7 +277,7 @@
|
|
|
style="width: 100%; margin-top:20px;font-size: 14px;">
|
|
|
<el-table-column align="center" prop="realAmount" label="申请时实收款金额(元)" width="180">
|
|
|
<template slot-scope="{row}">
|
|
|
- <span>{{ row.realAmount == null ? '-' : row.realAmount }}</span>
|
|
|
+ <span style="color:red;font-weight:bold">{{ row.realAmount == null ? '0' : row.realAmount }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" prop="applyName" label="申请人">
|
|
@@ -379,6 +379,9 @@
|
|
|
<el-button
|
|
|
v-if="r.productionNo === statementNo && !r.delivery && r.production === 'STATEMENT'"
|
|
|
style="float: right; padding: 3px 0;" type="text" @click="confirmDelivery(r.id)">确认送达</el-button>
|
|
|
+ <el-button
|
|
|
+ v-if="!r.delivery && r.production != 'STATEMENT' && r.repertoryState"
|
|
|
+ style="float: right; padding: 3px 0;" type="text" @click="noTaskConfirmDelivery(r.id)">确认送达</el-button>
|
|
|
</div>
|
|
|
<el-form :model="r">
|
|
|
<el-row>
|
|
@@ -678,6 +681,7 @@ export default {
|
|
|
if (this.todoBusinessId) {
|
|
|
this.productionListDialog = true;
|
|
|
this.productionList(this.todoBusinessId, this.reportNo == null ? this.statementNo : this.reportNo)
|
|
|
+ console.log(this.reportNo)
|
|
|
this.activeName = this.reportNo == null ? this.statementNo : this.reportNo
|
|
|
}
|
|
|
},
|
|
@@ -1036,6 +1040,33 @@ export default {
|
|
|
}
|
|
|
return name;
|
|
|
},
|
|
|
+ noTaskConfirmDelivery(id){
|
|
|
+ this.$confirm('确认执行产品送达操作?', '提示', {
|
|
|
+ confirmButtonText: '确认送达',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning',
|
|
|
+ center: true
|
|
|
+ }).then(() => {
|
|
|
+ this.$api.majorProduction.noTaskConfirmDelivery(id).then(res=>{
|
|
|
+ if (res.code === 200 && res.data) {
|
|
|
+ this.$notify({
|
|
|
+ title: '成功',
|
|
|
+ message: '产品送达状态修改成功',
|
|
|
+ type: 'success',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ this.productionListDialog = false;
|
|
|
+ }else {
|
|
|
+ this.$notify({
|
|
|
+ title: '失败',
|
|
|
+ message: '产品送达状态修改失败',
|
|
|
+ type: 'error',
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
confirmDelivery(id) {
|
|
|
this.$confirm('确认执行产品送达操作?', '提示', {
|
|
|
confirmButtonText: '确认送达',
|
|
@@ -1094,6 +1125,7 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+
|
|
|
openAllotProductionDialog(row) {
|
|
|
if (!row.orderFundId) {
|
|
|
this.$notify({
|