|
|
@@ -47,6 +47,33 @@ const formOptions: VbenFormProps = {
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
+ component: 'Input',
|
|
|
+ fieldName: 'coupon2code',
|
|
|
+ label: '优惠券代码',
|
|
|
+ componentProps: {
|
|
|
+ placeholder: $t('ui.placeholder.input'),
|
|
|
+ clearable: true,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ component: 'Input',
|
|
|
+ fieldName: 'usersname',
|
|
|
+ label: '姓名',
|
|
|
+ componentProps: {
|
|
|
+ placeholder: $t('ui.placeholder.input'),
|
|
|
+ clearable: true,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ component: 'Input',
|
|
|
+ fieldName: 'usersphone',
|
|
|
+ label: '手机号',
|
|
|
+ componentProps: {
|
|
|
+ placeholder: $t('ui.placeholder.input'),
|
|
|
+ clearable: true,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
component: 'Select',
|
|
|
fieldName: 'coupon2sype',
|
|
|
label: '优惠券状态',
|
|
|
@@ -143,7 +170,7 @@ const gridOptions: VxeGridProps<any> = {
|
|
|
columns: [
|
|
|
{ title: '序号', type: 'seq', width: 50 },
|
|
|
// { title: '优惠券ID', field: 'coupon2sid', sortable: true },
|
|
|
- // { title: '优惠券代码', field: 'coupon2code', sortable: true },
|
|
|
+ { title: '优惠券代码', field: 'coupon2code', sortable: true },
|
|
|
{ title: '产品名称', field: 'productsname', sortable: true },
|
|
|
{ title: '产品型号', field: 'productsmodel', sortable: true },
|
|
|
{ title: '机具类型', field: 'productsjjlx', sortable: true },
|
|
|
@@ -151,6 +178,7 @@ const gridOptions: VxeGridProps<any> = {
|
|
|
{ title: '优惠券名称', field: 'coupon2mc', sortable: true },
|
|
|
{ title: '可用产品', field: 'productsname', sortable: true },
|
|
|
{ title: '购机者', field: 'usersname', sortable: true, width: 140 },
|
|
|
+ { title: '手机号', field: 'usersphone', sortable: true },
|
|
|
{
|
|
|
title: '优惠券状态',
|
|
|
field: 'coupon2sype',
|