feat: 🚀 是否作废

This commit is contained in:
2025-07-16 09:33:11 +08:00
parent 7f660e72f7
commit 3bc63f076b
2 changed files with 11 additions and 11 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 = [
@@ -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",

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",