feat:【mall 商城】交易订单(90% ele 部分)

This commit is contained in:
YunaiV
2025-10-15 13:25:46 +08:00
parent 7fd071a79b
commit ce5fc8cf3d
5 changed files with 61 additions and 49 deletions

View File

@@ -77,10 +77,8 @@ export function useGridFormSchema(): VbenFormSchema[] {
component: 'ApiSelect',
componentProps: {
api: getSimpleDeliveryExpressList,
fieldNames: {
label: 'name',
value: 'id',
},
labelField: 'name',
valueField: 'id',
placeholder: '请选择快递公司',
clearable: true,
},
@@ -315,6 +313,8 @@ export function usePriceFormSchema(): VbenFormSchema[] {
placeholder: '请输入订单调价',
step: 0.1,
precision: 2,
controlsPosition: 'right',
class: '!w-full',
},
help: '订单调价。 正数,加价;负数,减价',
rules: 'required',
@@ -431,10 +431,8 @@ export function useDeliveryFormSchema(): VbenFormSchema[] {
component: 'ApiSelect',
componentProps: {
api: getSimpleDeliveryExpressList,
fieldNames: {
label: 'name',
value: 'id',
},
labelField: 'name',
valueField: 'id',
placeholder: '请选择物流公司',
},
dependencies: {