diff --git a/src/views/config/order.vue b/src/views/config/order.vue
index 1dbd8fb..f8df299 100644
--- a/src/views/config/order.vue
+++ b/src/views/config/order.vue
@@ -2,26 +2,22 @@
-
- 分
-
+
+ 分
未付款,订单自动关闭
-
- 天
-
+
+ 天
未收货,订单自动完成
-
- 天
-
+
+ 天
自动结束交易,不能申请售后
提交
- 刷新
@@ -35,8 +31,8 @@
loading: false,
form: {
orderPayExpire: 30,
- automaticReceipt: 15,
- afterSalesExpire: 7,
+ automaticReceipt: 7,
+ afterSalesExpire: 15,
},
rules: {
orderPayExpire: [{ required: true, message: '订单创建超时自动关闭不能为空' }],
@@ -45,8 +41,10 @@
},
});
const handleSearch = async () => {
+ state.loading = true;
let res = await store.dispatch('orderConfig/search');
Object.assign(state.form, res);
+ state.loading = false;
};
handleSearch();
const handleUpdate = async () => {
@@ -67,15 +65,26 @@
justify-content: center;
align-items: center;
.el-form {
- // width: 680px;
:deep(.el-form-item__content) {
flex-wrap: nowrap;
- .el-input {
- width: 120px;
+ .el-input-number {
+ width: 60px;
input {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
text-align: center;
}
}
+ .unit {
+ margin: 0;
+ padding: 0 @layout-space;
+ background: #f1f1f1;
+ border-top-right-radius: 4px;
+ border-bottom-right-radius: 4px;
+ position: relative;
+ left: -1px;
+ box-shadow: 0 0 0 1px #dcdfe6 inset;
+ }
p {
min-width: max-content;
margin-left: @layout-space;