Commit 69b9fc26 authored by 李苏's avatar 李苏 💬

保存操作逻辑变更

parent b2da26dc
...@@ -34,7 +34,18 @@ ...@@ -34,7 +34,18 @@
/* 基本配置*/ /* 基本配置*/
url: 'wms/kcgl/kwtz/query/detail', url: 'wms/kcgl/kwtz/query/detail',
queryUrl: 'wms/kcgl/kwtz/query/detail', queryUrl: 'wms/kcgl/kwtz/query/detail',
tableTitle: [{ tableTitle: [
{
title: "状态",
field: "zt",
width: 100,
"transform": {
"url": "wms/kcgl/kwtz/init/zt",
"label": "name",
"value": "id"
}
},
{
title: "唯一码", title: "唯一码",
field: "packCode", field: "packCode",
width: 120, width: 120,
...@@ -64,16 +75,7 @@ ...@@ -64,16 +75,7 @@
field: "mbkwCode", field: "mbkwCode",
width: 120, width: 120,
}, },
{
title: "状态",
field: "zt",
width: 100,
"transform": {
"url": "wms/kcgl/kwtz/init/zt",
"label": "name",
"value": "id"
}
},
], ],
......
...@@ -102,6 +102,21 @@ ...@@ -102,6 +102,21 @@
"match": { "match": {
"value": "id", "value": "id",
"label": "name" "label": "name"
},
change:(row)=>{
if(this.formDetail.length!=0){
this.$confirm('仓库发生改变,已有明细将会清空!是否确认改变', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(res=>{
let length=this.formDetail.length
this.formDetail.splice(0, length)
}).catch(rc=>{
this.form.ckid=this.formDetail[0].ckid
})
}
} }
} }
}, },
...@@ -149,11 +164,11 @@ ...@@ -149,11 +164,11 @@
width: 200, width: 200,
}, },
{ // {
title: "唯一码", // title: "唯一码",
field: "packCode", // field: "packCode",
width: 200, // width: 200,
}, // },
{ {
title: "容器", title: "容器",
field: "rqCode", field: "rqCode",
...@@ -184,9 +199,7 @@ ...@@ -184,9 +199,7 @@
give(data) { give(data) {
this.form.mbkqName = data.kqName this.form.mbkqName = data.kqName
this.$forceUpdate() this.$forceUpdate()
} }
} }
}, },
{ {
......
...@@ -21,7 +21,18 @@ ...@@ -21,7 +21,18 @@
queryDetail: true, queryDetail: true,
/* 基本配置*/ /* 基本配置*/
url: 'wms/kcgl/kwtz', url: 'wms/kcgl/kwtz',
tableTitle: [{ tableTitle: [
{
title: "状态",
field: "zt",
width: 100,
"transform": {
"url": "wms/kcgl/kwtz/init/zt",
"label": "name",
"value": "id"
}
},
{
title: "单据号", title: "单据号",
field: "djid", field: "djid",
width: 140 width: 140
...@@ -41,26 +52,18 @@ ...@@ -41,26 +52,18 @@
field: "fzrName", field: "fzrName",
width: 140 width: 140
}, },
{ {
title: "状态", title: "备注",
field: "zt", field: "bz",
width: 100, width: 200
"transform": {
"url": "wms/kcgl/kwtz/init/zt",
"label": "name",
"value": "id"
}
}, },
{ {
title: "维护人", title: "维护人",
field: "whr", field: "whr",
width: 140 width: 140
}, },
{
title: "备注",
field: "bz",
},
{ {
title: "维护时间", title: "维护时间",
......
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