From abcf89c0931fc453f4fd8e1d4d48b8b469d0f3c7 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Tue, 07 May 2024 10:19:31 +0800
Subject: [PATCH] xxx
---
src/views/product/components/editfuturesdialog.vue | 37 +++++++++++++++++++------------------
1 files changed, 19 insertions(+), 18 deletions(-)
diff --git a/src/views/product/components/editfuturesdialog.vue b/src/views/product/components/editfuturesdialog.vue
index ee79d76..15427e2 100644
--- a/src/views/product/components/editfuturesdialog.vue
+++ b/src/views/product/components/editfuturesdialog.vue
@@ -149,8 +149,9 @@
placeholder="单位"
v-decorator="['futuresUnit', { rules: [{ required: true, message: '单位' }] }]"
/>
- <span style="width: 800px; margin-left: 10px; line-height: 30px; align-items: center"
- >例如美原油:1标准手 = 1000桶</span
+ <span
+ style="width: 800px; margin-left: 10px; line-height: 30px; align-items: center"
+ >例如美原油:1标准手 = 1000桶</span
>
</div>
</a-form-item>
@@ -167,41 +168,41 @@
props: {
getlist: {
type: Function,
- default: function () {},
+ default: function () {}
},
coinlist: {
type: Array,
default: function () {
return []
- },
- },
+ }
+ }
},
- data() {
+ data () {
return {
labelCol: {
xs: { span: 10 },
sm: { span: 10 },
- md: { span: 10 },
+ md: { span: 10 }
},
wrapperCol: {
xs: { span: 14 },
sm: { span: 14 },
- md: { span: 14 },
+ md: { span: 14 }
},
labelCol1: {
xs: { span: 10 },
sm: { span: 10 },
- md: { span: 6 },
+ md: { span: 6 }
},
wrapperCol1: {
xs: { span: 14 },
sm: { span: 14 },
- md: { span: 18 },
+ md: { span: 18 }
},
labelCol2: {
xs: { span: 4 },
sm: { span: 4 },
- md: { span: 4 },
+ md: { span: 4 }
},
addUserform: this.$form.createForm(this),
addUserdialog: false,
@@ -222,26 +223,26 @@
'transAmEnd',
'transPmBegin',
'transPmEnd',
- 'eachPoint',
+ 'eachPoint'
],
- currentDetails: {},
+ currentDetails: {}
}
},
methods: {
- getEditorder(val) {
+ getEditorder (val) {
this.currentDetails = val
this.addUserdialog = true
this.fields.forEach((v) => this.addUserform.getFieldDecorator(v))
this.addUserform.setFieldsValue(pick(val, this.fields))
},
// 新增用户取消弹窗
- CanceladdUserdialog() {
+ CanceladdUserdialog () {
this.addUserdialog = false
const form = this.$refs.addUserform.form
form.resetFields()
},
// 新增用户确定
- OkaddUserdialog() {
+ OkaddUserdialog () {
const form = this.$refs.addUserform.form
form.validateFields((errors, values) => {
if (!errors) {
@@ -261,8 +262,8 @@
})
}
})
- },
- },
+ }
+ }
}
</script>
<style lang="less" scoped>
--
Gitblit v1.9.3