From 82a0439f46b893e008ce9156ab172fb3de7f1060 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 12 四月 2024 14:15:39 +0800
Subject: [PATCH] 表单修改
---
vue.config.js | 5 ++---
src/views/plan/customerorder/index.vue | 3 +++
src/views/common/ztt-table.vue | 5 +++++
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/views/common/ztt-table.vue b/src/views/common/ztt-table.vue
index 4fc75c2..794915e 100644
--- a/src/views/common/ztt-table.vue
+++ b/src/views/common/ztt-table.vue
@@ -175,6 +175,7 @@
v-loading="dataListLoading"
element-loading-text="鍔犺浇涓�..."
element-loading-spinner="el-icon-loading"
+ :expand-row-keys="expandRowKeys"
>
<!--澶氶�夋嫨妗�-->
<el-table-column
@@ -554,6 +555,10 @@
column: {
type: Object,
default: null
+ },
+ expandRowKeys: {
+ type: Array,
+ default: ()=>[]
}
},
render: (h, data) => {
diff --git a/src/views/plan/customerorder/index.vue b/src/views/plan/customerorder/index.vue
index 0123e22..70957f3 100644
--- a/src/views/plan/customerorder/index.vue
+++ b/src/views/plan/customerorder/index.vue
@@ -11,6 +11,7 @@
:toolbarMaxLength="4"
:paramArr="type"
ref="customerOrderTable"
+ :expandRowKeys="expandRowKeys"
>
<template #toolbar>
<el-dropdown
@@ -414,6 +415,7 @@
selectTime: null,
exportTime: null,
},
+ expandRowKeys: [],
dataRule: {
exportTime: [
{ required: true, message: '瀵煎嚭鏃ユ湡涓嶈兘涓虹┖', trigger: 'change' },
@@ -1280,6 +1282,7 @@
this.$refs.addSampleForm.init(row ? row.contractNo : null)
})
}
+ this.expandRowKeys=[row.id]
},
// 鏂板鏍峰搧璁㈠崟
addSampleCustomerOrder() {
diff --git a/vue.config.js b/vue.config.js
index 0012965..3b58a3e 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -6,9 +6,8 @@
// const url = 'https://ztms-mes.chinaztt.cn/'
-// const url = 'http://localhost:9999'
-// const url = 'http://192.168.32.45:9999'
-const url = 'http://10.20.102.90:9999'
+ const url = 'http://localhost:9999'
+//const url = 'http://192.168.32.45:9999'
const localUrl = 'http://localhost:8089'
--
Gitblit v1.9.3