peng
5 天以前 8afb03dff259e8312dc6786680b0e420a8de9f24
manager/src/views/order/order/orderList.vue
@@ -464,24 +464,24 @@
                )
              );
            }
            // 根据订单状态为'PAID'时显示额外操作按钮
            if (params.row.deliverStatus === 'UNDELIVERED') {
              buttons.push(
                h(
                  "Button",
                  {
                    props: { type: "primary", size: "small" },
                    style: { marginRight: "5px" },
                    on: {
                      click: () => {
                        this.handlerEditorQrcode(params.row);
                      },
                    },
                  },
                  "修改地址二维码"
                )
              );
            }
            // // 根据订单状态为'PAID'时显示额外操作按钮
            // if (params.row.deliverStatus === 'UNDELIVERED') {
            //   buttons.push(
            //     h(
            //       "Button",
            //       {
            //         props: { type: "primary", size: "small" },
            //         style: { marginRight: "5px" },
            //         on: {
            //           click: () => {
            //             this.handlerEditorQrcode(params.row);
            //           },
            //         },
            //       },
            //       "修改地址二维码"
            //     )
            //   );
            // }
            return h('div', buttons);
          },
@@ -526,17 +526,17 @@
    closeGeneralQrCode(){
      this.showGeneralQrCode = false;
    },
    handlerEditorQrcode(row){
      this.QRCodeUrl = '';
      this.showGeneralQrCode = true
      this.codeLoading = true;
      //获得商品对应的第一个skuid
      this.codeLoading = false;
      this.QRCodeUrl = this.QRcodeBaseUrl+ '/scanpage/editOrderAddress'+'?orderSn='+row.sn
      console.log(this.QRCodeUrl);
    },
    // handlerEditorQrcode(row){
    //   this.QRCodeUrl = '';
    //   this.showGeneralQrCode = true
    //   this.codeLoading = true;
    //
    //   //获得商品对应的第一个skuid
    //   this.codeLoading = false;
    //   this.QRCodeUrl = this.QRcodeBaseUrl+ '/scanpage/editOrderAddress'+'?orderSn='+row.sn
    //   console.log(this.QRCodeUrl);
    //
    // },
    // 选中的图片
    callbackSelected(val) {
      console.log(val)