zxl
2025-10-16 14ae2f656166b98302682664888d2b882b7e4649
seller/src/views/template/goodsCustomizeTemplate.vue
@@ -353,12 +353,19 @@
    },
    delTemplate(row){
      del(row.id).then(res =>{
        if (res.code === 200){
          this.$Message.success(res.msg)
      this.$Modal.confirm({
        title: "操作确认",
        content: "您确认要删除【 " + row.templateName + "】吗?",
        onOk: () => {
          del(row.id).then(res =>{
            if (res.code === 200){
              this.$Message.success(res.msg)
            }
            this.getList()
          })
        }
        this.getList()
      })
      });
    },
    async upLoadImg(file) {
      console.log("打印上传1")
@@ -509,6 +516,7 @@
            if (res.code === 200) {
              this.$Message.success(res.msg);
              this.modelShow = false;
              this.showModal = false;
              this.getList();
            } else {
              this.$Message.error(res.msg);
@@ -518,7 +526,6 @@
            console.error(error);
          } finally {
            this.submitLoading = false;
            this.showModal = false;
          }
        }
      });