Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
c82f7fb6
Commit
c82f7fb6
authored
Jun 03, 2025
by
linjinhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
3d2cca41
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
27 additions
and
12 deletions
+27
-12
src/components/docx/VxeTable.md
+16
-9
src/views/logistics/declarationRule.vue
+1
-0
src/views/logistics/logisticsCalculate.vue
+2
-0
src/views/logistics/logisticsMethod.vue
+4
-1
src/views/logistics/logisticsPartition.vue
+1
-0
src/views/logistics/logisticsQuotation.vue
+3
-2
No files found.
src/components/docx/VxeTable.md
View file @
c82f7fb6
**Table 属性 (Props)**
| 参数 | 说明 | 类型 | 默认值 |
| :-------------: | :------------: | :-----------: | :----: |
| config | 表格列配置 | TableColumn
[
] | [
]
|
| tableEditConfig | 表格编辑配置 | Object | {} |
| modelValue | 表格数据 | Object
[
] | [
]
|
| getTablelist | 数据加载方法 | Function | null |
| isShowCheckBox | 是否显示复选框 | Boolean | true |
| 参数 | 说明 | 类型 | 默认值 |
| :-------------: | :----------------------------: | :-----------: | :----: |
| config | 表格列配置 | TableColumn
[
] | [
]
|
| tableEditConfig | 表格编辑配置 | Object | {} |
| modelValue | 表格数据 | Object
[
] | [
]
|
| getTablelist | 数据加载方法 | Function | null |
| isShowCheckBox | 是否显示复选框 | Boolean | true |
| ... | 其余属性与 vxetable 文档中相同 | ... | ... |
**TableColumn 结构**
...
...
@@ -17,7 +18,7 @@
| attrs | 额外属性 | ColumnAttrs |
| render | 自定义渲染函数 | RenderFunctions(默认使用 default,如要开启单元格编辑 edit 需在 Table 中传入 tableEditConfig.enabled=true) |
_ColumnAttrs_
## ColumnAttrs
```
ts
interface
ColumnAttrs
{
...
...
@@ -48,7 +49,13 @@ const columns = [
{
prop
:
'name'
,
label
:
'姓名'
,
attrs
:
{
width
:
180
,
fixed
:
'left'
},
attrs
:
{
width
:
200
,
fixed
:
'left'
,
align
:
'center'
,
sortable
:
true
,
className
:
'name-column'
,
},
},
{
prop
:
'status'
,
...
...
src/views/logistics/declarationRule.vue
View file @
c82f7fb6
...
...
@@ -126,6 +126,7 @@ const searchConfig = ref<ISeachFormConfig[]>([
label
:
'规则名称'
,
attrs
:
{
clearable
:
true
,
placeholder
:
'请输入规则名称'
,
},
},
...
...
src/views/logistics/logisticsCalculate.vue
View file @
c82f7fb6
...
...
@@ -59,6 +59,7 @@ const searchConfig = ref<ISeachFormConfig[]>([
label
:
'邮编'
,
attrs
:
{
clearable
:
true
,
placeholder
:
'请输入邮编'
,
},
},
...
...
@@ -67,6 +68,7 @@ const searchConfig = ref<ISeachFormConfig[]>([
type
:
'amountInput'
,
label
:
'重量'
,
attrs
:
{
clearable
:
true
,
placeholder
:
'请输入重量'
,
hasUnit
:
true
,
suffix
:
'g'
,
...
...
src/views/logistics/logisticsMethod.vue
View file @
c82f7fb6
...
...
@@ -136,6 +136,7 @@ const searchConfig = ref<ISeachFormConfig[]>([
label
:
'物流方式'
,
attrs
:
{
clearable
:
true
,
placeholder
:
'请输入物流方式'
,
},
},
...
...
@@ -144,6 +145,7 @@ const searchConfig = ref<ISeachFormConfig[]>([
type
:
'select'
,
label
:
'启用状态'
,
attrs
:
{
clearable
:
true
,
placeholder
:
'请选择启用状态'
,
options
:
[
{
label
:
'启用'
,
value
:
1
},
...
...
@@ -156,6 +158,7 @@ const searchConfig = ref<ISeachFormConfig[]>([
type
:
'input'
,
label
:
'物流编码'
,
attrs
:
{
clearable
:
true
,
placeholder
:
'请输入物流编码'
,
},
},
...
...
@@ -395,7 +398,7 @@ const tableConfig = ref<TableColumn[]>([
},
{
prop
:
'status1'
,
label
:
'平台
状态
'
,
label
:
'平台
物流名称
'
,
attrs
:
{
width
:
'400px'
,
align
:
'center'
},
render
:
{
...
...
src/views/logistics/logisticsPartition.vue
View file @
c82f7fb6
...
...
@@ -102,6 +102,7 @@ const searchConfig = ref<ISeachFormConfig[]>([
type
:
'input'
,
label
:
'邮编编码'
,
attrs
:
{
clearable
:
true
,
placeholder
:
'请输入邮编编码'
,
},
},
...
...
src/views/logistics/logisticsQuotation.vue
View file @
c82f7fb6
...
...
@@ -79,7 +79,6 @@
@
close=
"cancelFn"
>
<CustomizeForm
v-if=
"formVisible"
ref=
"editFormRef"
v-model=
"editForm"
:config=
"formConfig"
...
...
@@ -550,8 +549,10 @@ const save = debounce(async () => {
*/
async
function
addDialog
()
{
// await getAllList()
dialogVisible
.
value
=
true
formVisible
.
value
=
true
dialogVisible
.
value
=
true
console
.
log
(
502
,
editForm
.
value
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment