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

保存操作逻辑变更

parent b2da26dc
......@@ -34,7 +34,18 @@
/* 基本配置*/
url: '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: "唯一码",
field: "packCode",
width: 120,
......@@ -64,16 +75,7 @@
field: "mbkwCode",
width: 120,
},
{
title: "状态",
field: "zt",
width: 100,
"transform": {
"url": "wms/kcgl/kwtz/init/zt",
"label": "name",
"value": "id"
}
},
],
......
......@@ -102,6 +102,21 @@
"match": {
"value": "id",
"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 @@
width: 200,
},
{
title: "唯一码",
field: "packCode",
width: 200,
},
// {
// title: "唯一码",
// field: "packCode",
// width: 200,
// },
{
title: "容器",
field: "rqCode",
......@@ -184,9 +199,7 @@
give(data) {
this.form.mbkqName = data.kqName
this.$forceUpdate()
}
}
},
{
......
......@@ -21,7 +21,18 @@
queryDetail: true,
/* 基本配置*/
url: 'wms/kcgl/kwtz',
tableTitle: [{
tableTitle: [
{
title: "状态",
field: "zt",
width: 100,
"transform": {
"url": "wms/kcgl/kwtz/init/zt",
"label": "name",
"value": "id"
}
},
{
title: "单据号",
field: "djid",
width: 140
......@@ -41,26 +52,18 @@
field: "fzrName",
width: 140
},
{
title: "状态",
field: "zt",
width: 100,
"transform": {
"url": "wms/kcgl/kwtz/init/zt",
"label": "name",
"value": "id"
}
title: "备注",
field: "bz",
width: 200
},
{
title: "维护人",
field: "whr",
width: 140
},
{
title: "备注",
field: "bz",
},
{
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