feat(custom): 新增若干功能
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-03-20 16:35:15 +08:00
parent 71f72ff03d
commit e139fed2a6

View File

@@ -82,6 +82,7 @@
:data="data" :data="data"
:pagination="pagination" :pagination="pagination"
:bordered="false" :bordered="false"
:scroll-x="1800"
remote remote
/> />
</CommonPage> </CommonPage>
@@ -89,6 +90,7 @@
<script setup> <script setup>
import api from './api' import api from './api'
import { NEllipsis } from 'naive-ui'
const loading = ref(false) const loading = ref(false)
@@ -101,15 +103,15 @@ const queryData = ref({
const songs = ref([ const songs = ref([
{ {
value: 0, value: 1,
label: '未付款', label: '未付款',
}, },
{ {
value: 1, value: 2,
label: '已付款', label: '已付款',
}, },
{ {
value: 2, value: 3,
label: '挂帐中', label: '挂帐中',
}, },
]) ])
@@ -159,8 +161,10 @@ const columns = ref([
row.OrderGoods.forEach((item) => { row.OrderGoods.forEach((item) => {
el.push( el.push(
h( h(
'div', NEllipsis,
{}, {
style: 'max-width: 100px',
},
{ {
default: () => `${item.Goods.name}|${item.pay_price}元|X${item.number}`, default: () => `${item.Goods.name}|${item.pay_price}元|X${item.number}`,
} }