feat: 🚀 是否作废

This commit is contained in:
2025-07-07 14:09:55 +08:00
parent a6519ae290
commit eb32b4309e
2 changed files with 10 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
// import { STATUS } from "@/constant"; // import { STATUS } from "@/constant";
import { RenderScope } from "@/components/ProTable/interface"; // import { RenderScope } from "@/components/ProTable/interface";
// 销售订单 表格配置项 // 销售订单 表格配置项
export const COLUMNS = [ export const COLUMNS = [
@@ -123,10 +123,10 @@ export const COLUMNS = [
align: "left", align: "left",
label: "是否作废", label: "是否作废",
prop: "isRepeal", prop: "isRepeal",
width: "120", width: "120"
render: (scope: RenderScope<any>): VNode | string | any => { // render: (scope: RenderScope<any>): VNode | string | any => {
return scope.row.isRepeal ? "是" : "否"; // return scope.row.isRepeal ? "是" : "否";
} // }
}, },
{ {
align: "left", align: "left",

View File

@@ -1,5 +1,5 @@
// import { STATUS } from "@/constant"; // import { STATUS } from "@/constant";
import { RenderScope } from "@/components/ProTable/interface"; // import { RenderScope } from "@/components/ProTable/interface";
// 销售订单 表格配置项 // 销售订单 表格配置项
export const COLUMNS = [ export const COLUMNS = [
@@ -129,10 +129,10 @@ export const COLUMNS = [
align: "left", align: "left",
label: "是否作废", label: "是否作废",
prop: "isRepeal", prop: "isRepeal",
width: "120", width: "120"
render: (scope: RenderScope<any>): VNode | string | any => { // render: (scope: RenderScope<any>): VNode | string | any => {
return scope.row.isRepeal ? "是" : "否"; // return scope.row.isRepeal ? "是" : "否";
} // }
}, },
{ {
align: "left", align: "left",