离线合同:按钮禁用
This commit is contained in:
@@ -233,7 +233,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 type="danger" size="mini" icon="el-icon-delete" @click="deleteMateriel(scope.row)">移除</el-button>
|
<el-button :disabled="disable" type="danger" size="mini" icon="el-icon-delete" @click="deleteMateriel(scope.row)">移除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -243,7 +243,7 @@
|
|||||||
<el-table
|
<el-table
|
||||||
:data="tableData4"
|
:data="tableData4"
|
||||||
:show-header="false"
|
:show-header="false"
|
||||||
highlight-current-row
|
:highlight-current-row="!disable"
|
||||||
border
|
border
|
||||||
height="280px"
|
height="280px"
|
||||||
style="width: 250px;display:inline-block;max-height: 280px;"
|
style="width: 250px;display:inline-block;max-height: 280px;"
|
||||||
@@ -256,7 +256,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-input :rows="20" v-model="textArea" :readonly="disable" type="textarea" style="width:calc(99% - 250px);float:right;margin-bottom: 20px" resize="none"/>
|
<el-input :rows="20" v-model="textArea" :readonly="disable" type="textarea" style="width:calc(99% - 250px);float:right;margin-bottom: 20px" resize="none"/>
|
||||||
<el-button type="success" size="mini" icon="el-icon-circle-check-outline" @click="doneOfflineContact">生成离线合同</el-button>
|
<el-button :disabled="disable" type="success" size="mini" icon="el-icon-circle-check-outline" @click="doneOfflineContact">生成离线合同</el-button>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
|
||||||
<el-dialog :visible.sync="dialogVisible1" title="供应商选择" center style="min-height: 300px">
|
<el-dialog :visible.sync="dialogVisible1" title="供应商选择" center style="min-height: 300px">
|
||||||
@@ -963,9 +963,11 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.paramRow = row
|
this.paramRow = row
|
||||||
searchContractDemo(this.paramRow.合同模板流水号).then(response => {
|
if (!this.disable) {
|
||||||
this.textArea = response.data[0].合同模板内容.replace('stipulateArrivalTime', this.stipulateArrivalTime).replace('payMethodName', this.payMethodName)
|
searchContractDemo(this.paramRow.合同模板流水号).then(response => {
|
||||||
})
|
this.textArea = response.data[0].合同模板内容.replace('stipulateArrivalTime', this.stipulateArrivalTime).replace('payMethodName', this.payMethodName)
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
payMethodChange() { // 付款方式改变
|
payMethodChange() { // 付款方式改变
|
||||||
for (let i = 0; i < this.payMethod.length; i++) {
|
for (let i = 0; i < this.payMethod.length; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user