|
|
@@ -423,6 +423,13 @@ const baseFormItems = [
|
|
|
span: 24,
|
|
|
itemRender: { name: 'VxeInput', props: { placeholder: '请输入', type: 'number', min: 0, max: 100 } },
|
|
|
},
|
|
|
+ // 账期(天)
|
|
|
+ {
|
|
|
+ field: 'paymentTerm',
|
|
|
+ title: '账期',
|
|
|
+ span: 24,
|
|
|
+ slots: { default: 'paymentTerm' },
|
|
|
+ },
|
|
|
businessHoursField as any,
|
|
|
// 营业状态 单选,营业、休息、停业
|
|
|
{
|
|
|
@@ -464,6 +471,7 @@ const formProps = reactive<VxeFormProps<FormModel>>({
|
|
|
wechatPaymentType: [{ required: true, message: '请选择账户类型' }],
|
|
|
wechatPaymentAccount: [{ required: true, message: '请输入微信接收方账号' }],
|
|
|
profitSharing: [{ required: true, message: '请输入分账比例' }],
|
|
|
+ paymentTerm: [{ required: true, message: '请输入账期' }],
|
|
|
businessStatus: [{ required: true, message: '请选择营业状态' }],
|
|
|
businessTime: [
|
|
|
{
|
|
|
@@ -663,6 +671,12 @@ onBeforeMount(async () => {
|
|
|
:dropdownMatchSelectWidth="false" :dropdownStyle="{ zIndex: 4000 }" placeholder="请选择" @change="onDeptChange"
|
|
|
@dropdownVisibleChange="onVisibleChange" />
|
|
|
</template>
|
|
|
+ <template #paymentTerm>
|
|
|
+ <div style="display: flex; align-items: center; gap: 4px;">
|
|
|
+ <a-input-number v-model:value="(formProps.data as any).paymentTerm" :min="0" placeholder="请输入" style="flex: 1" />
|
|
|
+ <span>天</span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
<template #businessTimeTitle>
|
|
|
<span style="color: #ff4d4f">*</span>营业时间
|
|
|
</template>
|