Commit 0f37779a authored by 李苏's avatar 李苏 💬

.$refs.RelDialog.closeAll()

parent cff9ffb7
...@@ -41,11 +41,11 @@ ...@@ -41,11 +41,11 @@
field: "packCode", field: "packCode",
width: 140 width: 140
}, },
{ // {
title: "容器码", // title: "容器码",
field: "rqCode", // field: "rqCode",
width: 140 // width: 140
}, // },
// { // {
// title: "货主编码", // title: "货主编码",
// field: "hzCode", // field: "hzCode",
...@@ -76,16 +76,16 @@ ...@@ -76,16 +76,16 @@
"value": "id" "value": "id"
} }
}, },
{ // {
title: "容量状态", // title: "容量状态",
field: "packRlzt", // field: "packRlzt",
width: 140, // width: 140,
transform: { // transform: {
"url": "wms/jcsj/rq/init/rlzt", // "url": "wms/jcsj/rq/init/rlzt",
"label": "name", // "label": "name",
"value": "id" // "value": "id"
} // }
}, // },
// { // {
// title: "运输状态", // title: "运输状态",
// field: "packYszt", // field: "packYszt",
...@@ -134,42 +134,41 @@ ...@@ -134,42 +134,41 @@
span: 6, span: 6,
type: 'input', type: 'input',
}, },
{ // {
"label": "状态", // "label": "状态",
"prop": "zt", // "prop": "zt",
"span": 6, // "span": 6,
"type": "RelSelect", // "type": "RelSelect",
"value": "", // "value": "",
"typeConfig": { // "typeConfig": {
"src": "wms/jcsj/pack/init/zt", // "src": "wms/jcsj/pack/init/zt",
"match": { // "match": {
"value": "id", // "value": "id",
"label": "name" // "label": "name"
} // }
} // }
}, // },
{ // {
"label": "库存状态", // "label": "库存状态",
"prop": "kczt", // "prop": "kczt",
"span": 6, // "span": 6,
"type": "RelSelect", // "type": "RelSelect",
"value": "", // "value": "",
"typeConfig": { // "typeConfig": {
"src": "wms/jcsj/pack/init/kczt", // "src": "wms/jcsj/pack/init/kczt",
"match": { // "match": {
"value": "id", // "value": "id",
"label": "name" // "label": "name"
} // }
} // }
}, // },
{ {
label: '物料批号', label: '物料批号',
prop: 'wlph', prop: 'wlph',
span: 6, span: 6,
type: 'input', type: 'input',
} },
], {
[{
label: '物料', label: '物料',
prop: 'wlid', prop: 'wlid',
span: 6, span: 6,
...@@ -187,7 +186,9 @@ ...@@ -187,7 +186,9 @@
label: 'name' label: 'name'
} }
} }
}, ] }
],
// [, ]
], ],
/* 默认启停用 */ /* 默认启停用 */
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<!-- editTab数据 --> <!-- editTab数据 -->
<div slot="reFooter" class="refooter"> <div slot="reFooter" class="refooter">
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="app.showDialog=false">取 消</el-button> <el-button @click="$refs.RelDialog.closeAll()">取 消</el-button>
<el-button type="primary" @click="save()">保 存</el-button> <el-button type="primary" @click="save()">保 存</el-button>
</span> </span>
</div> </div>
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
...this.form, ...this.form,
datas:this.formDetail datas:this.formDetail
}).then(res=>{ }).then(res=>{
if(res.data.success){ if(res.success){
this.$success('操作成功') this.$success('操作成功')
this.$refs.RelDialog.closeAll() this.$refs.RelDialog.closeAll()
this.app.refresh() this.app.refresh()
......
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