Commit 5366ff7f authored by 李苏's avatar 李苏 💬

前端调整

parent b59047cd
......@@ -180,7 +180,7 @@
},
methods: {
getRow(row){
this.$refs.sbbg.$refs.basePage.queryParams.sbxxCode = row.code
this.$refs.sbbg.$refs.basePage.queryParams.sbxxCode = row.code||'null'
this.$refs.sbbg.$refs.basePage.refresh()
},
delSuccess(obj) {
......
<template>
<RelDialog width="50%" :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'>
<RelDialog width="50%" :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">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false "
......@@ -17,8 +17,8 @@
mixins: [editMixin],
mounted() {
this.$nextTick(() => {
this.form.mid=this.app.queryParams.mid
this.form.sbxxCode=this.app.queryParams.sbxxCode
this.form.mid = this.app.queryParams.mid
this.form.sbxxCode = this.app.queryParams.sbxxCode
})
},
data() {
......@@ -55,6 +55,20 @@
span: 8,
type: 'input',
},
{
label: '管径',
prop: 'gj',
span: 12,
"type": "input",
required: true
},
{
label: '材质',
prop: 'cz',
span: 12,
"type": "input",
required: true
},
{
label: '备注',
prop: 'bz',
......
......@@ -71,6 +71,11 @@
field: "z",
width: 140
},
{
title: "管径",
field: "gj",
width: 200
},
{
title: "材质",
field: "cz",
......
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