|
|
@ -29,13 +29,14 @@
|
|
|
|
<el-button-group style="display:flex;">
|
|
|
|
<el-button-group style="display:flex;">
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
|
|
|
|
<el-button type="primary" icon="search" @click="search">查询</el-button>
|
|
|
|
<el-button type="primary" icon="search" @click="search">查询</el-button>
|
|
|
|
<el-button type="primary" icon="search" v-if="configParms.orderScanFinish==2 || configParms.orderUnReceive==2 || configParms.orderUnCheck==2" @click="syncData('IO_ORDER')">同步单据
|
|
|
|
<el-button type="primary" icon="search" @click="syncData('IO_ORDER')">同步单据
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
<el-button type="primary" icon="search" @click="syncData('DOCUMENT_TYPE_DATA')"
|
|
|
|
<el-button type="primary" icon="search" @click="syncData('DOCUMENT_TYPE_DATA')"
|
|
|
|
v-if="configParms.typeBus==2 || configParms.typeScan==2 || configParms.typeThird==2">
|
|
|
|
v-if="configParms.typeBus==2 || configParms.typeScan==2 || configParms.typeThird==2">
|
|
|
|
同步单据类型
|
|
|
|
同步单据类型
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
<el-button type="primary" icon="search" @click="syncData('BASIC_DATA')" v-if="configParms.basicProducts==2|| configParms.basicCorp==2|| configParms.supCert==2">同步基础信息
|
|
|
|
<el-button type="primary" icon="search" @click="syncData('BASIC_DATA')"
|
|
|
|
|
|
|
|
v-if="configParms.basicProducts==2|| configParms.basicCorp==2|| configParms.supCert==2">同步基础信息
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
<el-button type="primary" icon="search" @click="syncData('COUNTRY_DI_DATA')"
|
|
|
|
<el-button type="primary" icon="search" @click="syncData('COUNTRY_DI_DATA')"
|
|
|
|
v-if="configParms.dbDiProducts==2">同步国家库DI数据
|
|
|
|
v-if="configParms.dbDiProducts==2">同步国家库DI数据
|
|
|
@ -407,7 +408,8 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(() => {});
|
|
|
|
.catch(() => {
|
|
|
|
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
syncData(exportType) {
|
|
|
|
syncData(exportType) {
|
|
|
|
if (!this.syncTime) {
|
|
|
|
if (!this.syncTime) {
|
|
|
@ -430,11 +432,13 @@ export default {
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
}, 666)
|
|
|
|
}, 666)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(() => {});
|
|
|
|
.catch(() => {
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
mounted() {},
|
|
|
|
mounted() {
|
|
|
|
|
|
|
|
},
|
|
|
|
components: {},
|
|
|
|
components: {},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
this.headers = {
|
|
|
|
this.headers = {
|
|
|
|