删除合同
This commit is contained in:
@@ -141,7 +141,7 @@
|
|||||||
<span>合同总额:</span>
|
<span>合同总额:</span>
|
||||||
<el-input v-model="actualTotal" size="small" style="width: 100px"/>
|
<el-input v-model="actualTotal" size="small" style="width: 100px"/>
|
||||||
<el-button type="primary" size="small" @click="submitTotal()">确定总额</el-button>
|
<el-button type="primary" size="small" @click="submitTotal()">确定总额</el-button>
|
||||||
<el-button type="success" size="small" @click="generateContract()">生成合同</el-button>
|
<el-button type="success" size="small" @click="generateContract()">递交审批</el-button>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<!--html代码-->
|
<!--html代码-->
|
||||||
@@ -546,7 +546,7 @@ export default {
|
|||||||
this.交货期组.push(this.tableData1[i].交货期)
|
this.交货期组.push(this.tableData1[i].交货期)
|
||||||
}
|
}
|
||||||
if (this.contractNumValue) {
|
if (this.contractNumValue) {
|
||||||
this.$confirm('此操作将生成采购合同,确认完成编辑?', '提示', {
|
this.$confirm('此采购合同将递交审批,递交后该合同不可删除,确认完成编辑?', '提示', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
|
|||||||
@@ -133,7 +133,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" min-width="100">
|
<el-table-column label="操作" align="center" min-width="100">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button :disabled="disable[scope.$index]" type="danger" size="mini" icon="el-icon-delete" @click="deleteContract(scope.row)">删除</el-button>
|
<el-button :disabled="true" type="danger" size="mini" icon="el-icon-delete" @click="deleteContract(scope.row)">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -327,7 +327,6 @@ export default {
|
|||||||
this.searchTable1()
|
this.searchTable1()
|
||||||
},
|
},
|
||||||
searchTable2(row) {
|
searchTable2(row) {
|
||||||
this.searchPic() // 显示图片
|
|
||||||
this.contractValue = parseInt(row.采购合同流水号)
|
this.contractValue = parseInt(row.采购合同流水号)
|
||||||
searchTable2(this.contractValue).then(response => {
|
searchTable2(this.contractValue).then(response => {
|
||||||
this.returns = response.data[0].合同内容
|
this.returns = response.data[0].合同内容
|
||||||
|
|||||||
Reference in New Issue
Block a user