出库申请拉单调整
This commit is contained in:
parent
b72ff3946b
commit
00f0d7a8db
|
@ -82,11 +82,21 @@ class SapplyBillCard extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 渲染页面后,执行的方法
|
// 渲染页面后,执行的方法
|
||||||
componentDidMount() { }
|
componentDidMount() {
|
||||||
|
}
|
||||||
|
|
||||||
initData = (isRefresh) => {
|
initData = (isRefresh) => {
|
||||||
if (getUrlParam(this.props.getUrlParam, 'type') && !isRefresh) {
|
if (getUrlParam(this.props.getUrlParam, 'type') && !isRefresh) {
|
||||||
|
let type = getUrlParam(this.props.getUrlParam, 'type');
|
||||||
|
let cbilltype = '';
|
||||||
|
if (type == 'ref422x') {
|
||||||
|
cbilltype = '422X';
|
||||||
this.type = 'ref422x';
|
this.type = 'ref422x';
|
||||||
|
} else if (type == 'refBljh') {
|
||||||
|
cbilltype = '55A3';
|
||||||
|
this.type = 'refBljh';
|
||||||
|
}
|
||||||
|
|
||||||
let transferIds = this.props.transferTable.getTransferTableSelectedId();
|
let transferIds = this.props.transferTable.getTransferTableSelectedId();
|
||||||
if (transferIds) {
|
if (transferIds) {
|
||||||
let orderbids = new Set();
|
let orderbids = new Set();
|
||||||
|
@ -97,13 +107,6 @@ class SapplyBillCard extends Component {
|
||||||
});
|
});
|
||||||
orderhids.add(v.head.pk);
|
orderhids.add(v.head.pk);
|
||||||
});
|
});
|
||||||
let type = getUrlParam(this.props.getUrlParam, 'type');
|
|
||||||
let cbilltype = '';
|
|
||||||
if (type == 'ref422x') {
|
|
||||||
cbilltype = '422X';
|
|
||||||
} else if (type == 'refBljh') {
|
|
||||||
cbilltype = '55A3';
|
|
||||||
}
|
|
||||||
// let ids = [{ cbilltype: '422X', hids: orderhids, bids: orderbids }];
|
// let ids = [{ cbilltype: '422X', hids: orderhids, bids: orderbids }];
|
||||||
let ids = [{cbilltype: cbilltype, hids: orderhids, bids: orderbids}];
|
let ids = [{cbilltype: cbilltype, hids: orderhids, bids: orderbids}];
|
||||||
transfer.call(this, ids);
|
transfer.call(this, ids);
|
||||||
|
@ -758,6 +761,7 @@ class SapplyBillCard extends Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SapplyBillCard = createPage({
|
SapplyBillCard = createPage({
|
||||||
billinfo: {
|
billinfo: {
|
||||||
billtype: 'card',
|
billtype: 'card',
|
||||||
|
|
Loading…
Reference in New Issue