|
|
|
@ -35,6 +35,21 @@
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="往来单位:">
|
|
|
|
|
<el-select v-model="filterQuery.fromCorp" filterable placeholder="请选择往来仓库" clearable style="width: 90%">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in fromInvOptions"
|
|
|
|
|
:key="item.erpId"
|
|
|
|
|
:label="item.name"
|
|
|
|
|
:value="item.erpId"
|
|
|
|
|
>
|
|
|
|
|
<span style="float: left">{{ item.name }}</span>
|
|
|
|
|
<span style="float: right; color: #8492a6; font-size: 13px">{{item.code}}</span>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-form>
|
|
|
|
|
<div class="top-right-btn">
|
|
|
|
@ -272,6 +287,7 @@ import {
|
|
|
|
|
inspectionOrderPDFFromTemplateFile,
|
|
|
|
|
orderPDFFromTemplateFile,
|
|
|
|
|
} from "@/api/itextpdf/orderPrint";
|
|
|
|
|
import {selectCorpList} from "@/api/basic/basicUnitMaintain";
|
|
|
|
|
|
|
|
|
|
const formJson = {
|
|
|
|
|
site_id: "",
|
|
|
|
@ -305,6 +321,7 @@ export default {
|
|
|
|
|
startTime: null,
|
|
|
|
|
endTime: null,
|
|
|
|
|
},
|
|
|
|
|
fromInvOptions: [],
|
|
|
|
|
checkStatus: {
|
|
|
|
|
1: "草稿",
|
|
|
|
|
2: "等待处理",
|
|
|
|
@ -711,6 +728,16 @@ export default {
|
|
|
|
|
this.resultQuery.page = 1;
|
|
|
|
|
this.getResultDetailList();
|
|
|
|
|
},
|
|
|
|
|
findFromInvList(val) {
|
|
|
|
|
let cQuery = {
|
|
|
|
|
};
|
|
|
|
|
selectCorpList(cQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.fromInvOptions = response.data || [];
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getResultDetailList() {
|
|
|
|
|
if (isBlank(this.currentRow.billNo)) {
|
|
|
|
|
this.$message.error("请先选择需要查询的单据!");
|
|
|
|
@ -756,6 +783,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.getInvList();
|
|
|
|
|
this.findFromInvList();
|
|
|
|
|
this.getBusType();
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|