浏览代码

修改订单地址

ymy 1 年之前
父节点
当前提交
ae241ffdd6
共有 1 个文件被更改,包括 4 次插入4 次删除
  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){
   btn(n?:string){
     this.getOrderValue().then(()=>{
     this.getOrderValue().then(()=>{
-      this.orderValue.receiverCountryCode = '86';
-      this.orderValue.receiverCountry="中华人民共和国";
+      this.orderValue.receiverCountryCode = '0';
+      this.orderValue.receiverCountry="中国";
       this.load = true;
       this.load = true;
       this.orderValue.isCod = this.orderValue.isCod ? 1 : 0
       this.orderValue.isCod = this.orderValue.isCod ? 1 : 0
       this.orderValue.freeAmount = this.orderValue.freeAmount ? this.orderValue.freeAmount : 0;
       this.orderValue.freeAmount = this.orderValue.freeAmount ? this.orderValue.freeAmount : 0;
@@ -1602,8 +1602,8 @@ export default class AddOrder extends Vue {
   saveBase(){
   saveBase(){
     this.getOrderValue('base').then(()=>{
     this.getOrderValue('base').then(()=>{
       this.load = true;
       this.load = true;
-      this.orderValue.receiverCountryCode = '86';
-      this.orderValue.receiverCountry="中华人民共和国";
+      this.orderValue.receiverCountryCode = '0';
+      this.orderValue.receiverCountry="中国";
       saveBaseOrder(this.orderValue).then(() => {
       saveBaseOrder(this.orderValue).then(() => {
         this.load = false;
         this.load = false;
         (this as any).$message({
         (this as any).$message({