|
|
|
@ -82,16 +82,8 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="往来单位" prop="fromCorp" width="250">
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="当前仓库" prop="locStorageCode" width="150">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span>{{ getStorageName(scope.row.locStorageCode) }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="当前分库" prop="invWarehouseCode" width="120">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span>{{ getSubStorageName(scope.row.invWarehouseCode) }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="当前仓库" prop="invName" width="150"></el-table-column>
|
|
|
|
|
<el-table-column label="当前分库" prop="subInvName" width="120"></el-table-column>
|
|
|
|
|
<el-table-column label="创建时间" prop="actDate" show-overflow-tooltip>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<i class="el-icon-time"></i>
|
|
|
|
@ -413,7 +405,6 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
selectUnit(row) {
|
|
|
|
|
console.log(row.id);
|
|
|
|
|
this.unitUpdateQuery.id = this.curIndex;
|
|
|
|
|
this.unitUpdateQuery.fromCorp = row.name;
|
|
|
|
|
this.unitUpdateQuery.fromCorpId = row.erpId;
|
|
|
|
@ -433,7 +424,6 @@ export default {
|
|
|
|
|
this.filterQuery.customerId = store.getters.customerId;
|
|
|
|
|
orderListError(this.filterQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
console.log(response)
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.list = response.data.list || [];
|
|
|
|
|
this.total = response.data.total || 0;
|
|
|
|
@ -499,10 +489,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
handleErrorDetail(poistion) {
|
|
|
|
|
var mOrder = this.list[poistion];
|
|
|
|
|
var corpOrderId = mOrder.remark;
|
|
|
|
|
|
|
|
|
|
this.errorDetail = mOrder.remark;
|
|
|
|
|
console.log(corpOrderId + " " + mOrder + " " + mOrder.remark);
|
|
|
|
|
this.dialogVisible = true;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
@ -518,7 +505,6 @@ export default {
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.busTypes = response.data.list || [];
|
|
|
|
|
this.filterQuery.billAction = this.busTypes[0].action;
|
|
|
|
|
// this.getList();
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
@ -569,7 +555,6 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
addOrders(row) {
|
|
|
|
|
console.log(row)
|
|
|
|
|
this.idQuery.id = '';
|
|
|
|
|
this.idQuery.actDate = '';
|
|
|
|
|
this.idQuery.corpOrderId = '';
|
|
|
|
|