Commit 5a372887 authored by 周毅's avatar 周毅

调整页面显示

parent 9fd3312a
...@@ -152,7 +152,7 @@ ...@@ -152,7 +152,7 @@
value value
}) => { }) => {
if (value) { if (value) {
this.$post('lxyl/ckgl/ckdgb/close/cktzmx', { this.$post('lxyl/ckgl/cktz/close/cktzmx', {
id: ctx.singleItem.id, id: ctx.singleItem.id,
gbyy:value gbyy:value
}).then(res => { }).then(res => {
...@@ -177,12 +177,8 @@ ...@@ -177,12 +177,8 @@
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(res => { }).then(res => {
this.$post('lxyl/ckgl/ckdgb/batchUnClose/cktzmx', { this.$post('lxyl/ckgl/cktz/unclose/cktzmx', {
datas:[ id: ctx.singleItem.id
{
id: ctx.singleItem.id
}
]
}).then(res => { }).then(res => {
if (res.success) { if (res.success) {
......
...@@ -220,7 +220,7 @@ import { Row } from 'element-ui' ...@@ -220,7 +220,7 @@ import { Row } from 'element-ui'
"value": "", "value": "",
"required": true, "required": true,
"typeConfig": { "typeConfig": {
"src": "lxyl/common/ck/queryCkid", "src": "lxyl/jcsj/uck/ck/queryCjckid",
"match": { "match": {
"value": "id", "value": "id",
"label": "name" "label": "name"
......
<template> <template>
<RelDialog @beforeCopyDetail='beforeCopyDetail' bigTitle detailTable='CKTHTZMX' @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">
...@@ -217,10 +217,14 @@ ...@@ -217,10 +217,14 @@
"value": "", "value": "",
"required": true, "required": true,
"typeConfig": { "typeConfig": {
"src": "jcsj/common/ck/queryCkid", "src": "lxyl/jcsj/uck/ck/queryCjckid",
"match": { "match": {
"value": "id", "value": "id",
"label": "name" "label": "name"
},
change:(row)=>{
this.form.hzName=row.hzName
this.form.hzid=row.hzid
} }
} }
}, },
...@@ -255,7 +259,7 @@ ...@@ -255,7 +259,7 @@
} }
}, },
{ {
label: '货主', label: '工厂',
prop: 'hzid', prop: 'hzid',
span: 8, span: 8,
type: 'AuxInput', type: 'AuxInput',
...@@ -373,7 +377,7 @@ ...@@ -373,7 +377,7 @@
}, },
{ {
title: "数量", title: "数量",
field: "sl", field: "yssl",
allowEdit: true, allowEdit: true,
type: 'inputNumber', type: 'inputNumber',
......
...@@ -61,11 +61,11 @@ ...@@ -61,11 +61,11 @@
// field: "rkr", // field: "rkr",
// width: 140 // width: 140
// }, // },
{ {
title: "货主", title: "工厂",
field: "hzName", field: "hzName",
width: 140 width: 140
}, },
{ {
title: "事务类型", title: "事务类型",
field: "swlxName", field: "swlxName",
......
<template> <template>
<RelDialog bigTitle detailTable='RKTHTZMX' @getFormDetail='getFormDetail' width="70%" :type='type' :editApp='editApp' <RelDialog bigTitle detailTable='CKTZQD' @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">
<Kc @save='kcSave' v-if="showDialog" :app='this' /> <Kc @save='kcSave' v-if="showDialog" :app='this' />
...@@ -126,10 +126,14 @@ ...@@ -126,10 +126,14 @@
"required": true, "required": true,
readonly:true, readonly:true,
"typeConfig": { "typeConfig": {
"src": "jcsj/common/ck/queryCkid", "src": "lxyl/jcsj/uck/ck/queryCjckid",
"match": { "match": {
"value": "id", "value": "id",
"label": "name" "label": "name"
},
change:(row)=>{
this.form.hzName=row.hzName
this.form.hzid=row.hzid
} }
} }
}, },
...@@ -164,7 +168,7 @@ ...@@ -164,7 +168,7 @@
} }
}, },
{ {
label: '货主', label: '工厂',
readonly: true, readonly: true,
prop: 'hzid', prop: 'hzid',
span: 8, span: 8,
......
<template> <template>
<RelDialog bigTitle detailTable='RKTHTZMX' @getFormDetail='getFormDetail' width="70%" :type='type' :editApp='editApp' <RelDialog bigTitle detailTable='CKTZMX' @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">
<Kc @save='kcSave' v-if="showDialog" :app='this' /> <Kc @save='kcSave' v-if="showDialog" :app='this' />
...@@ -126,10 +126,14 @@ ...@@ -126,10 +126,14 @@
"required": true, "required": true,
readonly:true, readonly:true,
"typeConfig": { "typeConfig": {
"src": "jcsj/common/ck/queryCkid", "src": "lxyl/jcsj/uck/ck/queryCjckid",
"match": { "match": {
"value": "id", "value": "id",
"label": "name" "label": "name"
},
change:(row)=>{
this.form.hzName=row.hzName
this.form.hzid=row.hzid
} }
} }
}, },
...@@ -164,7 +168,7 @@ ...@@ -164,7 +168,7 @@
} }
}, },
{ {
label: '货主', label: '工厂',
readonly: true, readonly: true,
prop: 'hzid', prop: 'hzid',
span: 8, span: 8,
...@@ -228,7 +232,7 @@ ...@@ -228,7 +232,7 @@
}, },
{ {
title: "数量", title: "数量",
field: "sl", field: "yfsl",
allowEdit: true, allowEdit: true,
type: 'inputNumber', type: 'inputNumber',
// width: 200, // width: 200,
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
width: 140 width: 140
}, },
{ {
title: "货主", title: "工厂",
field: "hzName", field: "hzName",
width: 140 width: 140
}, },
......
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