fix: 订单管理新增查看处方功能,接诊页面优化
This commit is contained in:
@@ -135,10 +135,6 @@ export const modalFormProps: VbenFormProps = {
|
||||
componentProps: {
|
||||
placeholder: '请选省市区',
|
||||
options: addressOption,
|
||||
onChange: (value: any) => {
|
||||
console.log(value);
|
||||
},
|
||||
|
||||
},
|
||||
fieldName: 'address',
|
||||
label: '省市区',
|
||||
@@ -216,6 +212,12 @@ export const modalFormProps: VbenFormProps = {
|
||||
label: 'x',
|
||||
rules: 'required',
|
||||
hideLabel: true,
|
||||
dependencies: {
|
||||
show: (values) => {
|
||||
return values.id === null;
|
||||
},
|
||||
triggerFields: ['id'],
|
||||
},
|
||||
renderComponentContent: () => {
|
||||
return {
|
||||
default: () => {
|
||||
@@ -230,6 +232,12 @@ export const modalFormProps: VbenFormProps = {
|
||||
componentProps: {
|
||||
placeholder: '请输入开户人姓名',
|
||||
},
|
||||
dependencies: {
|
||||
show: (values) => {
|
||||
return values.id === null;
|
||||
},
|
||||
triggerFields: ['id'],
|
||||
},
|
||||
fieldName: 'bank_user_name',
|
||||
label: '开户人姓名',
|
||||
rules: 'required',
|
||||
@@ -240,6 +248,12 @@ export const modalFormProps: VbenFormProps = {
|
||||
componentProps: {
|
||||
placeholder: '请输入银行卡号',
|
||||
},
|
||||
dependencies: {
|
||||
show: (values) => {
|
||||
return values.id === null;
|
||||
},
|
||||
triggerFields: ['id'],
|
||||
},
|
||||
fieldName: 'bank_card',
|
||||
label: '银行卡号',
|
||||
rules: 'required',
|
||||
@@ -250,6 +264,12 @@ export const modalFormProps: VbenFormProps = {
|
||||
componentProps: {
|
||||
placeholder: '请输入开户行',
|
||||
},
|
||||
dependencies: {
|
||||
show: (values) => {
|
||||
return values.id === null;
|
||||
},
|
||||
triggerFields: ['id'],
|
||||
},
|
||||
fieldName: 'bank_name',
|
||||
label: '开户行',
|
||||
rules: 'required',
|
||||
@@ -260,6 +280,12 @@ export const modalFormProps: VbenFormProps = {
|
||||
componentProps: {
|
||||
placeholder: '请输入银联行号',
|
||||
},
|
||||
dependencies: {
|
||||
show: (values) => {
|
||||
return values.id === null;
|
||||
},
|
||||
triggerFields: ['id'],
|
||||
},
|
||||
fieldName: 'bank_no',
|
||||
label: '银联行号',
|
||||
},
|
||||
@@ -274,8 +300,8 @@ export const modalFormProps: VbenFormProps = {
|
||||
placeholder: '请选择银行账户类型',
|
||||
},
|
||||
dependencies: {
|
||||
disabled: (values) => {
|
||||
return values.id != null;
|
||||
show: (values) => {
|
||||
return values.id === null;
|
||||
},
|
||||
triggerFields: ['id'],
|
||||
},
|
||||
|
||||
@@ -15,6 +15,15 @@ export const formOptions: VbenFormProps = {
|
||||
fieldName: 'name',
|
||||
label: '诊所名称',
|
||||
},
|
||||
{
|
||||
component: 'VbenInput',
|
||||
componentProps: {
|
||||
placeholder: '输入联系人手机号',
|
||||
},
|
||||
defaultValue: '',
|
||||
fieldName: 'mobile',
|
||||
label: '联系人手机号',
|
||||
},
|
||||
// {
|
||||
// component: 'RangePicker',
|
||||
// componentProps: {
|
||||
|
||||
@@ -35,8 +35,9 @@ export const gridOptions: VxeGridProps<RowType> = {
|
||||
// { field: 'erp_id', title: 'erpID' },
|
||||
// { field: 'shouzimu', title: '诊所首字母' },
|
||||
{ field: 'position', title: '详细地址' },
|
||||
{ field: 'contact', title: '联系人' },
|
||||
{ field: 'mobile', title: '联系电话' },
|
||||
// { field: 'contact', title: '联系人' },
|
||||
{ field: 'mobile', title: '联系人、电话', slots: { default: 'mobile' } },
|
||||
{ field: 'start_time', title: '营业时间', slots: { default: 'start-time' } },
|
||||
{ field: 'created_at', title: '注册时间' },
|
||||
{ type: 'html', title: '操作', align: 'right', slots: { default: 'action' } },
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user