|
|
@@ -102,7 +102,7 @@
|
|
|
</view>
|
|
|
</uni-popup>
|
|
|
|
|
|
- <image v-if="showClassRemind" @click="hideClassRemind" style="position:absolute;width:610upx;height:699upx;top:225upx;left:80upx;z-index:9999;" :src="`${constant.imgUrl}/class_remind.png`"></image>
|
|
|
+ <image v-if="showClassRemind" @click="hideClassRemind" style="position:absolute;width:610upx;height:699upx;top:98upx;left:80upx;z-index:9999;" :src="`${constant.imgUrl}/class_remind.png`"></image>
|
|
|
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -117,6 +117,7 @@ import FooterCart from "@/components/module/app-footer-cart";
|
|
|
import ModalModule from "@/components/plugin/modal";
|
|
|
import { COMMODITY_TYPE } from "@/utils/declare";
|
|
|
import productMins from "@/mixins/product";
|
|
|
+import { getClassRemind,hasClassRemind } from "@/api/item-class";
|
|
|
import { mapGetters } from "vuex";
|
|
|
export default {
|
|
|
name: "Billing",
|
|
|
@@ -149,6 +150,18 @@ export default {
|
|
|
if (!this.$util.isEmpty(this.option.customId)){
|
|
|
this.selectJobId = this.option.customId
|
|
|
}
|
|
|
+
|
|
|
+ //提醒花材分类位置移动
|
|
|
+ getClassRemind().then(res=>{
|
|
|
+ if(res.code == 1){
|
|
|
+ if(res.data.hasRemind == 1){
|
|
|
+ this.showClassRemind = false
|
|
|
+ }else{
|
|
|
+ this.showClassRemind = true
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
},
|
|
|
methods: {
|
|
|
changeClass(index){
|
|
|
@@ -159,7 +172,11 @@ export default {
|
|
|
this.$refs.selectFlowerNumRef.open('top')
|
|
|
},
|
|
|
hideClassRemind(){
|
|
|
-
|
|
|
+ hasClassRemind().then(res=>{
|
|
|
+ if(res.code ==1){
|
|
|
+ this.showClassRemind = false
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
confirmToSave() {
|
|
|
if(this.$util.isEmpty(this.selectList)){
|