From 6c863f47e5a2bcf1ec7f3a2d62a00b4a8fd4a7fa Mon Sep 17 00:00:00 2001 From: anthonyywj2 <353682448@qq.com> Date: Tue, 14 Jun 2022 13:00:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/BasicEntrutsReceModify.vue | 2 +- src/views/inout/editCode.vue | 3 ++ src/views/thrsys/SysUdimsData.vue | 36 ++++++++++++++++++---- 3 files changed, 34 insertions(+), 7 deletions(-) diff --git a/src/views/basic/BasicEntrutsReceModify.vue b/src/views/basic/BasicEntrutsReceModify.vue index c616152..6be2867 100644 --- a/src/views/basic/BasicEntrutsReceModify.vue +++ b/src/views/basic/BasicEntrutsReceModify.vue @@ -86,7 +86,7 @@
- 委托生成单据类型:  + 生成单据类型: 
diff --git a/src/views/thrsys/SysUdimsData.vue b/src/views/thrsys/SysUdimsData.vue index e5a9a00..69f04ce 100644 --- a/src/views/thrsys/SysUdimsData.vue +++ b/src/views/thrsys/SysUdimsData.vue @@ -30,14 +30,19 @@ 查询 - 同步单据 - 同步单据类型 - + 同步单据 + + + 同步单据类型 + + 同步基础信息 + && !configParms.basicThirdBusOrder&& !configParms.sysUser">同步基础信息 + @@ -279,6 +284,25 @@ export default { } , + + createScheduleDialog(type) { + if (this.$isNotBlank(this.syncTime)) { + this.$confirm("此操作将从" + this.syncTime + "开始同步最新数据,是否继续", "提示", { + confirmButtonText: "确定", + cancelButtonText: "取消", + type: "warning", + }) + .then(() => { + this.createSchedule(type); + }) + .catch(() => { + }); + } else { + this.createSchedule(type); + } + + }, + createSchedule(type) { let query = { createType: type,