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

3.20调整

parent 093eefe5
<template> <template>
<RelDialog bigTitle detailTable='CKTZMX' @getForm='getForm' @getFormDetail='getFormDetail' width="70%" :type='type' :editApp='editApp' <RelDialog @beforeCopyDetail='beforeCopyDetail' bigTitle detailTable='CKTZMX' @getForm='getForm' @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">
...@@ -45,6 +45,15 @@ ...@@ -45,6 +45,15 @@
export default { export default {
mixins: [editMixin, editMixin_expand], mixins: [editMixin, editMixin_expand],
methods: { methods: {
beforeCopyDetail(list){
list.forEach(item=>{
item.jhsl=0
item.cksl=0
})
},
getForm(val){ getForm(val){
val.djly='M' val.djly='M'
}, },
......
...@@ -89,20 +89,20 @@ ...@@ -89,20 +89,20 @@
// type: 'input', // type: 'input',
// required: true, // required: true,
// }, // },
{ // {
"label": "仓库", // "label": "仓库",
"prop": "ckid", // "prop": "ckid",
"span": 12, // "span": 12,
"type": "RelSelect", // "type": "RelSelect",
"value": "", // "value": "",
"typeConfig": { // "typeConfig": {
"src": "jcsj/common/ck/queryCkid", // "src": "jcsj/common/ck/queryCkid",
"match": { // "match": {
"value": "id", // "value": "id",
"label": "name" // "label": "name"
} // }
} // }
}, // },
// { // {
// label: '备注', // label: '备注',
// prop: 'bz', // prop: 'bz',
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
return { return {
config: { config: {
/* 基本配置*/ /* 基本配置*/
url: 'lxyl/jcsj/hj', url: 'jcsj/hj',
tableTitle: [ tableTitle: [
{ {
...@@ -78,11 +78,11 @@ ...@@ -78,11 +78,11 @@
// fieldType: "tybz", // fieldType: "tybz",
// width: 200 // width: 200
// }, // },
{ // {
title: "仓库", // title: "仓库",
field: "ckName", // field: "ckName",
width: 200 // width: 200
}, // },
{ {
title: "停用日期", title: "停用日期",
field: "tyrq", field: "tyrq",
......
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
editMixin, editMixin,
editMixin_expand editMixin_expand
} from 'common' } from 'common'
import { Row } from 'element-ui'
export default { export default {
mixins: [editMixin, editMixin_expand], mixins: [editMixin, editMixin_expand],
...@@ -65,9 +66,11 @@ ...@@ -65,9 +66,11 @@
} }
}) })
item.ztsl=0 item.yssl=0
}) })
this.form.mpzt='I' this.form.mpzt='I'
this.form.bzzt=null
}, },
/* 需要整体row时的回调 */ /* 需要整体row时的回调 */
computedRow(row) { computedRow(row) {
...@@ -221,6 +224,10 @@ ...@@ -221,6 +224,10 @@
"match": { "match": {
"value": "id", "value": "id",
"label": "name" "label": "name"
},
change:(row)=>{
this.form.hzName=row.hzName
this.form.hzid=row.hzid
} }
} }
}, },
......
...@@ -112,16 +112,16 @@ ...@@ -112,16 +112,16 @@
"value": "id" "value": "id"
} }
}, },
{ // {
title: "过账状态", // title: "过账状态",
field: "gzzt", // field: "gzzt",
width: 100, // width: 100,
"transform": { // "transform": {
"url": "lxyl/common/init/gzzt", // "url": "lxyl/common/init/gzzt",
"label": "name", // "label": "name",
"value": "id" // "value": "id"
} // }
}, // },
{ {
title: "部门", title: "部门",
field: "bmName", field: "bmName",
......
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