|
|
@@ -7,7 +7,7 @@
|
|
|
<view class="shop_info">
|
|
|
<view class="shop_title">{{pageInfo.name}}</view>
|
|
|
<view class="shop_intro">
|
|
|
- <text v-if="pageInfo.giveDiscount >= 1" style="margin-right: 20upx;">已采购:{{pageInfo.expendAmount || '0.00'}}</text>
|
|
|
+ <text v-if="pageInfo.giveDiscount >= 1 || Number(pageInfo.giveDiscount) <= 0" style="margin-right: 20upx;">已采购:{{pageInfo.expendAmount || '0.00'}}</text>
|
|
|
<text v-else style="margin-right: 20upx;color:red;font-weight:700">下单享{{shareDiscount}}折</text>
|
|
|
<text>欠款:{{pageInfo.debtAmount || '0.00'}}</text></view>
|
|
|
</view>
|
|
|
@@ -91,7 +91,7 @@
|
|
|
>
|
|
|
</modal-module>
|
|
|
<FooterCart :price="allPrice" :count="allCount" @confirm="confirmSelectEvent" ></FooterCart>
|
|
|
- <noneHd :show.sync="notOpenShop" title=".." btnText="我要采购" @bthClick="toPage"></noneHd>
|
|
|
+ <wangCg :show.sync="notOpenShop" @bthClick="toPage"></wangCg>
|
|
|
<sel-popup :show="popupShow" :info="infoData" @close="hidePopup" />
|
|
|
</view>
|
|
|
</template>
|
|
|
@@ -105,15 +105,12 @@ import GoodsCommondity from "@/components/module/app-goods-commodity";
|
|
|
import PxClassCommondity from "@/components/module/app-pxClass-commodity";
|
|
|
import FooterCart from "@/components/module/app-footer-cart";
|
|
|
import ModalModule from "@/components/plugin/modal";
|
|
|
-import noneHd from "@/components/none-hd";
|
|
|
+import wangCg from "./components/wangCg";
|
|
|
import allMoreSelectInput from "@/components/module/allMoreSelectInput";
|
|
|
import allMoreSelectInputMins from "@/mixins/allMoreSelectInput";
|
|
|
-import {mapActions, mapGetters} from "vuex";
|
|
|
import { COMMODITY_TYPE } from "@/utils/declare";
|
|
|
import productMins from "@/mixins/product";
|
|
|
import { getGhsDataApi, ghsInfo } from "@/api/ghs/index";
|
|
|
-import { getShop } from '@/api/common/index'
|
|
|
-// import suitProductMins from "@/mixins/ghsProduct";
|
|
|
import SelPopup from "@/components/sel-popup.vue";
|
|
|
export default {
|
|
|
name: "cgProduct", // 开单
|
|
|
@@ -123,7 +120,7 @@ export default {
|
|
|
AppWrapperEmpty,
|
|
|
Commondity,
|
|
|
ModalModule,
|
|
|
- FooterCart,allMoreSelectInput,PxClassCommondity,GoodsCommondity,noneHd,SelPopup
|
|
|
+ FooterCart,allMoreSelectInput,PxClassCommondity,GoodsCommondity,wangCg,SelPopup
|
|
|
},
|
|
|
props: {
|
|
|
ghsShopAdminId:{
|