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

检验单调整

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