|
@@ -1,3 +1,51 @@
|
|
|
+<!--
|
|
|
+ddTime: 1631589637000
|
|
|
+appExclusivePrice: null
|
|
|
+attributeCategory: null
|
|
|
+attributeCategoryName: null
|
|
|
+attributeEntityList: []
|
|
|
+brandId: 1046505
|
|
|
+brandName: "0907更新部署直播间"
|
|
|
+categoryId: 1036110
|
|
|
+categoryName: "6041分类"
|
|
|
+counterPrice: null
|
|
|
+createUserDeptId: 176
|
|
|
+createUserId: 247
|
|
|
+extraPrice: null
|
|
|
+ggContent: "[{\"value\":\"32\",\"picUrl\":\"https://4dkk.4dage.com/shop/huafa/20210914/11201310556ed1.png\",\"uuid\":\"1-1\",\"specificationId\":50,\"inputVal\":{\"goodsNumber\":\"\",\"goodsSn\":\"\",\"retailPrice\":\"\",\"marketPrice\":\"\"}}]"
|
|
|
+goodsBrief: null
|
|
|
+goodsDesc: ""
|
|
|
+goodsImgList: []
|
|
|
+goodsNumber: 45
|
|
|
+goodsSimpleDesc: "1234"
|
|
|
+goodsSn: "2314"
|
|
|
+goodsSpecificationList: []
|
|
|
+goodsUnit: null
|
|
|
+guigeArr: "[{\"name\":\"test数据\",\"val\":[{\"name\":\"32\",\"picUrl\":\"https://4dkk.4dage.com/shop/huafa/20210914/11201310556ed1.png\",\"uuid\":\"1-1\"}],\"show\":false,\"picUrl\":\"\",\"specificationId\":50}]"
|
|
|
+id: 77006332
|
|
|
+isAppExclusive: 0
|
|
|
+isDelete: 0
|
|
|
+isHot: 0
|
|
|
+isLimited: 0
|
|
|
+isNew: 1
|
|
|
+isOnSale: 0
|
|
|
+keywords: null
|
|
|
+listPicUrl: "https://4dkk.4dage.com/shop/huafa/20210914/11203269611dc.png?x-oss-process=image/resize,m_fixed,w_400,h_400"
|
|
|
+marketPrice: 1233
|
|
|
+name: "3214"
|
|
|
+primaryPicUrl: "https://4dkk.4dage.com/shop/huafa/20210914/112028835f7db0.png?x-oss-process=image/resize,m_fixed,w_300,h_300"
|
|
|
+primaryProductId: null
|
|
|
+productList: []
|
|
|
+promotionDesc: null
|
|
|
+promotionTag: null
|
|
|
+realShopUrl: null
|
|
|
+retailPrice: 1233
|
|
|
+sellVolume: null
|
|
|
+sortOrder: null
|
|
|
+unitPrice: null
|
|
|
+updateTime: 1631589637000
|
|
|
+updateUserId: 247
|
|
|
+-->
|
|
|
<template>
|
|
|
<div>
|
|
|
<BasicTable @register="registerTable">
|
|
@@ -9,6 +57,9 @@
|
|
|
</template>
|
|
|
<template #orderType="{ record }"> {{ renderProductTypeLabel(record.orderType) }} </template>
|
|
|
|
|
|
+ <template #addTime="{ record }">
|
|
|
+ <Time :value="record.addTime" mode="datetime" />
|
|
|
+ </template>
|
|
|
<template #action="{ record }">
|
|
|
<TableAction
|
|
|
:actions="[
|
|
@@ -51,9 +102,10 @@
|
|
|
import ProductDrawer from './productDrawer.vue';
|
|
|
// import { PageWrapper } from '/@/components/Page';
|
|
|
import { columns, searchForm } from './list.data';
|
|
|
+ import { Time } from '/@/components/Time';
|
|
|
|
|
|
export default defineComponent({
|
|
|
- components: { BasicTable, TableAction, ProductDrawer },
|
|
|
+ components: { BasicTable, TableAction, ProductDrawer, Time },
|
|
|
setup() {
|
|
|
const { createMessage } = useMessage();
|
|
|
const go = useGo();
|
|
@@ -68,7 +120,7 @@
|
|
|
formConfig: searchForm,
|
|
|
showTableSetting: true,
|
|
|
tableSetting: { fullScreen: true },
|
|
|
- showIndexColumn: false,
|
|
|
+ showIndexColumn: true,
|
|
|
rowKey: 'id',
|
|
|
pagination: { pageSize: 20 },
|
|
|
bordered: true,
|