Commit fca87e43 authored by renjintao's avatar renjintao

outbound 控制

parent c283def6
......@@ -14,13 +14,13 @@
<p slot="title">申请单物料列表</p>
<div slot="extra">
<Button
type="primary"
shape="circle"
:icon="iconLabel"
class="fr"
size="small"
@click="openMore"
>{{butTxt}}</Button>
type="primary"
shape="circle"
:icon="iconLabel"
class="fr"
size="small"
@click="openMore"
>{{butTxt}}</Button>
</div>
<Table
:columns="cols"
......@@ -34,17 +34,17 @@
></Table>
</Card>
<div class="mt20 mb60">
<Card :padding="0">
<p slot="title">出库物料库房库位列表</p></p>
<Table
:columns="colsList"
:data="dataList"
class="tableCommon"
ref="gridTable1"
border
@on-selection-change="selectChange"
></Table>
</Card>
<Card :padding="0">
<p slot="title">出库物料库房库位列表</p>
<Table
:columns="colsList"
:data="dataList"
class="tableCommon"
ref="gridTable1"
border
@on-selection-change="selectChange"
></Table>
</Card>
</div>
<div>
<FooterToolbar v-show="footerToolbar" class="ftball">
......@@ -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,7 +345,11 @@ export default {
applicationOk() {
Api.deleteitem(this.outBoldArr).then((res) => {
if (res.success) {
this.load(this.eid);
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