|
|
@ -16,14 +16,20 @@
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-form-item class="query-form-item" label="往来单位:">
|
|
|
|
<el-form-item label="外部系统:">
|
|
|
|
<el-input
|
|
|
|
<el-select v-model="listQuery.thirdSysFk" style="width: 90%" placeholder="请选择第三方系统"
|
|
|
|
v-model="listQuery.corpName"
|
|
|
|
clearable="true" @change="thirdSysChange">
|
|
|
|
placeholder="往来单位"
|
|
|
|
<el-option
|
|
|
|
clearable
|
|
|
|
v-for="item in thirdSys"
|
|
|
|
></el-input>
|
|
|
|
:key="item.thirdId"
|
|
|
|
|
|
|
|
:label="item.thirdName"
|
|
|
|
|
|
|
|
:value="item.thirdId">
|
|
|
|
|
|
|
|
<span style="float: left;font-size: 13px">{{ item.thirdName }}</span>
|
|
|
|
|
|
|
|
</el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-form-item class="query-form-item" label="单据类型:">
|
|
|
|
<el-form-item class="query-form-item" label="单据类型:">
|
|
|
|
<el-select v-model="listQuery.billAction" placeholder="请选择第三方系统单据类型" filterable clearable="true">
|
|
|
|
<el-select v-model="listQuery.billAction" placeholder="请选择第三方系统单据类型" filterable clearable="true">
|
|
|
@ -142,6 +148,7 @@ import store from "../../store";
|
|
|
|
import {getOriginBusType} from "@/api/basic/busOriginType";
|
|
|
|
import {getOriginBusType} from "@/api/basic/busOriginType";
|
|
|
|
import {filterAllByUser} from "@/api/system/invWarehouse";
|
|
|
|
import {filterAllByUser} from "@/api/system/invWarehouse";
|
|
|
|
import selectInvDialog from "./DialogSelectInv";
|
|
|
|
import selectInvDialog from "./DialogSelectInv";
|
|
|
|
|
|
|
|
import {getBasicThirdSys} from "@/api/basic/basicThirdSys";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "closeDialog",
|
|
|
|
name: "closeDialog",
|
|
|
@ -348,6 +355,7 @@ export default {
|
|
|
|
getBusType() {
|
|
|
|
getBusType() {
|
|
|
|
let query = {
|
|
|
|
let query = {
|
|
|
|
enabled: true,
|
|
|
|
enabled: true,
|
|
|
|
|
|
|
|
thirdSys: this.listQuery.thirdSysFk,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
getOriginBusType(query)
|
|
|
|
getOriginBusType(query)
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
@ -374,15 +382,41 @@ export default {
|
|
|
|
this.storageVisible = false;
|
|
|
|
this.storageVisible = false;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
thirdSysChange() {
|
|
|
|
|
|
|
|
this.listQuery.billAction = "";
|
|
|
|
|
|
|
|
this.getBusType();
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
closeSubmitDialog() {
|
|
|
|
closeSubmitDialog() {
|
|
|
|
this.storageVisible = false;
|
|
|
|
this.storageVisible = false;
|
|
|
|
this.combine();
|
|
|
|
this.combine();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getBasicThirdSys() {
|
|
|
|
|
|
|
|
let query = {
|
|
|
|
|
|
|
|
enabled: true,
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
getBasicThirdSys(query)
|
|
|
|
|
|
|
|
.then((response) => {
|
|
|
|
|
|
|
|
this.thirdSys = response.data.list || [];
|
|
|
|
|
|
|
|
this.listQuery.thirdSysFk = this.thirdSys[0].thirdId;
|
|
|
|
|
|
|
|
this.uploadData.thirdSys = this.listQuery.thirdSysFk;
|
|
|
|
|
|
|
|
this.selectSysParam();
|
|
|
|
|
|
|
|
this.getBusType();
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
.catch(() => {
|
|
|
|
|
|
|
|
this.loading = false;
|
|
|
|
|
|
|
|
this.list = [];
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
this.getBusType();
|
|
|
|
|
|
|
|
|
|
|
|
this.getBasicThirdSys();
|
|
|
|
this.getStorage();
|
|
|
|
this.getStorage();
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
components: {selectInvDialog}
|
|
|
|
components: {selectInvDialog}
|
|
|
|
|
|
|
|
|
|
|
|