Commit fca87e43 authored by renjintao's avatar renjintao

outbound 控制

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