投递柜级联查询bug修复

master
mhsnet 4 months ago
parent bee7bd0b62
commit d1f83cb49b

@ -11,6 +11,7 @@
clearable
:options="beLongCompanyIdOptions"
:props="beLongCompanyIdProps"
@change="getbeLongStationIdOptions"
>
</JnpfSelect>
</el-form-item>
@ -154,9 +155,11 @@
algin="left"
>
<template slot-scope="scope">
<span style="color: blue;cursor: pointer;" @click="fnShowDeviceInfo(scope.row)">{{
scope.row.deviceName
}}</span>
<span
style="color: blue;cursor: pointer;"
@click="fnShowDeviceInfo(scope.row)"
>{{ scope.row.deviceName }}</span
>
</template>
</el-table-column>
<!-- <el-table-column
@ -365,7 +368,11 @@
ref="Detail"
@refresh="detailVisible = false"
/>
<DeviceInfo v-if="deviceInfoVisible" ref="DeviceInfo" @refresh="deviceInfoVisible = false"/>
<DeviceInfo
v-if="deviceInfoVisible"
ref="DeviceInfo"
@refresh="deviceInfoVisible = false"
/>
<ToFormDetail
v-if="toFormDetailVisible"
ref="toFormDetail"
@ -484,11 +491,10 @@ export default {
created() {
this.getColumnList(), this.initSearchDataAndListData();
this.getbeLongCompanyIdOptions();
this.getbeLongStationIdOptions();
this.queryData = JSON.parse(JSON.stringify(this.query));
},
methods: {
fnNavToRecyclecleanorder(deviceCode) {
this.$router.push({
path: "/recyclecleanorder",
@ -662,7 +668,22 @@ export default {
});
},
getbeLongStationIdOptions() {
getDataInterfaceRes("563705984451619653").then(res => {
this.query.beLongStationId = undefined
let template = {
paramList: [
{
dataType: "varchar",
defaultValue: this.query.beLongCompanyId,
field: "company_id",
fieldName: "公司id",
id: "Oe3gDA2",
jnpfKey: "select",
relationField: "beLongCompanyId",
required: "0"
}
]
};
getDataInterfaceRes("563705984451619653",template).then(res => {
let data = res.data;
this.beLongStationIdOptions = data;
});

Loading…
Cancel
Save