| | |
| | | <el-table-column |
| | | prop="productName" |
| | | label="产品名称" |
| | | width="200" |
| | | ></el-table-column> |
| | | |
| | | <el-table-column label="配置详情"> |
| | | <el-table-column label="配置详情" width="250"> |
| | | <template slot-scope="scope"> |
| | | <div style="text-align: left"> |
| | | <p v-if="scope.row.moduleNames.length > 0"> |
| | |
| | | >{{ item + " " }}</span |
| | | > |
| | | </p> |
| | | <p> |
| | | <p v-if="scope.row.ChCount"> |
| | | 通道数量: |
| | | <span>{{ scope.row.chCount || 0 }}</span> |
| | | <span>{{ scope.row.ChCount }}</span> |
| | | </p> |
| | | <p> |
| | | <p v-if="scope.row.authCount"> |
| | | 授权数量: |
| | | <span>{{ scope.row.authCount || 0 }}</span> |
| | | <span>{{ scope.row.authCount }}</span> |
| | | </p> |
| | | <p v-if="scope.row.sdkNames.length > 0"> |
| | | 算法: |
| | |
| | | >{{ item + " " }}</span |
| | | > |
| | | </p> |
| | | |
| | | <p> |
| | | 服务时长: |
| | | <span>{{ scope.row.serveYear + "年" }}</span> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="devCount" label="购买数量"></el-table-column> |
| | | <el-table-column pro="devIdList" label="绑定设备"> |
| | | <el-table-column pro="devIdList" label="绑定设备" width="250"> |
| | | <template slot-scope="scope"> |
| | | <div> |
| | | <p v-for="item in scope.row.devIdList" :key="item"> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="优惠" prop="discount"></el-table-column> |
| | | <el-table-column label="小计" prop="productPrice"></el-table-column> |
| | | <el-table-column label="小计"> |
| | | <template> |
| | | {{ orderInfo.orderMoney }} |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | <div class="title">支付方式</div> |
| | |
| | | @click="checkPayway('offpay')" |
| | | > |
| | | <img |
| | | src="/images/product/汇款灰.png" |
| | | src="/images/product/pay2.png" |
| | | class="moneyIcon" |
| | | v-if="this.payWay === 'ali'" |
| | | alt="" |
| | | /> |
| | | <img class="moneyIcon" src="/images/product/汇款.png" v-else alt="" /> |
| | | <img class="moneyIcon" src="/images/product/pay.png" v-else alt="" /> |
| | | <span>线下汇款</span> |
| | | </div> |
| | | <div |
| | |
| | | @click="checkPayway('ali')" |
| | | > |
| | | <img |
| | | src="/images/product/支付宝.png" |
| | | src="/images/product/alipay.png" |
| | | v-if="this.payWay === 'ali'" |
| | | alt="" |
| | | /> |
| | | <img src="/images/product/支付宝灰.png" v-else alt="" /> |
| | | <img src="/images/product/alipay2.png" v-else alt="" /> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="total"> |
| | | <div class="money"> |
| | | 应付款<span class="number">{{ sum }}元</span> |
| | | 应付款<span class="number">{{ orderInfo.orderMoney }}元</span> |
| | | </div> |
| | | |
| | | <div class="policy"> |
| | |
| | | <OffpayInstruct |
| | | v-if="showOffpayInstruct" |
| | | @close="showOffpayInstruct = false" |
| | | :offerData="{ username: username, sum: sum, orderId: orderId }" |
| | | :offerData="{ |
| | | username: username, |
| | | sum: orderInfo.orderMoney, |
| | | orderId: orderId, |
| | | }" |
| | | @confirm="confirmOrder" |
| | | ></OffpayInstruct> |
| | | <UploadBox |
| | |
| | | @close="showUploadBox = false" |
| | | @back="back" |
| | | v-if="showUploadBox" |
| | | @closeAll="closeAll" |
| | | > |
| | | </UploadBox> |
| | | </div> |
| | |
| | | showUploadBox: false, |
| | | }; |
| | | }, |
| | | computed: { |
| | | sum() { |
| | | let sum = 0; |
| | | sum = this.orders.reduce((prev, next) => prev + next.productPrice, 0); |
| | | return this.numeral(sum).format("0,0.00"); |
| | | }, |
| | | }, |
| | | mounted() { |
| | | this.getResumeList(); |
| | | this.username = JSON.parse(sessionStorage.getItem("userInfo")).username; |
| | | }, |
| | | methods: { |
| | | assureOnlinePay() { |
| | | this.onlinePayVisible = false; |
| | | this.$router.replace("/Layout/ManageOrder"); |
| | | this.$emit("close"); |
| | | this.$router.replace("/personalCenter?id=0"); |
| | | }, |
| | | getResumeList() { |
| | | getOrderById(this.orderId).then((res) => { |
| | |
| | | if (this.orderInfo.orderMoney == 0) { |
| | | resumePay({ orderId, payMethod: 5 }).then((res) => { |
| | | if (res.success) { |
| | | this.$router.push("/trialCenter"); |
| | | this.$notify({ |
| | | type: "success", |
| | | message: "免费试用", |
| | | message: "成功试用", |
| | | duration: 2500, |
| | | offset: 57, |
| | | }); |
| | |
| | | } |
| | | }, |
| | | close() { |
| | | this.$emit("close"); |
| | | }, |
| | | closeAll() { |
| | | this.showUploadBox = false; |
| | | this.$emit("close"); |
| | | }, |
| | | confirmOrder() { |
| | |
| | | .policy { |
| | | margin-top: 10px; |
| | | display: flex; |
| | | justify-content: end; |
| | | justify-content: flex-end; |
| | | align-items: center; |
| | | font-size: 14px; |
| | | |
| | |
| | | right: 20px; |
| | | bottom: 20px; |
| | | display: flex; |
| | | justify-content: end; |
| | | justify-content: flex-end; |
| | | text-align: center; |
| | | line-height: 40px; |
| | | |