|
|
@@ -114,6 +114,7 @@ import allMoreSelectInputMins from "@/mixins/allMoreSelectInput";
|
|
|
import {mapActions, mapGetters} from "vuex";
|
|
|
import { COMMODITY_TYPE } from "@/utils/declare";
|
|
|
import productMins from "@/mixins/product";
|
|
|
+import { getShop } from '@/api/common/index'
|
|
|
// import suitProductMins from "@/mixins/ghsProduct";
|
|
|
export default {
|
|
|
name: "Billing", // 开单
|
|
|
@@ -143,7 +144,8 @@ export default {
|
|
|
},
|
|
|
showSubmitModel: false,
|
|
|
notOpenShop:false,
|
|
|
- hdShopAdminId:0
|
|
|
+ hdShopAdminId:0,
|
|
|
+ pageInfo: {}
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -168,11 +170,21 @@ export default {
|
|
|
},
|
|
|
onShareAppMessage(res) {
|
|
|
return {
|
|
|
- title: "xxxxx",
|
|
|
+ title: this.pageInfo.shopName,
|
|
|
desc: "",
|
|
|
path: `pagesPurchase/gshProudct?hdShopAdminId=${this.loginInfo.shopAdminId}&ghsShopAdminId=${this.options.ghsShopAdminId}&shopId=${this.options.shopId}`
|
|
|
}
|
|
|
},
|
|
|
+ onShow() {
|
|
|
+ getShop({shopId: this.options.shopId}).then(res => {
|
|
|
+ console.log('179 res ===>', res)
|
|
|
+ this.pageInfo = res.data.info
|
|
|
+ uni.setNavigationBarTitle({
|
|
|
+ title: this.pageInfo.shopName
|
|
|
+ })
|
|
|
+ }).catch(err => {})
|
|
|
+ },
|
|
|
+
|
|
|
methods: {
|
|
|
//自定义数量
|
|
|
customNum(info) {
|