|
@@ -1,16 +1,13 @@
|
|
|
/* eslint-disable prettier/prettier */
|
|
|
-import { h } from "vue";
|
|
|
-import { ElImage, ElTag } from "element-plus";
|
|
|
+
|
|
|
import { DescriptionColumns } from "/@/components/BasicDescriptions";
|
|
|
import { FormConfig } from "/@/components/PageSearch";
|
|
|
-import { createTooltip } from "/@/utils/tooltip";
|
|
|
-import { GOOD_OPTIONS } from "/@/config/status";
|
|
|
import {
|
|
|
- renderStatus,
|
|
|
+ // renderStatus,
|
|
|
renderImage,
|
|
|
- renderImages
|
|
|
+ renderImages,
|
|
|
+ renderGoodParam
|
|
|
} from "/@/utils/column-helper";
|
|
|
-// import { payWayOptions, sendWayOptions, supplyAreaOptions } from "./_options";
|
|
|
|
|
|
export const projectFormConfig: FormConfig = {
|
|
|
labelWidth: "100px",
|
|
@@ -97,22 +94,23 @@ export const bargainColumns: DescriptionColumns = [
|
|
|
field: "good_banner_img",
|
|
|
label: "商品轮播图",
|
|
|
span: 12,
|
|
|
- // render: (_, row) => renderImages("good_banner_img").cellRenderer({ row })
|
|
|
+ render: (_, row) => renderImages("good_banner_img").cellRenderer({ row })
|
|
|
},
|
|
|
{
|
|
|
field: "good_img",
|
|
|
label: "商品详情图",
|
|
|
- // render: (_, row) => renderImages("good_img").cellRenderer({ row }),
|
|
|
+ render: (_, row) => renderImages("good_img").cellRenderer({ row }),
|
|
|
span: 12
|
|
|
},
|
|
|
{
|
|
|
field: "good_param",
|
|
|
label: "商品参数",
|
|
|
- span: 12
|
|
|
+ render: (_, row) => renderGoodParam("good_param").cellRenderer({ row }),
|
|
|
+ span: 24
|
|
|
},
|
|
|
{
|
|
|
field: "good_remark",
|
|
|
label: "商品备注",
|
|
|
- span: 12
|
|
|
+ span: 24
|
|
|
}
|
|
|
];
|