|  | @@ -15,7 +15,7 @@
 | 
	
		
			
				|  |  |          <p class="p3">{{ data.author }}</p>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |        <div class="price">
 | 
	
		
			
				|  |  | -        <p>¥<span v-html="changePrice(data.price,16 )"></span></p>
 | 
	
		
			
				|  |  | +        <p>¥<span v-html="changePrice(data.price, 16)"></span></p>
 | 
	
		
			
				|  |  |        </div>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |      <div class="promotionCode">
 | 
	
	
		
			
				|  | @@ -37,7 +37,7 @@
 | 
	
		
			
				|  |  |          <!-- 确定 -->
 | 
	
		
			
				|  |  |          {{ $t("Key94") }}</span
 | 
	
		
			
				|  |  |        >
 | 
	
		
			
				|  |  | -       <template v-else>
 | 
	
		
			
				|  |  | +      <template v-else>
 | 
	
		
			
				|  |  |          <span class="sp2" v-if="discount_code_status == 1"
 | 
	
		
			
				|  |  |            >-<span v-html="changePrice(discount_money, 16)"></span
 | 
	
		
			
				|  |  |          ></span>
 | 
	
	
		
			
				|  | @@ -51,21 +51,27 @@
 | 
	
		
			
				|  |  |            {{ $t("Key53") }}:</span
 | 
	
		
			
				|  |  |          >
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        <span class="co-value">¥<span v-html="changePrice(data.price,16)"></span></span>
 | 
	
		
			
				|  |  | +        <span class="co-value"
 | 
	
		
			
				|  |  | +          >¥<span v-html="changePrice(data.price, 16)"></span
 | 
	
		
			
				|  |  | +        ></span>
 | 
	
		
			
				|  |  |        </p>
 | 
	
		
			
				|  |  |        <p class="p2">
 | 
	
		
			
				|  |  |          <span>
 | 
	
		
			
				|  |  |            <!-- 优惠折扣 -->
 | 
	
		
			
				|  |  |            {{ $t("Key54") }}:</span
 | 
	
		
			
				|  |  |          >
 | 
	
		
			
				|  |  | -        <span class="co-value">-¥<span v-html="changePrice(discount_money,16)"></span></span>
 | 
	
		
			
				|  |  | +        <span class="co-value"
 | 
	
		
			
				|  |  | +          >-¥<span v-html="changePrice(discount_money, 16)"></span
 | 
	
		
			
				|  |  | +        ></span>
 | 
	
		
			
				|  |  |        </p>
 | 
	
		
			
				|  |  |        <p class="p3">
 | 
	
		
			
				|  |  |          <span>
 | 
	
		
			
				|  |  |            <!-- 应付  -->
 | 
	
		
			
				|  |  |            {{ $t("Key55") }}:</span
 | 
	
		
			
				|  |  |          >
 | 
	
		
			
				|  |  | -        <span class="co-value">¥<span v-html="changePrice(receivables_money,24)"></span></span>
 | 
	
		
			
				|  |  | +        <span class="co-value"
 | 
	
		
			
				|  |  | +          >¥<span v-html="changePrice(receivables_money, 24)"></span
 | 
	
		
			
				|  |  | +        ></span>
 | 
	
		
			
				|  |  |        </p>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |      <div class="submitBtn">
 | 
	
	
		
			
				|  | @@ -85,7 +91,7 @@ export default {
 | 
	
		
			
				|  |  |    //import引入的组件需要注入到对象中才能使用
 | 
	
		
			
				|  |  |    components: {},
 | 
	
		
			
				|  |  |    props: ["data", "changeOrderNumber", "goods_type"],
 | 
	
		
			
				|  |  | -  
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |    data() {
 | 
	
		
			
				|  |  |      //这里存放数据
 | 
	
		
			
				|  |  |      return {
 | 
	
	
		
			
				|  | @@ -93,7 +99,7 @@ export default {
 | 
	
		
			
				|  |  |        discount_money: 0, // 优惠金额
 | 
	
		
			
				|  |  |        receivables_money: this.data.price, // 应收款
 | 
	
		
			
				|  |  |        back_discount_code: "", //优惠码
 | 
	
		
			
				|  |  | -      discount_code_status:0,
 | 
	
		
			
				|  |  | +      discount_code_status: 0,
 | 
	
		
			
				|  |  |        loading: false,
 | 
	
		
			
				|  |  |        codeloading: false,
 | 
	
		
			
				|  |  |        isShow: true,
 | 
	
	
		
			
				|  | @@ -170,10 +176,12 @@ export default {
 | 
	
		
			
				|  |  |          this.codeloading = false;
 | 
	
		
			
				|  |  |          this.discount_code_status = res.discount_code_status;
 | 
	
		
			
				|  |  |          if (this.discount_code_status != 1 && this.discount_code_status != 2) {
 | 
	
		
			
				|  |  | -          this.$message.warning("优惠码无效");
 | 
	
		
			
				|  |  | +          //   this.$message.warning("优惠码无效");
 | 
	
		
			
				|  |  | +          this.$message.warning(this.$t("Key696"));
 | 
	
		
			
				|  |  |          } else {
 | 
	
		
			
				|  |  |            if (this.discount_code_status == 2) {
 | 
	
		
			
				|  |  | -            this.$message.warning("优惠码已被使用");
 | 
	
		
			
				|  |  | +            // this.$message.warning("优惠码已被使用");
 | 
	
		
			
				|  |  | +            this.$message.warning(this.$t("Key697"));
 | 
	
		
			
				|  |  |            } else {
 | 
	
		
			
				|  |  |              this.isShow = false;
 | 
	
		
			
				|  |  |              this.back_discount_code = res.discount_code;
 | 
	
	
		
			
				|  | @@ -270,8 +278,8 @@ export default {
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |      .price {
 | 
	
		
			
				|  |  | -      flex:1;
 | 
	
		
			
				|  |  | -      box-sizing:border-box;
 | 
	
		
			
				|  |  | +      flex: 1;
 | 
	
		
			
				|  |  | +      box-sizing: border-box;
 | 
	
		
			
				|  |  |        padding-right: 16px;
 | 
	
		
			
				|  |  |        p {
 | 
	
		
			
				|  |  |          margin-top: 22px;
 | 
	
	
		
			
				|  | @@ -279,7 +287,7 @@ export default {
 | 
	
		
			
				|  |  |          font-size: 16px;
 | 
	
		
			
				|  |  |          text-align: right;
 | 
	
		
			
				|  |  |          color: #ff4c00;
 | 
	
		
			
				|  |  | -        line-height:150%;
 | 
	
		
			
				|  |  | +        line-height: 150%;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    }
 | 
	
	
		
			
				|  | @@ -347,11 +355,11 @@ export default {
 | 
	
		
			
				|  |  |    .submitBtn {
 | 
	
		
			
				|  |  |      text-align: right;
 | 
	
		
			
				|  |  |      margin-top: 16px;
 | 
	
		
			
				|  |  | -    
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      button {
 | 
	
		
			
				|  |  |        min-width: 120px;
 | 
	
		
			
				|  |  |        box-sizing: border-box;
 | 
	
		
			
				|  |  | -      padding:0 16px;
 | 
	
		
			
				|  |  | +      padding: 0 16px;
 | 
	
		
			
				|  |  |        height: 40px;
 | 
	
		
			
				|  |  |        background: #ff9900;
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -362,7 +370,7 @@ export default {
 | 
	
		
			
				|  |  |        border: none;
 | 
	
		
			
				|  |  |        outline: none;
 | 
	
		
			
				|  |  |        cursor: pointer;
 | 
	
		
			
				|  |  | -      font-size:16px;
 | 
	
		
			
				|  |  | +      font-size: 16px;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  }
 |