From e5ea7094423b4d48c080c9f5d135e0e29a8a8a68 Mon Sep 17 00:00:00 2001 From: qushaowei <qushaowei@163.com> Date: 星期五, 29 十二月 2023 14:59:02 +0800 Subject: [PATCH] 修改提交 --- src/views/eam/modules/dailyMaintenanceOrder/DailyMaintenanceOrderExeDrawer.vue | 49 ++++++++++++++++++++++++++++++++++++------------- 1 files changed, 36 insertions(+), 13 deletions(-) diff --git a/src/views/eam/modules/dailyMaintenanceOrder/DailyMaintenanceOrderExeDrawer.vue b/src/views/eam/modules/dailyMaintenanceOrder/DailyMaintenanceOrderExeDrawer.vue index bacf158..3a7a7af 100644 --- a/src/views/eam/modules/dailyMaintenanceOrder/DailyMaintenanceOrderExeDrawer.vue +++ b/src/views/eam/modules/dailyMaintenanceOrder/DailyMaintenanceOrderExeDrawer.vue @@ -197,12 +197,22 @@ v-if="col.dataIndex == 'maintenanceOrderDetailUda1'" @change="(e)=>handleChange(e, record.key, col, index)" placeholder="璇疯緭鍏ヤ繚鍏讳汉" + :disabled="record.disabled" /> - <a-input + <!-- <a-input :value="text" v-if="col.dataIndex == 'maintenanceOrderDetailUda2'" @change="(e)=>handleChange(e, record.key, col, index)" placeholder="璇疯緭鍏ユ墽琛屾儏鍐�" + /> --> + <a-textarea + :value="text" + v-if="col.dataIndex == 'maintenanceOrderDetailUda2'" + :maxLength="500" + auto-size + placeholder="璇疯緭鍏ユ墽琛屾儏鍐�" + @change="(e)=>handleChange(e, record.key, col, index)" + :disabled="record.disabled" /> </div> </template> @@ -376,6 +386,18 @@ xs: { span: 24 }, sm: { span: 18 }, }, + /* 鍒嗛〉鍙傛暟 */ + ipagination: { + current: 1, + pageSize: 99, + pageSizeOptions: ['99'], + showTotal: (total, range) => { + return range[0] + "-" + range[1] + " 鍏�" + total + "鏉�" + }, + showQuickJumper: true, + showSizeChanger: true, + total: 0 + }, validatorRules: { // description: { // rules: [ @@ -401,12 +423,12 @@ dataIndex: 'location', }, // class: "notshow" - { - title: '绀烘剰鍥�', - align: 'center', - dataIndex: 'photo', - scopedSlots: { customRender: 'photo' }, - }, + // { + // title: '绀烘剰鍥�', + // align: 'center', + // dataIndex: 'photo', + // scopedSlots: { customRender: 'photo' }, + // }, // class: "notshow" { title: '淇濆吇椤圭洰', @@ -510,11 +532,11 @@ // } //update-begin---author:zhangyafei Date:20201118 for锛氶�傞厤涓嶅垎椤电殑鏁版嵁鍒楄〃------------ this.dataSource = res.result.records || res.result; - if (res.result.total) { - this.ipagination.total = res.result.total; - } else { - this.ipagination.total = 0; - } + // if (res.result.total) { + // this.ipagination.total = res.result.total; + // } else { + // this.ipagination.total = 0; + // } //update-end---author:zhangyafei Date:20201118 for锛氶�傞厤涓嶅垎椤电殑鏁版嵁鍒楄〃------------ } else { this.$message.warning(res.message) @@ -562,6 +584,7 @@ that.buttonDistable = false that.revocationDistable = true that.SWbuttonDistable = true + that.loadData1(1) } else { that.$message.warning("宸ュ崟寮�宸ュけ璐ワ紒") } @@ -619,6 +642,7 @@ that.buttonDistable = false that.revocationDistable = true that.SWbuttonDistable = true + that.loadData1(1) } else { that.$message.warning(res.message) } @@ -657,7 +681,6 @@ handleChange(value, key, column, index) { - debugger let that = this; const temp = [...that.dataSource]; const target = temp[index]; -- Gitblit v1.9.3