@@ -164,24 +164,26 @@ const config = computed(() => {
{
attrs: {
label: "操作",
- width: "200",
- align: "right",
+ width: "120",
+ align: "center",
},
// 渲染 el-button,一般用在最后一列。
renderHTML(row) {
return [
- {
- attrs: {
- label: "打款",
- type: "primary",
- text: true,
- },
- el: "button",
- click() {
- formOption.disabled = false;
- getDtl(row);
+ row.status == 20
+ ? {
+ attrs: {
+ label: "打款",
+ type: "primary",
+ text: true,
+ },
+ el: "button",
+ click() {
+ formOption.disabled = false;
+ getDtl(row);
+ }
+ : {},
label: "查看",