diff --git a/src/components/CostEntry/components/applyModify.tsx b/src/components/CostEntry/components/applyModify.tsx
index 842f814a..a2fe9da3 100644
--- a/src/components/CostEntry/components/applyModify.tsx
+++ b/src/components/CostEntry/components/applyModify.tsx
@@ -74,7 +74,7 @@ export const formSchema: FormSchema[] = [
return {
api: () => {
return new Promise((resolve) => {
- getDictOption('djy_cust_prop').then((res) => {
+ getDictOption('infoclient-ArrclientTag').then((res) => {
resolve(res)
})
})
diff --git a/src/components/CostEntry/feeTable.vue b/src/components/CostEntry/feeTable.vue
index d875dc9d..ff2374f1 100644
--- a/src/components/CostEntry/feeTable.vue
+++ b/src/components/CostEntry/feeTable.vue
@@ -242,7 +242,7 @@
type: 'dropdown',
visible: true,
source: async (query, process) => {
- const results = await getDictOption('djy_cust_prop')
+ const results = await getDictOption('infoclient-ArrclientTag')
const dict = results.map((item) => {
return item.name + '-' + item.value
})
@@ -672,7 +672,7 @@
}
}
// 根据客户类别带出相应的费用对象
- getDictOption('djy_cust_prop').then((res) => {
+ getDictOption('infoclient-ArrclientTag').then((res) => {
const item = res.filter((item) => {
return list.value[changes[0][0]]['customerTypeText'] && list.value[changes[0][0]]['customerTypeText'].includes(item.name)
})
@@ -701,7 +701,7 @@
}
// 修改客户类别
if (changes[0][1] === 'customerTypeText') {
- getDictOption('djy_cust_prop').then((res) => {
+ getDictOption('infoclient-ArrclientTag').then((res) => {
const item = res.filter((item) => {
return changes[0][3].includes(item.name)
})
diff --git a/src/components/Table/src/components/settings/ColumnSetting.vue b/src/components/Table/src/components/settings/ColumnSetting.vue
index ca2f03b0..f1bee1c6 100644
--- a/src/components/Table/src/components/settings/ColumnSetting.vue
+++ b/src/components/Table/src/components/settings/ColumnSetting.vue
@@ -222,7 +222,6 @@
...item,
})
})
- console.log(ret)
return ret
}
diff --git a/src/hooks/web/warterMark.ts b/src/hooks/web/warterMark.ts
new file mode 100644
index 00000000..16b03dc0
--- /dev/null
+++ b/src/hooks/web/warterMark.ts
@@ -0,0 +1,64 @@
+/*
+ * @Desc: 水印hooks
+ * @Author: lijj
+ * @Date: 2024-11-14 09:57:21
+ */
+const domSymbol = Symbol('watermark-dom')
+
+export function useWatermark(
+ op = 0.15,
+ appendEl: HTMLElement | null = document.body
+) {
+ let func: any = () => {}
+ const id = domSymbol.toString()
+ const clear = () => {
+ const domId = document.getElementById(id)
+ if (domId) {
+ const el = appendEl
+ el && el.removeChild(domId)
+ }
+ window.removeEventListener('resize', func)
+ }
+ const createWatermark = (str: string) => {
+ clear()
+
+ const can = document.createElement('canvas')
+ can.width = 300
+ can.height = 240
+
+ const cans = can.getContext('2d')
+ if (cans) {
+ cans.rotate((-25 * Math.PI) / 120)
+ cans.font = '15px Vedana'
+ cans.fillStyle = `rgba(0, 0, 0, ${op})`
+ cans.textAlign = 'left'
+ cans.textBaseline = 'middle'
+ cans.fillText(str, can.width / 20, can.height)
+ }
+
+ const div = document.createElement('div')
+ div.id = id
+ div.style.pointerEvents = 'none'
+ div.style.top = '0px'
+ div.style.left = '0px'
+ div.style.position = 'absolute'
+ div.style.zIndex = '100000000'
+ div.style.width = document.documentElement.clientWidth + 'px'
+ div.style.height = document.documentElement.clientHeight - 80 + 'px'
+ div.style.background =
+ 'url(' + can.toDataURL('image/png') + ') left top repeat'
+ const el = appendEl
+ el && el.appendChild(div)
+ return id
+ }
+
+ function setWatermark(str: string) {
+ createWatermark(str)
+ func = () => {
+ createWatermark(str)
+ }
+ window.addEventListener('resize', func)
+ }
+
+ return { setWatermark, clear }
+}
\ No newline at end of file
diff --git a/src/views/ContainerManagement/BuyCtn/TenantAuditStepModal.vue b/src/views/ContainerManagement/BuyCtn/TenantAuditStepModal.vue
index 5b7ca5fd..623c3b5c 100644
--- a/src/views/ContainerManagement/BuyCtn/TenantAuditStepModal.vue
+++ b/src/views/ContainerManagement/BuyCtn/TenantAuditStepModal.vue
@@ -616,7 +616,7 @@
source: async (query, process) => {
const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value
- : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data
+ : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const dict = res.map((res) => {
return res.pinYinCode
@@ -753,7 +753,7 @@
if (changes[0][1] === 'oldContainerOwner') {
const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value
- : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data
+ : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const item = res.filter((item) => {
return item.pinYinCode === changes[0][3]
@@ -765,7 +765,7 @@
if (changes[0][1] === 'CtnFlowStateId') {
const res = CtnFlowStateDict.value.length
? CtnFlowStateDict.value
- : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data
+ : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!CtnFlowStateDict.value.length) CtnFlowStateDict.value = res
const item = res.filter((item) => {
return item.pinYinCode === changes[0][3]
diff --git a/src/views/ContainerManagement/BuyCtn/columns.tsx b/src/views/ContainerManagement/BuyCtn/columns.tsx
index e94c98a3..52f97c40 100644
--- a/src/views/ContainerManagement/BuyCtn/columns.tsx
+++ b/src/views/ContainerManagement/BuyCtn/columns.tsx
@@ -137,7 +137,7 @@ export const searchFormSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
@@ -232,7 +232,7 @@ export const formSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
@@ -335,7 +335,7 @@ export const formSearchBoxSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
diff --git a/src/views/ContainerManagement/CurrentState/columns.tsx b/src/views/ContainerManagement/CurrentState/columns.tsx
index 86a36085..c15a07b0 100644
--- a/src/views/ContainerManagement/CurrentState/columns.tsx
+++ b/src/views/ContainerManagement/CurrentState/columns.tsx
@@ -229,7 +229,7 @@ export const searchFormSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
@@ -563,7 +563,7 @@ export const formSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
diff --git a/src/views/ContainerManagement/CustFeeDui/TenantAuditStepModal.vue b/src/views/ContainerManagement/CustFeeDui/TenantAuditStepModal.vue
index 8fc76f09..52b04a2a 100644
--- a/src/views/ContainerManagement/CustFeeDui/TenantAuditStepModal.vue
+++ b/src/views/ContainerManagement/CustFeeDui/TenantAuditStepModal.vue
@@ -516,7 +516,7 @@
// source: async (query, process) => {
// const res = ContainerOwnerDict.value.length
// ? ContainerOwnerDict.value
- // : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data
+ // : (await GetSupplierListByCode({ code: 'leasing' }))?.data
// if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
// const dict = res.map((res) => {
// return res.pinYinCode
@@ -626,7 +626,7 @@
if (changes[0][1] === 'oldContainerOwner') {
const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value
- : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data
+ : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const item = res.filter((item) => {
return item.pinYinCode === changes[0][3]
diff --git a/src/views/ContainerManagement/CustFeeDui/columns.tsx b/src/views/ContainerManagement/CustFeeDui/columns.tsx
index 33a5ebdd..fbe1b445 100644
--- a/src/views/ContainerManagement/CustFeeDui/columns.tsx
+++ b/src/views/ContainerManagement/CustFeeDui/columns.tsx
@@ -136,7 +136,7 @@ export const searchFormSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
@@ -251,7 +251,7 @@ export const formSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'id',
diff --git a/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue b/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue
index cf8da45f..bd1ade80 100644
--- a/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue
+++ b/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue
@@ -679,7 +679,7 @@
// source: async (query, process) => {
// const res = ContainerOwnerDict.value.length
// ? ContainerOwnerDict.value
- // : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data
+ // : (await GetSupplierListByCode({ code: 'leasing' }))?.data
// if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
// const dict = res.map((res) => {
// return res.pinYinCode
@@ -870,7 +870,7 @@
if (changes[0][1] === 'oldContainerOwner') {
const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value
- : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data
+ : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const item = res.filter((item) => {
return item.pinYinCode === changes[0][3]
@@ -991,7 +991,7 @@
// source: async (query, process) => {
// const res = ContainerOwnerDict.value.length
// ? ContainerOwnerDict.value
- // : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data
+ // : (await GetSupplierListByCode({ code: 'leasing' }))?.data
// if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
// const dict = res.map((res) => {
// return res.pinYinCode
@@ -1172,7 +1172,7 @@
if (changes[0][1] === 'oldContainerOwner') {
const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value
- : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data
+ : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const item = res.filter((item) => {
return item.pinYinCode === changes[0][3]
diff --git a/src/views/ContainerManagement/RentIn/columns.tsx b/src/views/ContainerManagement/RentIn/columns.tsx
index 0f81a88f..664f1799 100644
--- a/src/views/ContainerManagement/RentIn/columns.tsx
+++ b/src/views/ContainerManagement/RentIn/columns.tsx
@@ -198,7 +198,7 @@ export const searchFormSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
@@ -446,7 +446,7 @@ export const formSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
@@ -541,7 +541,7 @@ export const formSearchBoxSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'id',
@@ -565,7 +565,7 @@ export const formSearchBoxSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetCtnSelectList,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'ctnName',
showName: 'ctnName',
valueField: 'ctnName',
diff --git a/src/views/ContainerManagement/RentOneWay/TenantAuditStepModal.vue b/src/views/ContainerManagement/RentOneWay/TenantAuditStepModal.vue
index c1c577f0..2bf7471d 100644
--- a/src/views/ContainerManagement/RentOneWay/TenantAuditStepModal.vue
+++ b/src/views/ContainerManagement/RentOneWay/TenantAuditStepModal.vue
@@ -623,7 +623,7 @@
source: async (query, process) => {
const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value
- : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data
+ : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const dict = res.map((res) => {
return res.pinYinCode
@@ -853,7 +853,7 @@
if (changes[0][1] === 'oldContainerOwner') {
const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value
- : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data
+ : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const item = res.filter((item) => {
return item.pinYinCode === changes[0][3]
diff --git a/src/views/ContainerManagement/RentOneWay/columns.tsx b/src/views/ContainerManagement/RentOneWay/columns.tsx
index 85ab7a13..7ed98f07 100644
--- a/src/views/ContainerManagement/RentOneWay/columns.tsx
+++ b/src/views/ContainerManagement/RentOneWay/columns.tsx
@@ -170,7 +170,7 @@ export const searchFormSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
@@ -406,7 +406,7 @@ export const formSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
@@ -501,13 +501,13 @@ export const formSearchBoxSchema: FormSchema[] = [
// required: false,
// dynamicDisabled: false,
// colProps: { span: 6 },
- // // api: GetSupplierListByCode({ code: 'isLeasing' }),
+ // // api: GetSupplierListByCode({ code: 'leasing' }),
// componentProps: ({ formModel }) => {
// return {
// allowClear: true,
// showSearch: true,
- // api: GetSupplierListByCode({ code: 'isLeasing' }),
- // params: { code: 'isLeasing' },
+ // api: GetSupplierListByCode({ code: 'leasing' }),
+ // params: { code: 'leasing' },
// labelField: 'pinYinCode',
// showName: 'shortName',
// valueField: 'shortName',
@@ -591,7 +591,7 @@ export const formSearchBoxSchema: FormSchema[] = [
// allowClear: true,
// showSearch: true,
// api: GetSupplierListByCode,
- // params: { code: 'isLeasing' },
+ // params: { code: 'leasing' },
// labelField: 'pinYinCode',
// showName: 'shortName',
// valueField: 'shortName',
diff --git a/src/views/ContainerManagement/RentOneWayIn/TenantAuditStepModal.vue b/src/views/ContainerManagement/RentOneWayIn/TenantAuditStepModal.vue
index bc66b65a..46dae44e 100644
--- a/src/views/ContainerManagement/RentOneWayIn/TenantAuditStepModal.vue
+++ b/src/views/ContainerManagement/RentOneWayIn/TenantAuditStepModal.vue
@@ -569,7 +569,7 @@
source: async (query, process) => {
const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value
- : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data
+ : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const dict = res.map((res) => {
return res.pinYinCode
@@ -796,7 +796,7 @@
if (changes[0][1] === 'oldContainerOwner') {
const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value
- : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data
+ : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const item = res.filter((item) => {
return item.pinYinCode === changes[0][3]
diff --git a/src/views/ContainerManagement/RentOneWayIn/columns.tsx b/src/views/ContainerManagement/RentOneWayIn/columns.tsx
index 4df4bf75..3c414d33 100644
--- a/src/views/ContainerManagement/RentOneWayIn/columns.tsx
+++ b/src/views/ContainerManagement/RentOneWayIn/columns.tsx
@@ -174,7 +174,7 @@ export const searchFormSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
@@ -410,7 +410,7 @@ export const formSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
@@ -504,7 +504,7 @@ export const formSearchBoxSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
diff --git a/src/views/ContainerManagement/RentOut/TenantAuditStepModal.vue b/src/views/ContainerManagement/RentOut/TenantAuditStepModal.vue
index 48458903..96826703 100644
--- a/src/views/ContainerManagement/RentOut/TenantAuditStepModal.vue
+++ b/src/views/ContainerManagement/RentOut/TenantAuditStepModal.vue
@@ -695,7 +695,7 @@
// source: async (query, process) => {
// const res = ContainerOwnerDict.value.length
// ? ContainerOwnerDict.value
- // : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data
+ // : (await GetSupplierListByCode({ code: 'leasing' }))?.data
// if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
// const dict = res.map((res) => {
// return res.pinYinCode
@@ -897,7 +897,7 @@
if (changes[0][1] === 'ctnOwner') {
const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value
- : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data
+ : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const item = res.filter((item) => {
return item.pinYinCode === changes[0][3]
@@ -1032,7 +1032,7 @@
// source: async (query, process) => {
// const res = ContainerOwnerDict.value.length
// ? ContainerOwnerDict.value
- // : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data
+ // : (await GetSupplierListByCode({ code: 'leasing' }))?.data
// if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
// const dict = res.map((res) => {
// return res.pinYinCode
@@ -1234,7 +1234,7 @@
if (changes[0][1] === 'ctnOwner') {
const res = ContainerOwnerDict.value.length
? ContainerOwnerDict.value
- : (await GetSupplierListByCode({ code: 'isLeasing' }))?.data
+ : (await GetSupplierListByCode({ code: 'leasing' }))?.data
if (!ContainerOwnerDict.value.length) ContainerOwnerDict.value = res
const item = res.filter((item) => {
return item.pinYinCode === changes[0][3]
diff --git a/src/views/ContainerManagement/RentOut/columns.tsx b/src/views/ContainerManagement/RentOut/columns.tsx
index 5c98d135..0733fd9c 100644
--- a/src/views/ContainerManagement/RentOut/columns.tsx
+++ b/src/views/ContainerManagement/RentOut/columns.tsx
@@ -207,7 +207,7 @@ export const searchFormSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
@@ -454,7 +454,7 @@ export const formSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
@@ -543,13 +543,13 @@ export const formSearchBoxSchema: FormSchema[] = [
required: false,
dynamicDisabled: false,
colProps: { span: 6 },
- // api: GetSupplierListByCode({ code: 'isLeasing' }),
+ // api: GetSupplierListByCode({ code: 'leasing' }),
componentProps: ({ formModel }) => {
return {
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
diff --git a/src/views/ContainerManagement/SellCtn/columns.tsx b/src/views/ContainerManagement/SellCtn/columns.tsx
index 20b7baaf..fedc5761 100644
--- a/src/views/ContainerManagement/SellCtn/columns.tsx
+++ b/src/views/ContainerManagement/SellCtn/columns.tsx
@@ -198,7 +198,7 @@ export const formSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
diff --git a/src/views/ContainerManagement/StateChange/columns.tsx b/src/views/ContainerManagement/StateChange/columns.tsx
index 53866730..af0e6682 100644
--- a/src/views/ContainerManagement/StateChange/columns.tsx
+++ b/src/views/ContainerManagement/StateChange/columns.tsx
@@ -337,7 +337,7 @@ export const formSchema: FormSchema[] = [
allowClear: true,
showSearch: true,
api: GetSupplierListByCode,
- params: { code: 'isLeasing' },
+ params: { code: 'leasing' },
labelField: 'pinYinCode',
showName: 'shortName',
valueField: 'shortName',
diff --git a/src/views/baseinfo/accountMaintenance/columns.tsx b/src/views/baseinfo/accountMaintenance/columns.tsx
index 6f41ef35..9349c0f5 100644
--- a/src/views/baseinfo/accountMaintenance/columns.tsx
+++ b/src/views/baseinfo/accountMaintenance/columns.tsx
@@ -11,7 +11,7 @@ const accountTypeDict = ref([])
getDictOption('account_type').then((data) => {
accountTypeDict.value = data
})
-getDictOption('djy_cust_prop').then((data) => {
+getDictOption('infoclient-ArrclientTag').then((data) => {
customTypeDict.value = data
})
// 客户名称下拉框数据
diff --git a/src/views/baseinfo/accountMaintenance/index.vue b/src/views/baseinfo/accountMaintenance/index.vue
index c29b0446..a2b37fbb 100644
--- a/src/views/baseinfo/accountMaintenance/index.vue
+++ b/src/views/baseinfo/accountMaintenance/index.vue
@@ -58,7 +58,7 @@
const res: API.DataResult = await ApiList(p)
// 处理下拉框数据
const adicts = await getDictOption('account_type')
- const ddicts = await getDictOption('djy_cust_prop')
+ const ddicts = await getDictOption('infoclient-ArrclientTag')
res?.data.forEach((row) => {
adicts.forEach((item) => {
if (item.value == row.accountType) {
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..54c8c844 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,12 +608,12 @@ export const searchFormSchema: FormSchema[] = [
component: 'ApiSelect',
required: false,
// labelSlot: 'yardId',
- dynamicDisabled: false,
+
colProps: { span: 4 },
componentProps: ({ formModel }) => {
return {
api: GetSupplierListByCode,
- params: { code: 'isBooking' },
+ params: { code: 'booking' },
labelField: 'pinYinCode',
showName: 'description',
valueField: 'id',
@@ -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,12 +1001,12 @@ export const formSchema: FormSchema[] = [
component: 'ApiSelect',
required: false,
// labelSlot: 'yardId',
- dynamicDisabled: false,
+
colProps: { span: 6 },
componentProps: ({ formModel }) => {
return {
api: GetSupplierListByCode,
- params: { code: 'isBooking' },
+ params: { code: 'booking' },
labelField: 'pinYinCode',
showName: 'description',
valueField: 'id',
@@ -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,14 +1212,14 @@ export const detailsFormSchema: FormSchema[] = [
label: '客户类别',
component: 'ApiSelect',
required: false,
- dynamicDisabled: false,
+
defaultValue: null,
colProps: { span: 6 },
componentProps: ({ formModel }) => {
return {
api: () => {
return new Promise((resolve) => {
- getDictOption('djy_cust_prop').then((res) => {
+ getDictOption('infoclient-ArrclientTag').then((res) => {
resolve(res)
})
})
@@ -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..37f27a68 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 @@