From 272dcaff7a22312fe261945621682ceeca8ed02f Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期四, 30 十一月 2023 14:42:05 +0800 Subject: [PATCH] new file: src/api/plan/productionschedul.js modified: src/views/common/ztt-table.vue modified: src/views/plan/customerorder/index.vue modified: src/views/plan/manufacturingorder/index.vue new file: src/views/plan/productionschedul/index.vue new file: src/views/plan/productionschedul/template-form.vue --- src/views/common/ztt-table.vue | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/common/ztt-table.vue b/src/views/common/ztt-table.vue index 4776dca..e9cb8d8 100644 --- a/src/views/common/ztt-table.vue +++ b/src/views/common/ztt-table.vue @@ -149,11 +149,7 @@ v-bind="$attrs" v-on="$listeners" :highlight-current-row="true" - :row-key=" - (row) => { - return row.id - } - " + :row-key="rowKey" @row-dblclick="dbClickRow" @row-contextmenu="contextMenu" @header-click="headClick" @@ -563,6 +559,12 @@ name: 'TTable', components: { exSlot, advancedSearchDialog, zttdraggable }, props: { + rowKey: { + type: String, + default: ()=>{ + return 'id' + } + }, // 琛ㄦ牸鍨嬪彿锛歮ini,medium,small tableSize: { type: String, default: 'small' }, // 鏁版嵁璇锋眰鏂规硶 -- Gitblit v1.9.3