Commit e8191716 authored by 周毅's avatar 周毅

修改出库平库选库存界面

parent 1fae2047
...@@ -60,8 +60,8 @@ ...@@ -60,8 +60,8 @@
operateButtons: false, operateButtons: false,
workFlow: false, workFlow: false,
/* 表格 */ /* 表格 */
showSelection: false, showSelection: true,
saveSelected: false saveSelected: true
}, },
config: { config: {
/* 基本配置*/ /* 基本配置*/
...@@ -95,9 +95,16 @@ ...@@ -95,9 +95,16 @@
width: 160 width: 160
}, },
{ {
title: "规格", title: "库存数量",
field: "wlxxGg", field: "kcsl",
width: 140 width: 120,
fieldType: 'float'
},
{
title: "拣货数量",
field: "sl",
width: 120,
fieldType: 'float'
}, },
{ {
title: "计量单位", title: "计量单位",
...@@ -120,12 +127,7 @@ ...@@ -120,12 +127,7 @@
field: "zlh", field: "zlh",
width: 180, width: 180,
}, },
{
title: "库存数量",
field: "kcsl",
width: 120,
fieldType: 'float'
},
{ {
title: "货主", title: "货主",
field: "hzName", field: "hzName",
...@@ -198,12 +200,23 @@ ...@@ -198,12 +200,23 @@
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
let params = { let list=this.$refs.basePage.$refs.TablePager.selectedList.map(item=>{
rqid: singleItem.rqid, let ml={
kwid: singleItem.kwid, rqid:item.rqid,
packid: singleItem.packid, kwid:item.kwid,
packid:item.packid,
wlid:item.wlid,
wlph:item.wlph,
zlh:item.zlh,
sl:item.sl
}
return ml
})
let params={
datas:list,
lydjid:""
} }
this.$post('/lxyl/ckgl/ckrw/pkck/save', params).then(res => { this.$post('/lxyl/ckgl/ckrw/pkck/batchJhck', params).then(res => {
if (res.success) { if (res.success) {
this.$success('操作成功') this.$success('操作成功')
this.app.showDialog = false this.app.showDialog = false
......
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