|
@@ -18,7 +18,7 @@
|
|
|
<i class="iconfont iconzeng" :class="addAnimationData?'animation':''" @click="addEvents"></i>
|
|
<i class="iconfont iconzeng" :class="addAnimationData?'animation':''" @click="addEvents"></i>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="open-bx" v-else-if="type == COMMODITY_TYPE.CHANGE">
|
|
<view class="open-bx" v-else-if="type == COMMODITY_TYPE.CHANGE">
|
|
|
- <allSelectInput :isActive="isActive" :isFocus="isFocus" :value="changeAutoPrice"
|
|
|
|
|
|
|
+ <allSelectInput :isActive="isAllActive" :isFocus="isAllFocus" :value="changeAutoPrice"
|
|
|
@deleteInputVal="deleteInputVal" @initAllInput="initAllInput" @moveAllInput="moveAllInput">
|
|
@deleteInputVal="deleteInputVal" @initAllInput="initAllInput" @moveAllInput="moveAllInput">
|
|
|
</allSelectInput>
|
|
</allSelectInput>
|
|
|
<!--<input class="change-input" v-model="changeAutoPrice" type="digit" placeholder="自动调价" selection-start="0" selection-end="1" />-->
|
|
<!--<input class="change-input" v-model="changeAutoPrice" type="digit" placeholder="自动调价" selection-start="0" selection-end="1" />-->
|
|
@@ -33,10 +33,11 @@
|
|
|
<script>
|
|
<script>
|
|
|
import { COMMODITY_TYPE } from "@/utils/declare";
|
|
import { COMMODITY_TYPE } from "@/utils/declare";
|
|
|
import AppImg from "@/components/app-img";
|
|
import AppImg from "@/components/app-img";
|
|
|
-import allSelectInput from "@/components/module/allSelectInput";
|
|
|
|
|
import { autoPriceByIdApi, changePriceByIdApi } from '@/api/product/index'
|
|
import { autoPriceByIdApi, changePriceByIdApi } from '@/api/product/index'
|
|
|
import productMins from "@/mixins/productContrapose";
|
|
import productMins from "@/mixins/productContrapose";
|
|
|
import animationMins from "@/mixins/animation";
|
|
import animationMins from "@/mixins/animation";
|
|
|
|
|
+
|
|
|
|
|
+import allSelectInput from "@/components/module/allSelectInput";
|
|
|
import allSelectInputMins from "@/mixins/allSelectInput";
|
|
import allSelectInputMins from "@/mixins/allSelectInput";
|
|
|
export default {
|
|
export default {
|
|
|
name: "Commodity",
|
|
name: "Commodity",
|
|
@@ -69,6 +70,8 @@ export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
COMMODITY_TYPE,
|
|
COMMODITY_TYPE,
|
|
|
|
|
+ isAllActive: false,
|
|
|
|
|
+ isAllFocus: false,
|
|
|
isShowSucceed:false,
|
|
isShowSucceed:false,
|
|
|
changeAutoPrice:'',
|
|
changeAutoPrice:'',
|
|
|
showPrice:0.00,
|
|
showPrice:0.00,
|