Commit cd5658a9 authored by 李苏's avatar 李苏 💬

rkdEdit beforeCopyDetail listItem=>ztsl=0

parent 0354f20b
<template> <template>
<RelDialog bigTitle detailTable='RKTZMX' @getFormDetail='getFormDetail' width="70%" :type='type' :editApp='editApp' <RelDialog @beforeCopyDetail='beforeCopyDetail' bigTitle detailTable='RKTZMX' @getFormDetail='getFormDetail' width="70%" :type='type' :editApp='editApp'
:app='app' :buttonApp='buttonApp'> :app='app' :buttonApp='buttonApp'>
<el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules"> <el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules">
<el-row :gutter="20" :app="this" class="editRow"> <el-row :gutter="20" :app="this" class="editRow">
...@@ -56,6 +56,9 @@ ...@@ -56,6 +56,9 @@
export default { export default {
mixins: [editMixin, editMixin_expand], mixins: [editMixin, editMixin_expand],
methods: { methods: {
beforeCopyDetail(list){
list.forEach(item=>item.ztsl=0)
},
/* 需要整体row时的回调 */ /* 需要整体row时的回调 */
computedRow(row) { computedRow(row) {
// this.$refs.editTableForEdit.$forceUpdate() // this.$refs.editTableForEdit.$forceUpdate()
...@@ -140,6 +143,7 @@ ...@@ -140,6 +143,7 @@
} }
}, },
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
this.form.whr = this.username this.form.whr = this.username
// this.form.rkr = this.username // this.form.rkr = this.username
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment