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

change field and protect 'records'

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