Commit 4c05980c authored by 李苏's avatar 李苏 💬

init data

parent aa2bf75d
<template>
<RelDialog @beforeCopyDetail='beforeCopyDetail' 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">
......@@ -57,7 +57,16 @@
mixins: [editMixin, editMixin_expand],
methods: {
beforeCopyDetail(list){
list.forEach(item=>item.ztsl=0)
let dl=['wlphScrq','wlphGqrq','wlphJyrq','wlphRkrq']
list.forEach(item=>{
dl.forEach(dit=>{
if(!item[dit]){
item[dit]=''
}
})
item.ztsl=0
})
this.form.mpzt='I'
},
/* 需要整体row时的回调 */
......
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