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

rkdEdit beforeCopyDetail listItem=>ztsl=0

parent 0354f20b
<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'>
<el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules">
<el-row :gutter="20" :app="this" class="editRow">
......@@ -56,6 +56,9 @@
export default {
mixins: [editMixin, editMixin_expand],
methods: {
beforeCopyDetail(list){
list.forEach(item=>item.ztsl=0)
},
/* 需要整体row时的回调 */
computedRow(row) {
// this.$refs.editTableForEdit.$forceUpdate()
......@@ -140,6 +143,7 @@
}
},
mounted() {
this.$nextTick(() => {
this.form.whr = 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