|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="container" v-loading="loading" element-loading-text="上传图片中,时间或许会很久,请耐心等待哦!">
|
|
|
- <div class="top" v-if="orderInfo.productInfo">
|
|
|
+ <div class="top">
|
|
|
<el-radio-group
|
|
|
v-model="radio1"
|
|
|
style="margin-right:10px;"
|
|
|
@@ -13,7 +13,7 @@
|
|
|
</el-radio-group>
|
|
|
|
|
|
<span>订单号:{{orderInfo.orderCode}}</span>
|
|
|
- <span style="margin-left:20px;">{{orderInfo.productInfo.title}}</span>
|
|
|
+ <span style="margin-left:20px;">{{orderInfo.productName}}</span>
|
|
|
|
|
|
<el-button
|
|
|
style="float:right;margin:15px 10px 0 20px;width:100px"
|
|
|
@@ -524,14 +524,19 @@ export default {
|
|
|
",至少需要上传" +
|
|
|
this.orderInfo.fandaAmount +
|
|
|
"张";
|
|
|
- if (
|
|
|
- res2.data.albumQuantity +
|
|
|
+ console.log( res2.data.albumQuantity +
|
|
|
this.orderInfo.fandaAmount -
|
|
|
- res2.data.needAlbum >=
|
|
|
- this.orderInfo.fandaAmount
|
|
|
+ res2.data.needAlbum )
|
|
|
+ if (
|
|
|
+ res2.data.albumQuantity -
|
|
|
+ res2.data.needAlbum>=
|
|
|
+ this.orderInfo.fandaAmount
|
|
|
) {
|
|
|
res2.data.needAlbum = 0;
|
|
|
}
|
|
|
+ else{
|
|
|
+ res2.data.needAlbum = 1;
|
|
|
+ }
|
|
|
} else {
|
|
|
this.albumTip =
|
|
|
"放大:已上传/总张数:" +
|