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

前端调整

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