peng
2025-10-15 f8fd1bd1df45a1aa7b6717562722e61c7ee8b4c3
显示调整
3个文件已修改
76 ■■■■ 已修改文件
manager/src/views/order/order/orderList.vue 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
seller/src/views/order/order/orderList.vue 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
seller/src/views/template/goodsCustomizeTemplate.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
manager/src/views/order/order/orderList.vue
@@ -36,7 +36,16 @@
            style="width: 160px"
          />
        </Form-item>
        <Form-item label="定制商品" prop="customizeFlag">
          <Select
            v-model="searchForm.customizeFlag"
            placeholder="请选择"
            clearable
            style="width: 160px"
          >
            <Option value="CUSTOMIZE">定制商品</Option>
          </Select>
        </Form-item>
        <Form-item label="订单类型" prop="orderType">
          <Select
            v-model="searchForm.orderPromotionType"
@@ -385,7 +394,23 @@
          },
        },
        {
          title: "定制商品",
          key: "customizeFlag",
          minWidth: 120,
          tooltip: true,
          render: (h, params) => {
            if (params.row.customizeFlag == "CUSTOMIZE") {
              return h("div", [
                h("tag", { props: { color: "blue" } }, "定制商品"),
              ]);
            } else  {
              return h("div", [
                h("tag", { props: { color: "volcano" } }, "普通商品"),
              ]);
            }
          },
        },
        {
          title: "订单状态",
          key: "orderStatus",
seller/src/views/order/order/orderList.vue
@@ -42,6 +42,16 @@
            <Option value="STAY_PICKED_UP">待自提</Option>
          </Select>
        </Form-item>
        <Form-item label="定制商品" prop="customizeFlag">
          <Select
            v-model="searchForm.customizeFlag"
            placeholder="请选择"
            clearable
            style="width: 160px"
          >
            <Option value="CUSTOMIZE">定制商品</Option>
          </Select>
        </Form-item>
        <Form-item label="订单类型" prop="orderType">
          <Select
            v-model="searchForm.orderPromotionType"
@@ -231,6 +241,23 @@
            return h("priceColorScheme", {props:{value:params.row.flowPrice,color:this.$mainColor}} );
          },
        },
        {
          title: "定制商品",
          key: "customizeFlag",
          minWidth: 120,
          tooltip: true,
          render: (h, params) => {
            if (params.row.customizeFlag == "CUSTOMIZE") {
              return h("div", [
                h("tag", { props: { color: "blue" } }, "定制商品"),
              ]);
            } else  {
              return h("div", [
                h("tag", { props: { color: "volcano" } }, "普通商品"),
              ]);
            }
          },
        },
        {
          title: "订单状态",
@@ -292,6 +319,7 @@
          key: "action",
          align: "center",
          width: 100,
          fixed: "right",
          render: (h, params) => {
            return h("div", [
              h(
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;
          }
        }
      });