Browse Source

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

hcf 1 year ago
parent
commit
f6ff83d466

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

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

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

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

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

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