|
|
|
@ -270,6 +270,7 @@
|
|
|
|
|
@current-change="handleCurrentChange"
|
|
|
|
|
layout="prev, pager, next"
|
|
|
|
|
:total="total"
|
|
|
|
|
:current-page="filterQuery.page"
|
|
|
|
|
></el-pagination>
|
|
|
|
|
</el-card>
|
|
|
|
|
</div>
|
|
|
|
@ -292,6 +293,7 @@ import store from "../../store";
|
|
|
|
|
import {filterAllByUser} from "@/api/basic/invWarehouse";
|
|
|
|
|
import {getLocalJoinByUser} from "@/api/basic/busLocalType";
|
|
|
|
|
import {filterSubByInv} from "@/api/basic/invSubWarehouse";
|
|
|
|
|
import {isBlank} from "@/utils/strUtil";
|
|
|
|
|
|
|
|
|
|
const formJson = {
|
|
|
|
|
site_id: "",
|
|
|
|
@ -397,6 +399,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
onSubmit() {
|
|
|
|
|
this.loading = true;
|
|
|
|
|
this.filterQuery.page = 1;
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
handleSizeChange(val) {
|
|
|
|
@ -514,11 +517,9 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
handleSelectionChange(val) {
|
|
|
|
|
console.log(val);
|
|
|
|
|
this.multipleSelection = val;
|
|
|
|
|
},
|
|
|
|
|
selectUnit(row) {
|
|
|
|
|
console.log(row.id);
|
|
|
|
|
this.unitUpdateQuery.id = this.curIndex;
|
|
|
|
|
this.unitUpdateQuery.fromCorp = row.name;
|
|
|
|
|
this.unitUpdateQuery.fromCorpId = row.unitid;
|
|
|
|
@ -540,7 +541,6 @@ export default {
|
|
|
|
|
// this.filterQuery.statusOrOne = -1;
|
|
|
|
|
filterOrder(this.filterQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
console.log(response)
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.list = response.data.list || [];
|
|
|
|
|
this.total = response.data.total || 0;
|
|
|
|
@ -658,8 +658,7 @@ export default {
|
|
|
|
|
this.list.splice(i, 1);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
;
|
|
|
|
|
};
|
|
|
|
|
this.$message.success("提交成功");
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
@ -671,10 +670,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;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
@ -690,6 +686,12 @@ export default {
|
|
|
|
|
this.filterQuery.invWarehouseCode = "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (isBlank(this.filterQuery.locStorageCode)) {
|
|
|
|
|
this.filterQuery.invWarehouseCode = null;
|
|
|
|
|
this.subInvList = [];
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let query = {
|
|
|
|
|
pcode: this.filterQuery.locStorageCode
|
|
|
|
|
};
|
|
|
|
|