权门店时段销售

This commit is contained in:
2024-06-30 15:04:47 +08:00
parent ef817384bb
commit fa2f8761ae
4 changed files with 276 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ import Vue from 'vue'
window.axios = axios
const KENGEE_CDN_BASE = "http://10.0.97.209/presource/datascreen/"
const libs = [`${KENGEE_CDN_BASE}/js/pinyin.min.js`]
const libs = [`${KENGEE_CDN_BASE}/js/pinyin.min.js`, `${KENGEE_CDN_BASE}/js/dayjs.min.js`]
window.$glob = {}
window.$dicts = dicts
window.$waitFor = (target, t = 500) => new Promise(resolve => {
@@ -42,7 +42,7 @@ Vue.component("tableColumn", {
},
render(h) {
const config = this.$props.column
return h('el-table-column', {props: config},
return h('el-table-column', {props: {...config, label: `${config.label}` || "-"}},
config.children?.map(col => h("tableColumn", {props: {column: col}})) || h('template', {
slotScope: {
default: ({row}) => {