|
|
@@ -87,8 +87,8 @@
|
|
|
:min="0"
|
|
|
:max="99"
|
|
|
v-model:value="formState.num" />
|
|
|
- <MinusOutlined @click="decreasePrice" />
|
|
|
- <PlusOutlined @click="increasePrice" />
|
|
|
+ <MinusOutlined @click="decreaseNumber" />
|
|
|
+ <PlusOutlined @click="increaseNumber" />
|
|
|
<span class="input-enumdicname">{{selectedRow.enumdicname}}</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
@@ -172,7 +172,7 @@ import { v4 as uuidv4 } from 'uuid';
|
|
|
import { defineComponent, PropType, ref } from 'vue';
|
|
|
import { useUserType } from '../setup';
|
|
|
import { FormParam } from './interface';
|
|
|
-import { handleForm } from './setup';
|
|
|
+import { handleForm, useBlocksPrice, useBlocksNumber } from './setup';
|
|
|
|
|
|
export default defineComponent({
|
|
|
emits: ['cancel', 'update'],
|
|
|
@@ -292,6 +292,8 @@ export default defineComponent({
|
|
|
isBuy,
|
|
|
useUserType,
|
|
|
isLimit,
|
|
|
+ ...useBlocksPrice(),
|
|
|
+ ...useBlocksNumber(),
|
|
|
};
|
|
|
},
|
|
|
});
|