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

change field and protect 'records'

parent b3d9e2f9
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
ckid: this.form.ckid, ckid: this.form.ckid,
wlid: item.id wlid: item.id
}) })
item.kcsl = res.data.records.kcsl || 0 item.kcsl = res.data.records?res.data.records.kcsl:0
// 转换并且push // 转换并且push
item.wlid = item.id item.wlid = item.id
item.wlxxName = item.name item.wlxxName = item.name
......
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
{ {
"label": "仓库", "label": "仓库",
"prop": "ckid", "prop": "ckid",
"span": 6, "span": 8,
"type": "RelSelect", "type": "RelSelect",
"value": "", "value": "",
"typeConfig": { "typeConfig": {
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
{ {
label: '单据编号', label: '单据编号',
prop: 'djid', prop: 'djid',
span: 6, span: 8,
type: 'input', type: 'input',
value: '' value: ''
} }
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
{ {
label: '事务类型', label: '事务类型',
prop: 'swlxid', prop: 'swlxid',
span: 6, span: 8,
type: 'RelSelect', type: 'RelSelect',
typeConfig: { typeConfig: {
src: 'wms/ckgl/llck/init/swlx' src: 'wms/ckgl/llck/init/swlx'
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
{ {
label: '货主', label: '货主',
prop: 'hzName', prop: 'hzName',
span: 6, span: 8,
type: 'input', type: 'input',
} }
] ]
......
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
{ {
"label": "仓库", "label": "仓库",
"prop": "ckid", "prop": "ckid",
"span": 6, "span": 8,
"type": "RelSelect", "type": "RelSelect",
"value": "", "value": "",
"typeConfig": { "typeConfig": {
...@@ -168,17 +168,11 @@ ...@@ -168,17 +168,11 @@
{ {
label: '单据编号', label: '单据编号',
prop: 'djid', prop: 'djid',
span: 4, span: 8,
type: 'input', type: 'input',
value: '' value: ''
}, },
{
label: '来源单号',
prop: 'lydh',
span: 4,
type: 'input',
value: ''
}
],[ ],[
...@@ -194,11 +188,18 @@ ...@@ -194,11 +188,18 @@
{ {
label: '事务类型', label: '事务类型',
prop: 'swlxid', prop: 'swlxid',
span: 6, span: 8,
type: 'RelSelect', type: 'RelSelect',
typeConfig: { typeConfig: {
src: 'lxyl/rkgl/rktz/init/swlx' src: 'lxyl/rkgl/rktz/init/swlx'
} }
},
{
label: '来源单号',
prop: 'lydh',
span: 8,
type: 'input',
value: ''
} }
] ]
], ],
......
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