diff --git a/src/views/baseinfo/infoclient/ClientAccountDateModal.vue b/src/views/baseinfo/infoclient/ClientAccountDateModal.vue
index b2010f54..396410ed 100644
--- a/src/views/baseinfo/infoclient/ClientAccountDateModal.vue
+++ b/src/views/baseinfo/infoclient/ClientAccountDateModal.vue
@@ -17,6 +17,7 @@
ghost
style="margin-right: 0.8rem"
@click="closeModal"
+ :disabled="props.disabled"
>取消
仅保存
保存并关闭
@@ -46,11 +49,17 @@
import { useMessage } from '/@/hooks/web/useMessage'
// 声明Emits
const emit = defineEmits(['success', 'register'])
+ const props = defineProps({
+ disabled: {
+ type: Boolean,
+ default: false,
+ },
+ })
const isUpdate = ref(true)
const loading = ref(false)
const rowId = ref('')
const { notification } = useMessage()
- const [registerForm, { resetFields, setFieldsValue, validate }] = useForm({
+ const [registerForm, { resetFields, setProps, setFieldsValue, validate }] = useForm({
labelWidth: 100,
schemas: CADformSchema,
showActionButtonGroup: false,
@@ -73,6 +82,7 @@
} else {
setFieldsValue({ clientId: data.record.id })
}
+ setProps({ disabled: props.disabled })
setModalProps({ loading: false })
})
diff --git a/src/views/baseinfo/infoclient/ClientStakeholder/TenantAuditStepModal.vue b/src/views/baseinfo/infoclient/ClientStakeholder/TenantAuditStepModal.vue
index 59eb8bd6..0b4e2b6f 100644
--- a/src/views/baseinfo/infoclient/ClientStakeholder/TenantAuditStepModal.vue
+++ b/src/views/baseinfo/infoclient/ClientStakeholder/TenantAuditStepModal.vue
@@ -17,6 +17,7 @@
ghost
style="margin-right: 0.8rem"
@click="closeModal"
+ :disabled="props.disabled"
>取消
仅保存
保存并关闭
@@ -47,6 +50,12 @@
import { useMessage } from '/@/hooks/web/useMessage'
// 声明Emits
const emit = defineEmits(['success', 'register'])
+ const props = defineProps({
+ disabled: {
+ type: Boolean,
+ default: false,
+ },
+ })
const isUpdate = ref(true)
const loading = ref(false)
const rowId = ref('')
@@ -55,6 +64,7 @@
labelWidth: 100,
schemas: formSchema,
showActionButtonGroup: false,
+ disabled: props.disabled,
})
const [registerModal, { setModalProps, closeModal }] = useModalInner(async (data) => {
diff --git a/src/views/baseinfo/infoclient/ClientStakeholder/columns.tsx b/src/views/baseinfo/infoclient/ClientStakeholder/columns.tsx
index 3f0ebfee..04d74056 100644
--- a/src/views/baseinfo/infoclient/ClientStakeholder/columns.tsx
+++ b/src/views/baseinfo/infoclient/ClientStakeholder/columns.tsx
@@ -80,7 +80,7 @@ export const formSchema: FormSchema[] = [
field: 'userName',
component: 'ApiSelect',
required: false,
- dynamicDisabled: false,
+
colProps: { span: 24 },
componentProps: ({ formModel }) => {
return {
diff --git a/src/views/baseinfo/infoclient/ClientStakeholder/index.vue b/src/views/baseinfo/infoclient/ClientStakeholder/index.vue
index aee0e266..4696139a 100644
--- a/src/views/baseinfo/infoclient/ClientStakeholder/index.vue
+++ b/src/views/baseinfo/infoclient/ClientStakeholder/index.vue
@@ -3,11 +3,11 @@
干系人列表
-
+
添加
-
+
删除
@@ -26,7 +26,11 @@
-
+
-
+
取消
@@ -29,6 +35,7 @@
pre-icon="ant-design:check-outlined"
style="margin-right: 0.8rem"
@click="handleSave(false)"
+ :disabled="props.disabled"
>
仅保存
@@ -37,6 +44,7 @@
type="primary"
:loading="loading"
@click="handleSave(true)"
+ :disabled="props.disabled"
>
保存并关闭
@@ -61,6 +69,10 @@
const props = defineProps({
customerName: { type: String },
customerId: { type: String },
+ disabled: {
+ type: Boolean,
+ default: false,
+ },
})
// 声明Emits
const emit = defineEmits(['success', 'register'])
@@ -88,6 +100,7 @@
labelWidth: 100,
schemas: formSchema,
showActionButtonGroup: false,
+ disabled: props.disabled,
})
const unitArr = ref([])
const BulkInfoArr = ref([])
diff --git a/src/views/baseinfo/infoclient/FeeCustTemplate/columns.tsx b/src/views/baseinfo/infoclient/FeeCustTemplate/columns.tsx
index 035c2ab6..b443ed09 100644
--- a/src/views/baseinfo/infoclient/FeeCustTemplate/columns.tsx
+++ b/src/views/baseinfo/infoclient/FeeCustTemplate/columns.tsx
@@ -440,7 +440,7 @@ export const searchFormSchema: FormSchema[] = [
// label: '客户名称',
// component: 'ApiSelect',
// required: false,
- // dynamicDisabled: false,
+ //
// colProps: { span: 4 },
// componentProps: ({ formModel }) => {
// return {
@@ -514,7 +514,7 @@ export const searchFormSchema: FormSchema[] = [
label: '起运港',
field: 'polCode',
component: 'ApiSelect',
- dynamicDisabled: false,
+
colProps: { span: 4 },
componentProps: () => {
return {
@@ -535,7 +535,7 @@ export const searchFormSchema: FormSchema[] = [
field: 'podCode',
component: 'ApiSelect',
required: false,
- dynamicDisabled: false,
+
colProps: { span: 4 },
componentProps: () => {
return {
@@ -556,7 +556,7 @@ export const searchFormSchema: FormSchema[] = [
label: '航线',
component: 'ApiSelect',
required: false,
- dynamicDisabled: false,
+
colProps: { span: 4 },
componentProps: ({ formModel }) => {
return {
@@ -575,7 +575,7 @@ export const searchFormSchema: FormSchema[] = [
field: 'sourceId',
component: 'ApiSelect',
required: false,
- dynamicDisabled: false,
+
colProps: { span: 4 },
componentProps: ({ formModel }) => {
return {
@@ -608,7 +608,7 @@ export const searchFormSchema: FormSchema[] = [
component: 'ApiSelect',
required: false,
// labelSlot: 'yardId',
- dynamicDisabled: false,
+
colProps: { span: 4 },
componentProps: ({ formModel }) => {
return {
@@ -629,7 +629,7 @@ export const searchFormSchema: FormSchema[] = [
label: '付费方式',
component: 'ApiSelect',
required: false,
- dynamicDisabled: false,
+
colProps: { span: 4 },
componentProps: () => {
return {
@@ -841,7 +841,7 @@ export const formSchema: FormSchema[] = [
label: '起运港',
field: 'polCode',
component: 'ApiSelect',
- dynamicDisabled: false,
+
colProps: { span: 6 },
componentProps: () => {
return {
@@ -862,7 +862,7 @@ export const formSchema: FormSchema[] = [
field: 'podCode',
component: 'ApiSelect',
required: false,
- dynamicDisabled: false,
+
colProps: { span: 6 },
componentProps: () => {
return {
@@ -883,7 +883,7 @@ export const formSchema: FormSchema[] = [
label: '航线',
component: 'ApiSelect',
required: false,
- dynamicDisabled: false,
+
colProps: { span: 6 },
componentProps: ({ formModel }) => {
return {
@@ -902,7 +902,7 @@ export const formSchema: FormSchema[] = [
field: 'sourceId',
component: 'ApiSelect',
required: false,
- dynamicDisabled: false,
+
colProps: { span: 6 },
componentProps: ({ formActionType, formModel }) => {
return {
@@ -1001,7 +1001,7 @@ export const formSchema: FormSchema[] = [
component: 'ApiSelect',
required: false,
// labelSlot: 'yardId',
- dynamicDisabled: false,
+
colProps: { span: 6 },
componentProps: ({ formModel }) => {
return {
@@ -1022,7 +1022,7 @@ export const formSchema: FormSchema[] = [
label: '付费方式',
component: 'ApiSelect',
required: false,
- dynamicDisabled: false,
+
defaultValue: null,
colProps: { span: 6 },
componentProps: ({ formModel, formActionType }) => {
@@ -1151,7 +1151,7 @@ export const detailsFormSchema: FormSchema[] = [
label: '费用名称',
component: 'ApiSelect',
required: false,
- dynamicDisabled: false,
+
defaultValue: null,
colProps: { span: 6 },
componentProps: ({ formModel }) => {
@@ -1212,7 +1212,7 @@ export const detailsFormSchema: FormSchema[] = [
label: '客户类别',
component: 'ApiSelect',
required: false,
- dynamicDisabled: false,
+
defaultValue: null,
colProps: { span: 6 },
componentProps: ({ formModel }) => {
@@ -1258,7 +1258,7 @@ export const detailsFormSchema: FormSchema[] = [
label: '单位标准',
component: 'ApiSelect',
required: false,
- dynamicDisabled: false,
+
defaultValue: null,
colProps: { span: 6 },
componentProps: ({ formModel }) => {
@@ -1306,7 +1306,7 @@ export const detailsFormSchema: FormSchema[] = [
label: '币别',
component: 'ApiSelect',
required: false,
- dynamicDisabled: false,
+
defaultValue: null,
colProps: { span: 6 },
componentProps: ({ formModel }) => {
diff --git a/src/views/baseinfo/infoclient/FeeCustTemplate/feeField.vue b/src/views/baseinfo/infoclient/FeeCustTemplate/feeField.vue
index 42bae383..21efc563 100644
--- a/src/views/baseinfo/infoclient/FeeCustTemplate/feeField.vue
+++ b/src/views/baseinfo/infoclient/FeeCustTemplate/feeField.vue
@@ -3,15 +3,15 @@
费用明细
-
+
设置方案条件
-
+
添加
-
+
复制
@@ -25,7 +25,7 @@
cancel-text="否"
@confirm="deleteRow"
>
-
+
删除
@@ -61,14 +61,7 @@