|
|
|
@ -36,7 +36,27 @@
|
|
|
|
|
<span>第三方单据类型: </span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<el-select v-model="inputQuery.originAction" placeholder="请选择第三方系统单据类型" clearable="true">
|
|
|
|
|
<!-- <el-select v-model="inputQuery.originAction" placeholder="请选择第三方系统单据类型" clearable="true">-->
|
|
|
|
|
<!-- <el-option-->
|
|
|
|
|
<!-- v-for="item in originTypes"-->
|
|
|
|
|
<!-- :key="item.name"-->
|
|
|
|
|
<!-- :label="item.name"-->
|
|
|
|
|
<!-- :value="item.action">-->
|
|
|
|
|
<!-- <span style="float: left;font-size: 13px">{{ item.name }}</span>-->
|
|
|
|
|
<!-- <span style="float: right; color: #8492a6; font-size: 13px;margin-left: 10px">{{-->
|
|
|
|
|
<!-- item.action-->
|
|
|
|
|
<!-- }}</span>-->
|
|
|
|
|
<!-- </el-option>-->
|
|
|
|
|
<!-- </el-select>-->
|
|
|
|
|
<el-select
|
|
|
|
|
v-model="inputQuery.originAction"
|
|
|
|
|
filterable
|
|
|
|
|
remote
|
|
|
|
|
clearable="true"
|
|
|
|
|
reserve-keyword
|
|
|
|
|
placeholder="请选择第三方系统单据类型"
|
|
|
|
|
:loading="loading"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in originTypes"
|
|
|
|
|
:key="item.name"
|
|
|
|
@ -44,11 +64,12 @@
|
|
|
|
|
:value="item.action">
|
|
|
|
|
<span style="float: left;font-size: 13px">{{ item.name }}</span>
|
|
|
|
|
<span style="float: right; color: #8492a6; font-size: 13px;margin-left: 10px">{{
|
|
|
|
|
item.thirdSysName
|
|
|
|
|
item.action
|
|
|
|
|
}}</span>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
@ -101,7 +122,8 @@
|
|
|
|
|
<el-col :span="4" class="el-col">
|
|
|
|
|
<div class="text item">
|
|
|
|
|
<el-checkbox v-model="inputQuery.preIn" @change="preInChange"
|
|
|
|
|
:disabled="inputQuery.mainAction=='WareHouseOut' || inputQuery.mainAction==null">预验收</el-checkbox>
|
|
|
|
|
:disabled="inputQuery.mainAction=='WareHouseOut' || inputQuery.mainAction==null">预验收
|
|
|
|
|
</el-checkbox>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
@ -269,6 +291,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
changeList: [],
|
|
|
|
|
visibleChange: false,
|
|
|
|
|
loading: false,
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
@ -299,8 +322,11 @@ export default {
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getTypes() {
|
|
|
|
|
getOriginBusType()
|
|
|
|
|
getTypes(query) {
|
|
|
|
|
let tQuery = {
|
|
|
|
|
key: query,
|
|
|
|
|
}
|
|
|
|
|
getOriginBusType(tQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.originTypes = response.data.list || [];
|
|
|
|
|
})
|
|
|
|
@ -308,6 +334,17 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
this.getBusTypes();
|
|
|
|
|
},
|
|
|
|
|
findMethod(query){
|
|
|
|
|
let tQuery = {
|
|
|
|
|
key: query,
|
|
|
|
|
}
|
|
|
|
|
getOriginBusType(tQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.originTypes = response.data.list || [];
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
preInChange() {
|
|
|
|
|
if (this.inputQuery.preIn) {
|
|
|
|
|
this.inputQuery.changeEnable = false;
|
|
|
|
|