|
|
@ -65,22 +65,27 @@
|
|
|
|
<div class="top-right-btn">
|
|
|
|
<div class="top-right-btn">
|
|
|
|
<el-button-group style="width: 600px">
|
|
|
|
<el-button-group style="width: 600px">
|
|
|
|
<el-button icon="el-icon-view" type="primary" @click="hideSearch"
|
|
|
|
<el-button icon="el-icon-view" type="primary" @click="hideSearch"
|
|
|
|
>显示/隐藏搜索栏</el-button
|
|
|
|
>显示/隐藏搜索栏
|
|
|
|
|
|
|
|
</el-button
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset"
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset"
|
|
|
|
>重置</el-button
|
|
|
|
>重置
|
|
|
|
|
|
|
|
</el-button
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="search"
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="search"
|
|
|
|
>查询</el-button
|
|
|
|
>查询
|
|
|
|
|
|
|
|
</el-button
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="handleAddClick"
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="handleAddClick"
|
|
|
|
>新增</el-button
|
|
|
|
>新增
|
|
|
|
|
|
|
|
</el-button
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
type="primary"
|
|
|
|
type="primary"
|
|
|
|
icon="el-icon-download"
|
|
|
|
icon="el-icon-download"
|
|
|
|
@click="exportJsonFile"
|
|
|
|
@click="exportJsonFile"
|
|
|
|
>导出单据类型</el-button
|
|
|
|
>导出单据类型
|
|
|
|
|
|
|
|
</el-button
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-upload
|
|
|
|
<el-upload
|
|
|
|
:action="uploadFileUrl"
|
|
|
|
:action="uploadFileUrl"
|
|
|
@ -92,7 +97,8 @@
|
|
|
|
:file-list="fileList"
|
|
|
|
:file-list="fileList"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-button icon="el-icon-upload2" type="primary"
|
|
|
|
<el-button icon="el-icon-upload2" type="primary"
|
|
|
|
>导入单据类型</el-button
|
|
|
|
>导入单据类型
|
|
|
|
|
|
|
|
</el-button
|
|
|
|
>
|
|
|
|
>
|
|
|
|
</el-upload>
|
|
|
|
</el-upload>
|
|
|
|
</el-button-group>
|
|
|
|
</el-button-group>
|
|
|
@ -312,6 +318,7 @@ export default {
|
|
|
|
checkVailDate: 0, //校验近效期
|
|
|
|
checkVailDate: 0, //校验近效期
|
|
|
|
checkExpire: true, //校验过期
|
|
|
|
checkExpire: true, //校验过期
|
|
|
|
checkCertExpire: false, //校验证书过期
|
|
|
|
checkCertExpire: false, //校验证书过期
|
|
|
|
|
|
|
|
editType: 2,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
enableMap: {
|
|
|
|
enableMap: {
|
|
|
|
true: "是",
|
|
|
|
true: "是",
|
|
|
@ -579,6 +586,7 @@ export default {
|
|
|
|
checkVailDate: 0, //校验近效期
|
|
|
|
checkVailDate: 0, //校验近效期
|
|
|
|
checkExpire: 2, //校验过期
|
|
|
|
checkExpire: 2, //校验过期
|
|
|
|
checkCertExpire: 0, //校验证书过期
|
|
|
|
checkCertExpire: 0, //校验证书过期
|
|
|
|
|
|
|
|
editType: 2,
|
|
|
|
backPreinType: 1,
|
|
|
|
backPreinType: 1,
|
|
|
|
sortNum: 999,
|
|
|
|
sortNum: 999,
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -599,7 +607,8 @@ export default {
|
|
|
|
.then(() => {
|
|
|
|
.then(() => {
|
|
|
|
this.deleteOrders(rowId);
|
|
|
|
this.deleteOrders(rowId);
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(() => {});
|
|
|
|
.catch(() => {
|
|
|
|
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
deleteOrders(data) {
|
|
|
|
deleteOrders(data) {
|
|
|
@ -619,7 +628,8 @@ export default {
|
|
|
|
this.$message.error(response.message);
|
|
|
|
this.$message.error(response.message);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(() => {});
|
|
|
|
.catch(() => {
|
|
|
|
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
handleChange(response, files, fileList) {
|
|
|
|
handleChange(response, files, fileList) {
|
|
|
|
if (response.code != 20000) {
|
|
|
|
if (response.code != 20000) {
|
|
|
@ -644,13 +654,15 @@ export default {
|
|
|
|
this.configParams = response.data;
|
|
|
|
this.configParams = response.data;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch(() => {});
|
|
|
|
.catch(() => {
|
|
|
|
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
|
modifyDialog,
|
|
|
|
modifyDialog,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mounted() {},
|
|
|
|
mounted() {
|
|
|
|
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
this.init();
|
|
|
|
this.init();
|
|
|
|
this.getSyncConfig();
|
|
|
|
this.getSyncConfig();
|
|
|
|