Commit 57e0bd47 authored by 李苏's avatar 李苏 💬

检验单调整

parent 371b7af9
...@@ -34,7 +34,33 @@ ...@@ -34,7 +34,33 @@
/* 基本配置*/ /* 基本配置*/
url: 'wms/ckgl/llck', url: 'wms/ckgl/llck',
queryUrl: 'lxyl/zlgl/ukcjyd//query/detail', queryUrl: 'lxyl/zlgl/ukcjyd//query/detail',
tableTitle: [{ tableTitle: [
{
title: "物料编码",
field: "wlxxCode",
width: 140
},
{
title: "物料名称",
field: "wlxxName",
width: 140
},
{
title: "物料规格",
field: "wlxxGg",
width: 140
},
{
title: "制令号",
field: "zlh",
width: 140
},
{
title: "物料批号",
field: "wlph",
width: 140
},
{
title: "唯一码", title: "唯一码",
field: "packCode", field: "packCode",
width: 140 width: 140
...@@ -47,12 +73,10 @@ ...@@ -47,12 +73,10 @@
{ {
title: "合格标志", title: "合格标志",
field: "hgbz", field: "hgbz",
formatter(a, b, v) { "transform": {
let map = { "url": "lxyl/zlgl/ukcjyd/init/JyStatus",
N: '不合格', "label": "name",
Y: '合格' "value": "id"
}
return map[v]
}, },
width: 140 width: 140
}, },
......
...@@ -156,9 +156,9 @@ ...@@ -156,9 +156,9 @@
save(){ save(){
let list =this.$refs.basePage.$refs.TablePager.selectedList||[] let list =this.$refs.basePage.$refs.TablePager.selectedList||[]
if(list.length!=0){ if(list.length!=0){
this.$post('lxyl/zlgl/ukcjyd/add',{ this.$post('lxyl/zlgl/ukcjyd/doGenerate',
list list
}).then(res=>{ ).then(res=>{
if(res.success){ if(res.success){
this.app.showDialog=false this.app.showDialog=false
this.app.refresh() this.app.refresh()
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
}, },
{ {
title: "检验单号", title: "检验单号",
field: "jydh", field: "djid",
width: 140 width: 140
}, },
{ {
...@@ -87,20 +87,20 @@ ...@@ -87,20 +87,20 @@
width: 140 width: 140
}, },
{ {
title: "检验数量", title: "检验批数量",
field: "jysl", field: "jypsl",
width: 140
},
{
title: "合格数量",
field: "hgsl",
width: 140
},
{
title: "不合格数量",
field: "bhgsl",
width: 140 width: 140
}, },
// {
// title: "合格数量",
// field: "hgsl",
// width: 140
// },
// {
// title: "不合格数量",
// field: "bhgsl",
// width: 140
// },
{ {
title: "备注", title: "备注",
field: "bz", field: "bz",
......
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