离线合同
This commit is contained in:
@@ -326,8 +326,8 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" width="240" fixed="right">
|
<el-table-column label="操作" align="center" width="240" fixed="right">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button :disabled="parseInt(scope.row.离线合同状态)!==1" type="primary" size="mini" @click="editOfflineContract(scope.row)">编辑</el-button>
|
<el-button :disabled="arrival(scope.row)" type="primary" size="mini" @click="editOfflineContract(scope.row)">编辑</el-button>
|
||||||
<el-button :disabled="parseInt(scope.row.离线合同状态)!==1" type="danger" size="mini" @click="deleteOfflineContract(scope.row)">删除</el-button>
|
<el-button :disabled="arrival(scope.row)" type="danger" size="mini" @click="deleteOfflineContract(scope.row)">删除</el-button>
|
||||||
<el-button type="warning" size="mini" @click="exportExcel(scope.row)">导出</el-button>
|
<el-button type="warning" size="mini" @click="exportExcel(scope.row)">导出</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -1158,7 +1158,7 @@ export default {
|
|||||||
this.$set(v, '未税单价', v.单价 / (1 + this.taxRate))
|
this.$set(v, '未税单价', v.单价 / (1 + this.taxRate))
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
Number(row.离线合同状态) !== 1 ? this.disable = true : this.disable = false // 是否为编辑模式
|
this.arrival(row) ? this.disable = true : this.disable = false // 是否为编辑模式
|
||||||
},
|
},
|
||||||
getSummaries(param) { // 合计
|
getSummaries(param) { // 合计
|
||||||
const { columns, data } = param
|
const { columns, data } = param
|
||||||
|
|||||||
Reference in New Issue
Block a user