Commit fca87e43 authored by renjintao's avatar renjintao

outbound 控制

parent c283def6
......@@ -35,7 +35,7 @@
</Card>
<div class="mt20 mb60">
<Card :padding="0">
<p slot="title">出库物料库房库位列表</p></p>
<p slot="title">出库物料库房库位列表</p>
<Table
:columns="colsList"
:data="dataList"
......@@ -200,6 +200,8 @@ export default {
msgInfo: false,
title: "",
outBoldArr: [],
orderId: 0,
curRowId: 0,
};
},
props: {
......@@ -235,7 +237,13 @@ export default {
//this.datas = r.result.children;
this.tempList = r.result.children;
this.datas = this.tempList.slice(0, 1);
this.tableHeight1 = "96";
this.butTxt = "更多";
this.iconLabel = "md-arrow-dropdown";
let parm = { orderId: r.result.orderId };
this.orderId = r.result.orderId;
this.curRowId = 0;
Api.listbysupportitem(parm).then((res) => {
if (res.success) {
this.dataList = res.result;
......@@ -270,6 +278,7 @@ export default {
curChange(curRow, oldRow) {
//当前物料过滤
//点击物料行
this.curRowId = curRow.id;
this.getList(curRow.id);
},
getList(id) {
......@@ -336,8 +345,12 @@ export default {
applicationOk() {
Api.deleteitem(this.outBoldArr).then((res) => {
if (res.success) {
if (this.curRowId != 0) {
this.getList(this.curRowId);
} else {
this.load(this.eid);
}
}
});
this.msgInfo = 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