|
|
@@ -58,6 +58,7 @@
|
|
|
@addOneEvent="addCustomNumEvent"
|
|
|
@del="delEvent"
|
|
|
@showBigCover="showBigCover"
|
|
|
+ :showMaxStock="showMaxStock"
|
|
|
></Commondity>
|
|
|
</view>
|
|
|
<!-- <Commondity
|
|
|
@@ -131,7 +132,7 @@ import { getShop } from '@/api/common/index'
|
|
|
// import suitProductMins from "@/mixins/ghsProduct";
|
|
|
import SelPopup from "@/components/sel-popup.vue";
|
|
|
export default {
|
|
|
- name: "Billing", // 开单
|
|
|
+ name: "cgProduct", // 开单
|
|
|
components: {
|
|
|
AppTabs,
|
|
|
AppSearchModule,
|
|
|
@@ -171,7 +172,8 @@ export default {
|
|
|
},
|
|
|
myClass: 'fadeIn',
|
|
|
shopId:0,
|
|
|
- infoData:{}
|
|
|
+ infoData:{},
|
|
|
+ showMaxStock:0
|
|
|
};
|
|
|
},
|
|
|
onPullDownRefresh() {
|
|
|
@@ -180,6 +182,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
computed: {
|
|
|
+ ...mapGetters(["getDictionariesInfo"]),
|
|
|
confirmContent() {
|
|
|
let content = "确认下一步?";
|
|
|
if (this.hasNoStock) {
|
|
|
@@ -196,6 +199,10 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ onLoad() {
|
|
|
+ console.log('this.showMaxStock',this.showMaxStock,this.getDictionariesInfo)
|
|
|
+ this.showMaxStock = this.getDictionariesInfo.showMaxStock;
|
|
|
+ },
|
|
|
onUnload() {
|
|
|
this.resetSelectInfoByType(this.pageType)
|
|
|
},
|