Commit 94612cfc authored by 李苏's avatar 李苏 💬

configuration rkd

parent 54baafef
......@@ -32,8 +32,8 @@
},
config: {
/* 基本配置*/
url: 'lxyl/kcgl/zlhbg/query/detail',
queryUrl: 'lxyl/kcgl/zlhbg/query/detail',
url: 'lxyl/zlgl/uLothold/query/detail',
queryUrl: 'lxyl/zlgl/uLothold/query/detail',
tableTitle: [{
title: "物料编码",
field: "wlxxCode",
......@@ -66,11 +66,6 @@
field: "zlh",
width: 180,
},
{
title: "变更后制令号",
field: "bghzlh",
width: 180,
},
{
title: "唯一码",
field: "packCode",
......@@ -85,17 +80,7 @@
title: "货主",
field: "hzName",
width: 120,
},
{
title: "包装数量",
field: "bzsl",
width: 120,
},
{
title: "装托数量",
field: "ztsl",
width: 120,
},
}
],
queryParams: [],
......
......@@ -61,7 +61,67 @@
// this.$refs.editTableForEdit.$forceUpdate()
},
getPhsx(arr){
let pushArr=[
{
prop: "wlphScrq",
label: "生产日期",
type: 'inputDate',
width: 120,
allowEdit: true,
blur: toFixed(null),
change: row => doLxwmsrkd(row, 'wlphScrq')
},
{
prop: "wlphGqrq",
label: "过期日期",
type: 'inputDate',
width: 120,
allowEdit: true
},
{
prop: "wlphJyrq",
label: "检验日期",
type: 'inputDate',
width: 120,
allowEdit: true
},
{
prop: "wlphRkrq",
label: "入库日期",
type: 'inputDate',
width: 120,
allowEdit: false
},
]
arr.forEach((item,index)=>{
if(item.prop=='wlphScrq'){
// item=
arr.splice(index, 1)
}
})
arr.forEach((item,index)=>{
if(item.prop=='wlphGqrq'){
arr.splice(index, 1)
}
})
arr.forEach((item,index)=>{
if(item.prop=='wlphJyrq'){
arr.splice(index, 1)
}
})
arr.forEach((item,index)=>{
if(item.prop=='wlphRkrq'){
arr.splice(index, 1)
}
})
pushArr.forEach(item=>{
arr.push(item)
})
},
/* 选择list时的回调 */
save(list) {
......@@ -310,36 +370,7 @@
field: "rksl",
},
{
title: "生产日期",
field: "wlphScrq",
type: 'inputDate',
width: 120,
allowEdit: true,
blur: toFixed(null),
change: row => doLxwmsrkd(row, 'wlphScrq')
},
{
title: "过期日期",
field: "wlphGqrq",
type: 'inputDate',
width: 120,
allowEdit: true
},
{
title: "检验日期",
field: "wlphJyrq",
type: 'inputDate',
width: 120,
allowEdit: true
},
{
title: "入库日期",
field: "wlphRkrq",
type: 'inputDate',
width: 120,
allowEdit: false
},
{
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