浏览代码

修复时间控件问题
增加同步成功后刷新一下列表

hcf 1 年之前
父节点
当前提交
f6ff83d466
共有 3 个文件被更改,包括 4 次插入2 次删除
  1. 1 1
      src/views/audit/orderTask/index.vue
  2. 1 1
      src/views/audit/saleOrder/index.vue
  3. 2 0
      src/views/audit/sku/index.vue

+ 1 - 1
src/views/audit/orderTask/index.vue

@@ -111,7 +111,7 @@
 								component: 'by-date-picker',
 								compConfig: {
 									attr: {
-										format: 'yyyy-MM-dd hh:ss:mm',
+										format: 'yyyy-MM-dd HH:mm:ss',
 										type: 'datetime',
 									},
 								}

+ 1 - 1
src/views/audit/saleOrder/index.vue

@@ -292,7 +292,7 @@
 								component: 'by-date-picker',
 								compConfig: {
 									attr: {
-										format: 'yyyy-MM-dd hh:ss:mm',
+										format: 'yyyy-MM-dd HH:mm:ss',
 										type: 'datetime',
 										readonly: true,
 									},

+ 2 - 0
src/views/audit/sku/index.vue

@@ -480,6 +480,7 @@
 						if (res.code === 200) {
 							this.$message.success('同步WMS成功');
 							loading.close();
+							this.getDataList();
 						} else loading.close();
 					}).catch(() => loading.close());
 				}).catch(() => this.$message.info('已取消同步WMS'));
@@ -497,6 +498,7 @@
 					if (res.code === 200) {
 						this.$message.success('同步WMS成功');
 						loading.close();
+						this.getDataList();
 					} else loading.close();
 				}).catch(() => loading.close());
 			}).catch(() => this.$message.info('已取消同步WMS'));