|
|
@@ -22,12 +22,12 @@
|
|
|
</view>
|
|
|
<!-- 分类和花材图片 -->
|
|
|
<view class="all-item-area">
|
|
|
- <rightGoodsArea v-if="currentProperty == 0" :customId.sync="customId" :changeCurrentJobType.sync="currentJobType" :changeCurrentJobId.sync="currentJobId"> </rightGoodsArea>
|
|
|
- <rightItemArea v-else :customId.sync="customId" :changeCurrentJobType.sync="currentJobType" :changeCurrentJobId.sync="currentJobId"> </rightItemArea>
|
|
|
+ <rightGoods v-if="currentProperty == 0" :customId.sync="customId" :changeCurrentJobType.sync="currentJobType" :changeCurrentJobId.sync="currentJobId"> </rightGoods>
|
|
|
+ <rightItem v-else :customId.sync="customId" :changeCurrentJobType.sync="currentJobType" :changeCurrentJobId.sync="currentJobId"> </rightItem>
|
|
|
</view>
|
|
|
<!-- 按钮操作 -->
|
|
|
<view class="open-box">
|
|
|
- <middleButton @resetCustomer="resetCustomer" :customId.sync="customId" @changeProperty="changeProperty"></middleButton>
|
|
|
+ <consoleButton @resetCustomer="resetCustomer" :customId.sync="customId" @changeProperty="changeProperty"></consoleButton>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
|
@@ -37,9 +37,9 @@
|
|
|
<script>
|
|
|
import { mapGetters } from "vuex";
|
|
|
import autoUpdateApp from "@/mixins/autoUpdate";
|
|
|
-import rightItemArea from './components/rightItemArea.vue'
|
|
|
-import rightGoodsArea from './components/rightGoodsArea.vue'
|
|
|
-import middleButton from './components/middleButton.vue'
|
|
|
+import rightItem from './components/rightItem.vue'
|
|
|
+import rightGoods from './components/rightGoods.vue'
|
|
|
+import consoleButton from './components/console.vue'
|
|
|
import customerList from './components/customerList.vue'
|
|
|
import leftArea from './components/leftArea.vue'
|
|
|
import leftGroup from './components/leftGroup.vue'
|
|
|
@@ -48,7 +48,7 @@ import loginComponent from './login.vue'
|
|
|
import productMins from "@/mixins/product";
|
|
|
export default {
|
|
|
name: "cash",
|
|
|
- components: { rightItemArea,middleButton, loginComponent, leftArea,leftGroup, customerList, rightGoodsArea,casherNav },
|
|
|
+ components: { rightItem,consoleButton, loginComponent, leftArea,leftGroup, customerList, rightGoods,casherNav },
|
|
|
mixins: [autoUpdateApp,productMins],
|
|
|
data() {
|
|
|
return {
|