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

3.20调整

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