Browse Source

修改订单地址

ymy 1 year ago
parent
commit
ae241ffdd6
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/oms/order/components/addOrder.vue

+ 4 - 4
src/views/oms/order/components/addOrder.vue

@@ -1570,8 +1570,8 @@ export default class AddOrder extends Vue {
   //确定
   btn(n?:string){
     this.getOrderValue().then(()=>{
-      this.orderValue.receiverCountryCode = '86';
-      this.orderValue.receiverCountry="中华人民共和国";
+      this.orderValue.receiverCountryCode = '0';
+      this.orderValue.receiverCountry="中国";
       this.load = true;
       this.orderValue.isCod = this.orderValue.isCod ? 1 : 0
       this.orderValue.freeAmount = this.orderValue.freeAmount ? this.orderValue.freeAmount : 0;
@@ -1602,8 +1602,8 @@ export default class AddOrder extends Vue {
   saveBase(){
     this.getOrderValue('base').then(()=>{
       this.load = true;
-      this.orderValue.receiverCountryCode = '86';
-      this.orderValue.receiverCountry="中华人民共和国";
+      this.orderValue.receiverCountryCode = '0';
+      this.orderValue.receiverCountry="中国";
       saveBaseOrder(this.orderValue).then(() => {
         this.load = false;
         (this as any).$message({