戴艳蓉 3 年之前
父節點
當前提交
167d882e34

+ 0 - 28
src/apis/service/goodStore/afterSale/index.js

@@ -1,28 +0,0 @@
-// 物业管理员
-import http from "@/apis/axios";
-const api = "admin/";
-export default {
-  // 添加
-  add: (data, params) => http(api + "desccreate", data, "post", params),
-  // 修改状态
-  status: (data, params) => http(api + 'descstatus', data, 'post', params),
-  // 分页查询
-  list: (data, params) => http(api + "desclist", data, "post", params),
-
-
-
-  // 删除
-  delete: (data, params) => http(api + "delete", data, "post", params),
-
-  // 详情
-  detail: (data, params) => http(api + "specinfo", data, "post", params),
-  // 更新
-  update: (data, params) => http(api + "specsave", data, "post", params),
-  // 审核
-  check: (data, params) => http(api + "specex", data, "post", params),
-  
-  // 提交审核申请
-  again: (data, params) => http(api + 'specagain', data, 'post', params),
-  // 审核人提交审核结果
-  exam: (data, params) => http(api + 'specex', data, 'post', params),
-};

+ 0 - 0
src/apis/service/purchaseIn/stockApply/index.js → src/apis/service/sellOut/stockApply/index.js


+ 0 - 313
src/views/goodStore/afterSale/addEdit.vue

@@ -1,313 +0,0 @@
-<template>
-  <el-dialog
-    v-loading="loading"
-    :title="title"
-    :center="true"
-    align="left"
-    top="18vh"
-    width="500px"
-    :close-on-click-modal="false"
-    :visible.sync="showModelThis"
-    element-loading-text="拼命加载中"
-    element-loading-spinner="el-icon-loading"
-    element-loading-background="rgba(0, 0, 0, 0.8)"
-    @close="showModelThis = false"
-  >
-    <el-card style="margin: -20px 0 0 0">
-      <el-row :gutter="10">
-        <el-col :span="24">
-          <el-form
-            ref="ruleForm"
-            :model="ruleForm"
-            status-icon
-            :rules="rulesThis"
-            label-width="80px"
-            class="demo-ruleForm"
-          >
-            <el-form-item label="品牌名称" prop="afterSale_name">
-              <el-input
-                v-model="ruleForm.afterSale_name"
-                :disabled="id == '007'"
-                placeholder="品牌名称"
-                minlength="20"
-              />
-            </el-form-item>
-            <el-form-item
-              label="LOGO"
-              prop="logo_url"
-              :disabled="id == '007'"
-              class="activity-upload"
-            >
-              <div class="btnupload" style="position: relative">
-                <img
-                  v-if="ruleForm.logo_url"
-                  :src="ruleForm.logo_url"
-                  class="avatar"
-                />
-                <i v-else class="el-icon-plus avatar-uploader-icon"></i>
-                <file-upload
-                  class="Upload"
-                  :disabled="id == '007'"
-                  :accept="'.jpg,.png,.bmp,.jpeg,.gif'"
-                  :multiple="true"
-                  :uploadcondition="beforeAvatarUpload"
-                  @UploadErrorEvent="UploadErrorEvent"
-                  @UploadSuccessEvent="UploadSuccessEvent"
-                ></file-upload>
-              </div>
-              <div class="txt-tips fl">
-                <p>大小:小于1M</p>
-                <p>尺寸:100*100</p>
-                <p>类型:jpg.png.bmp.jpeg.gif</p>
-              </div>
-            </el-form-item>
-          </el-form>
-        </el-col>
-        <el-col :span="24" style="text-align: right">
-          <el-button v-if="id !== '007'" type="primary" @click="submitForm"
-            >保 存
-          </el-button>
-          <el-button @click="showModelThis = false">{{
-            id == "007" ? "关 闭" : "取 消"
-          }}</el-button>
-        </el-col>
-      </el-row>
-    </el-card>
-  </el-dialog>
-</template>
-<script>
-import asyncRequest from "@/apis/service/goodStore/afterSale";
-import resToken from "@/mixins/resToken";
-export default {
-  name: "afterSale",
-  props: ["showModel", "id", "sitem"],
-  mixins: [resToken],
-  data() {
-    return {
-      loading: false,
-      title: "添加品牌",
-      showModelThis: this.showModel,
-      select: "1",
-      activeOptions: [],
-      actionList: [],
-      ruleForm: {
-        id: "",
-        afterSale_name: "",
-        logo_url: "",
-      },
-      rulesThis: this.rules,
-      rules: {
-        afterSale_name: [
-          { required: true, message: "品牌名称不能为空", trigger: "blur" },
-        ],
-      },
-    };
-  },
-  watch: {
-    showModel: function (val) {
-      this.showModelThis = val;
-      if (val) {
-        this.initForm();
-      }
-    },
-    showModelThis(val) {
-      if (!val) {
-        this.$emit("cancel");
-      }
-    },
-  },
-  methods: {
-    async initForm() {
-      this.loading = true;
-      if (this.id === "003") {
-        this.title = "添加品牌";
-        this.rulesThis = this.rules;
-      } else if (this.id === "005") {
-        this.title = "修改品牌";
-        this.rulesThis = this.rules;
-      } else {
-        this.title = "品牌详情";
-        this.rulesThis = {};
-      }
-      await this.resetForm();
-      this.loading = false;
-    },
-    async initData() {
-      const res = await asyncRequest.detail({ id: this.id });
-      if (res && res.code === 0) {
-        const { action_collect, share_user, to_user, to_group, action } =
-          res.data;
-        this.ruleForm.collect = action_collect.split(",");
-        this.ruleForm.userid = share_user.split(",");
-        this.ruleForm.touserid = to_user === "" ? [] : to_user.split(",");
-        this.ruleForm.togroupid = to_group === "" ? [] : to_group.split(",");
-        this.ruleForm.action = action;
-        if (this.ruleForm.touserid.length !== 0) {
-          this.select = "1";
-        } else if (res && res.code >= 100 && res.code <= 104) {
-          await this.logout();
-        } else {
-          this.select = "2";
-          this.$message.warning(res.message);
-        }
-      }
-    },
-
-    async resetForm() {
-      // 重置
-      await this.$nextTick(() => {
-        if (this.$refs.ruleForm) {
-          this.$refs.ruleForm.resetFields();
-          this.$refs.ruleForm.clearValidate();
-          const { id, afterSale_name, logo_url } = this.sitem;
-          this.ruleForm = {
-            id: id || "",
-            afterSale_name: afterSale_name || "",
-            logo_url: logo_url || "",
-          };
-        }
-      });
-    },
-    async submitForm() {
-      await this.$refs.ruleForm.validate(async (valid) => {
-        if (valid) {
-          this.loading = true;
-          let model = JSON.parse(JSON.stringify(this.ruleForm));
-          let res = {};
-          if (this.id === "003") {
-            delete model["id"];
-            res = await asyncRequest.add(model);
-          } else {
-            res = await asyncRequest.update(model);
-          }
-          this.loading = false;
-          if (res && res.code === 0) {
-            const title = this.id === "add" ? "添加成功!" : "修改成功!";
-            this.$notify.success({
-              title,
-              message: "",
-            });
-            this.showModelThis = false;
-            // 刷新
-            this.$emit("refresh");
-          } else if (res && res.code >= 100 && res.code <= 104) {
-            await this.logout();
-          } else {
-            this.$message.warning(res.message);
-          }
-        } else {
-          console.log("error submit!!");
-          return false;
-        }
-      });
-    },
-    //判断图片规格
-    beforeAvatarUpload(file) {
-      let isJPG = false,
-        isLt2M = false;
-      if (file) {
-        if (
-          file.type === "image/jpg" ||
-          file.type === "image/png" ||
-          file.type === "image/bmp" ||
-          file.type === "image/jpeg"
-        ) {
-          isJPG = true;
-        }
-        isLt2M = file.size / 1024 / 1024 < 1;
-        if (!isJPG) {
-          this.$message.error("图片格式不正确!");
-        }
-        if (!isLt2M) {
-          this.$message.error("图片大小不能超过 1MB!");
-        }
-      }
-
-      return isJPG && isLt2M;
-    },
-    //图片上传失败
-    UploadErrorEvent() {
-      this.$message.error("图片上传失败!");
-      this.ruleForm.logo_url = "";
-      this.logo_url = "";
-      this.$refs.ruleForm.validateField("logo_url");
-    },
-    //图片上传成功
-    UploadSuccessEvent(data) {
-      this.logo_url = data.url;
-      this.ruleForm.logo_url = data.url;
-      this.$message.success("图片上传成功!");
-      this.$refs.ruleForm.validateField("logo_url");
-    },
-  },
-};
-</script>
-
-   <style lang="scss" scoped>
-.afterSale {
-  .activity-upload {
-    .btnupload {
-      float: left;
-      border: 1px solid #cccccc;
-      box-sizing: border-box;
-      width: 135px;
-      height: 135px;
-      line-height: 135px;
-      text-align: center;
-    }
-    .Upload {
-      width: 135px;
-      height: 135px;
-      line-height: 135px;
-      text-align: center;
-      position: absolute;
-      line-height: 0px;
-      top: 0;
-      left: 0;
-      line-height: 135px;
-    }
-    .fileUp {
-      vertical-align: top;
-    }
-    .avatar {
-      width: 135px;
-      height: 135px;
-      line-height: 135px;
-      text-align: center;
-    }
-    .avatar-uploader .el-upload:hover {
-      border-color: #409eff;
-    }
-    .avatar-uploader-icon {
-      font-size: 28px;
-      color: #8c939d;
-      width: 50px;
-      height: 50px;
-      line-height: 50px;
-      text-align: center;
-    }
-    .avatar {
-      width: 100%;
-      height: 100%;
-      display: block;
-    }
-    .txt-tips {
-      display: inline-block;
-      font-size: 13px;
-      color: #606266;
-      padding: 18px 0 0 18px;
-      p {
-        margin: 0;
-        line-height: 30px;
-      }
-    }
-    .avatar-uploader .el-upload {
-      border: 1px dashed #d9d9d9;
-      border-radius: 6px;
-      cursor: pointer;
-      position: relative;
-      overflow: hidden;
-    }
-  }
-}
-</style>

+ 0 - 430
src/views/goodStore/afterSale/index.vue

@@ -1,430 +0,0 @@
-<template>
-  <div class="afterSale pagePadding">
-    <ex-table
-      v-loading="loading"
-      v-if="powers && powers.length > 0 && powers.some((item) => item == '001')"
-      :table="table"
-      :data="tableData"
-      :columns="columns"
-      :page="pageInfo"
-      :size="size"
-      @page-curr-change="handlePageChange"
-      @page-size-change="handleSizeChange"
-      @screen-reset="
-        pageInfo.curr = 1;
-        parmValue.page = 1;
-        searchList();
-      "
-      @screen-submit="
-        pageInfo.curr = 1;
-        parmValue.page = 1;
-        searchList();
-      "
-    >
-      <template #table-header="{}">
-        <div style="width: 100%">
-          <el-row style="padding: 0 0 10px 80px">
-            <el-col :span="6" style="width: 303px">
-              <period-date-picker
-                :type="1"
-                :width="'135px'"
-                :size="searchSize"
-                :start="parmValue.start"
-                :end="parmValue.end"
-                @timeReturned="handleTime"
-              />
-            </el-col>
-            <el-col :span="4" style="width: 160px">
-              <el-select
-                v-model="parmValue.status"
-                filterable
-                clearable
-                :size="searchSize"
-                placeholder="品牌状态"
-                style="width: 100%"
-                @change="
-                  pageInfo.curr = 1;
-                  parmValue.page = 1;
-                  searchList();
-                "
-              >
-                <el-option
-                  v-for="item in statusList"
-                  :key="'status' + item.code"
-                  :label="item.name"
-                  :value="item.code"
-                />
-              </el-select>
-            </el-col>
-
-            <el-col
-              :span="3"
-              class="fr"
-              style="width: 66px; padding: 0 0 0 10px"
-            >
-              <el-button type="primary" :size="searchSize" @click="searchList">
-                刷新
-              </el-button>
-            </el-col>
-            <el-col
-              :span="3"
-              class="fr"
-              style="width: 66px; padding: 0 0 0 10px"
-            >
-              <el-button type="warning" :size="searchSize" @click="restSearch">
-                重置
-              </el-button>
-            </el-col>
-          </el-row>
-          <el-row>
-            <el-col :span="4" style="width: 373px">
-              <el-input
-                :size="searchSize"
-                v-model="parmValue.name"
-                :maxlength="40"
-                @blur="
-                  pageInfo.curr = 1;
-                  parmValue.page = 1;
-                  searchList();
-                "
-                placeholder="品牌名称"
-              ></el-input>
-            </el-col>
-            <el-col :span="4" style="width: 170px; padding: 0 0 0 10px">
-              <el-input
-                :size="searchSize"
-                v-model="parmValue.creater"
-                :maxlength="40"
-                @change="
-                  pageInfo.curr = 1;
-                  parmValue.page = 1;
-                  searchList();
-                "
-                placeholder="创建人"
-              ></el-input>
-            </el-col>
-            <el-col
-              :span="3"
-              class="fr"
-              style="width: 66px; padding: 0 0 0 10px"
-              v-if="powers.some((item) => item == '003')"
-            >
-              <el-button
-                :size="searchSize"
-                type="success"
-                style="float: right"
-                @click="openModal({}, '003')"
-              >
-                添加
-              </el-button>
-            </el-col>
-          </el-row>
-        </div></template
-      >
-      <template #status="{ scope }">
-        <el-tag
-          :size="tablebtnSize"
-          :type="scope.row.status == '1' ? 'warning' : ''"
-          v-text="
-            (statusOptions.find((item) => item.id == scope.row.status) || {})
-              .label || '--'
-          "
-        ></el-tag>
-      </template>
-
-      <template #operation="{ scope }">
-        <el-tooltip
-          v-if="powers.some((item) => item == '007')"
-          effect="dark"
-          content="详情"
-          placement="top"
-        >
-          <i
-            class="el-icon-view tb-icon"
-            @click="openModal(scope.row, '007')"
-          ></i>
-        </el-tooltip>
-        <el-tooltip
-          v-if="powers.some((item) => item == '005')"
-          effect="dark"
-          content="修改"
-          placement="top"
-        >
-          <i
-            class="el-icon-edit tb-icon"
-            @click="openModal(scope.row, '005')"
-          ></i>
-        </el-tooltip>
-        <el-tooltip
-          v-if="
-            powers.some((item) => item == '004') && scope.row.status === '0'
-          "
-          effect="dark"
-          content="禁用"
-          placement="top"
-        >
-          <i
-            class="el-icon-video-pause tb-icon"
-            @click="changeStatus(scope.row.id, scope.row.status)"
-          ></i>
-        </el-tooltip>
-        <el-tooltip
-          v-if="
-            powers.some((item) => item == '004') && scope.row.status === '1'
-          "
-          effect="dark"
-          content="启用"
-          placement="top"
-        >
-          <i
-            class="el-icon-video-play tb-icon"
-            @click="changeStatus(scope.row.id, scope.row.status)"
-          ></i>
-        </el-tooltip>
-        <el-tooltip
-          v-if="powers.some((item) => item == '006')"
-          effect="dark"
-          content="删除"
-          placement="top"
-        >
-          <i
-            class="el-icon-delete tb-icon"
-            @click="deleteItem(scope.row.id)"
-          ></i>
-        </el-tooltip>
-      </template>
-    </ex-table>
-    <no-auth v-else></no-auth>
-    <!-- 弹窗 新增/修改 -->
-    <add-edit
-      :id="modelId"
-      :show-model="showModel"
-      :sitem="sitem"
-      @refresh="searchList"
-      @cancel="showModel = false"
-    />
-  </div>
-</template>
-<script>
-import addEdit from "./addEdit";
-import asyncRequest from "@/apis/service/goodStore/afterSale";
-import statusList from "@/assets/js/statusList";
-import roleLevel from "@/assets/js/roleLevel";
-import mixinPage from "@/mixins/elPaginationHandle";
-import { mapGetters } from "vuex";
-import resToken from "@/mixins/resToken";
-export default {
-  name: "afterSale",
-  mixins: [mixinPage, resToken],
-  components: {
-    addEdit,
-  },
-  computed: {
-    //组件SIZE设置
-    ...mapGetters(["tablebtnSize", "searchSize", "size"]),
-    powers() {
-      let tran =
-        this.$store.getters.btnList.find(
-          (item) => item.menu_route == "afterSale"
-        ) || {};
-      if (tran && tran.action && tran.action.length > 0) {
-        return tran.action;
-      } else {
-        return [];
-      }
-    },
-  },
-  data() {
-    return {
-      statusList: statusList,
-      roleLevel: roleLevel,
-      loading: true,
-      showModel: false,
-      modelId: "000",
-      sitem: {},
-      parmValue: {
-        page: 1, // 页码
-        size: 15, // 每页显示条数
-        start: "",
-        end: "",
-        status: "",
-        creater: "",
-      },
-      // 状态
-      statusOptions: [
-        { id: "1", label: "禁用" },
-        { id: "0", label: "启用" },
-      ],
-      // 表格 - 数据
-      tableData: [],
-      // 表格 - 参数
-      table: {
-        stripe: true,
-        border: true,
-        _defaultHeader_: ["setcol"],
-      },
-      // 表格 - 分页
-      pageInfo: {
-        size: 15,
-        curr: 1,
-        total: 0,
-      },
-      // 表格 - 列参数
-      columns: [
-        {
-          prop: "id",
-          label: "ID",
-        },
-        {
-          prop: "afterSale_name",
-          label: "品牌名称",
-        },
-        {
-          prop: "status",
-          label: "状态",
-          sortable: true,
-          _slot_: "status",
-        },
-        {
-          prop: "creater",
-          label: "创建人",
-        },
-        {
-          prop: "addtime",
-          label: "创建时间",
-          sortable: true,
-        },
-        {
-          prop: "",
-          label: "操作",
-          fixed: "right",
-          _noset_: true,
-          _slot_: "operation",
-        },
-      ],
-    };
-  },
-  mounted() {
-    this.searchList();
-  },
-  methods: {
-    restSearch() {
-      // 表格 - 分页
-      this.pageInfo = {
-        size: 15,
-        curr: 1,
-        total: 0,
-      };
-      this.parmValue = {
-        page: 1, // 页码
-        size: 15, // 每页显示条数
-        start: "",
-        end: "",
-        status: "",
-        creater: "",
-      };
-      this.searchList();
-    },
-    // 新建/编辑/详情
-    openModal(row, type) {
-      this.sitem = row;
-      this.modelId = type;
-      this.showModel = true;
-    },
-    // 时间
-    async handleTime(e) {
-      this.parmValue.start = e.startTime || "";
-      this.parmValue.end = e.endTime || "";
-      if (
-        (this.parmValue.start !== "" && this.parmValue.end !== "") ||
-        (this.parmValue.start === "" && this.parmValue.end === "")
-      ) {
-        this.pageInfo.curr = 1;
-        this.parmValue.page = 1;
-        await this.searchList();
-      }
-    },
-    /**
-     * 启用/禁用
-     * @param {String} id id
-     * @param {String} status 0-禁用 1-启用
-     */
-    async changeStatus(id, status) {
-      await this.$confirm(`确定要改为${status === "0" ? "禁用" : "启用"}?`, {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-      })
-        .then(async () => {
-          this.loading = true;
-          const model = {
-            id: id,
-            status: status === "1" ? "0" : "1",
-          };
-          const res = await asyncRequest.status(model);
-          if (res && res.code === 0) {
-            this.loading = false;
-            this.$notify.success({
-              title: "状态修改成功!",
-              message: "",
-            });
-            await this.searchList();
-          } else if (res && res.code >= 100 && res.code <= 104) {
-            await this.logout();
-          } else {
-            this.loading = false;
-            this.$message.warning(res.message);
-          }
-        })
-        .catch(() => {
-          console.log("取消");
-        });
-    },
-    async deleteItem(id) {
-      await this.$confirm("确定要删除?", {
-        confirmButtonText: "确定",
-        cancelButtonText: "取消",
-        type: "warning",
-      })
-        .then(async () => {
-          const model = {
-            id: id,
-          };
-          const res = await asyncRequest.delete(model);
-          if (res && res.code === 0) {
-            this.$notify.success({
-              title: "删除成功",
-              message: "",
-            });
-            this.searchList();
-          } else if (res && res.code >= 100 && res.code <= 104) {
-            await this.logout();
-          } else {
-            this.$message.warning(res.message);
-          }
-        })
-        .catch(() => {
-          console.log("取消");
-        });
-    },
-    // 刷新表格
-    async searchList() {
-      this.loading = true;
-      const res = await asyncRequest.list(this.parmValue);
-      if (res && res.code === 0 && res.data) {
-        this.tableData = res.data.list;
-        this.pageInfo.total = Number(res.data.count);
-      } else if (res && res.code >= 100 && res.code <= 104) {
-        await this.logout();
-      } else {
-        this.tableData = [];
-        this.pageInfo.total = 0;
-      }
-      this.loading = false;
-    },
-  },
-};
-</script>
-
-<style lang="scss" scoped>
-</style>

+ 0 - 0
src/views/goodStore/afterSale/售后说明


+ 23 - 3
src/views/goodStore/sort/addEdit.vue

@@ -5,7 +5,7 @@
     :center="true"
     align="left"
     top="18vh"
-    width="500px"
+    width="600px"
     :close-on-click-modal="false"
     :visible.sync="showModelThis"
     element-loading-text="拼命加载中"
@@ -33,7 +33,12 @@
               />
             </el-form-item>
             <el-form-item label="分类规格" prop="specs_id">
-              <el-select v-model="ruleForm.specs_id" multiple placeholder="分类规格">
+              <el-select
+                v-model="ruleForm.specs_id"
+                multiple
+                style="width: 100%"
+                placeholder="分类规格"
+              >
                 <el-option
                   v-for="item in specOptions"
                   :key="item.id"
@@ -43,6 +48,17 @@
                 </el-option>
               </el-select>
             </el-form-item>
+
+            <el-form-item label="售后说明" prop="cat_desc">
+              <el-input
+                v-model="ruleForm.cat_desc"
+                :disabled="id == '007'"
+                placeholder="售后说明"
+                type="textarea"
+                :rows="5"
+                minlength="2000"
+              />
+            </el-form-item>
           </el-form>
         </el-col>
         <el-col :span="24" style="text-align: right">
@@ -74,6 +90,7 @@ export default {
         id: "",
         cat_name: "",
         specs_id: [],
+        cat_desc: "",
       },
       rulesThis: this.rules,
       rules: {
@@ -88,6 +105,7 @@ export default {
             trigger: "change",
           },
         ],
+        cat_desc: [{ required: false, message: "", trigger: "blur" }],
       },
     };
   },
@@ -128,11 +146,13 @@ export default {
         if (this.$refs.ruleForm) {
           this.$refs.ruleForm.resetFields();
           this.$refs.ruleForm.clearValidate();
-          const { pid, id, cat_name } = this.sitem;
+          const { pid, id, cat_name, cat_desc, specs_id } = this.sitem;
           this.ruleForm = {
             pid: pid || "",
             id: id || "",
             cat_name: cat_name || "",
+            specs_id: specs_id || [],
+            cat_desc: cat_desc || "",
           };
         }
       });

+ 0 - 0
src/views/purchaseIn/stockApply/addModel.vue → src/views/sellOut/stockApply/addModel.vue


+ 0 - 0
src/views/purchaseIn/stockApply/columns.js → src/views/sellOut/stockApply/columns.js


+ 1 - 1
src/views/purchaseIn/stockApply/components/addEdit.vue → src/views/sellOut/stockApply/components/addEdit.vue

@@ -145,7 +145,7 @@
 </template>
    <script>
 import resToken from "@/mixins/resToken";
-import asyncRequest from "@/apis/service/purchaseIn/stockApply";
+import asyncRequest from "@/apis/service/sellOut/stockApply";
 import { isnumber } from "@/utils/validate";
 import searchStockGoodModal from "@/components/search-stock-good-modal";
 import showPdfModel from "@/components/show-pdf-model";

+ 1 - 1
src/views/purchaseIn/stockApply/components/purchaseBack.vue → src/views/sellOut/stockApply/components/purchaseBack.vue

@@ -296,7 +296,7 @@
 </template>
    <script>
 import resToken from "@/mixins/resToken";
-import asyncRequest from "@/apis/service/purchaseIn/stockApply";
+import asyncRequest from "@/apis/service/sellOut/stockApply";
 import rules from "./rules";
 export default {
   name: "stockApply",

+ 0 - 0
src/views/purchaseIn/stockApply/components/ruleForm.js → src/views/sellOut/stockApply/components/ruleForm.js


+ 0 - 0
src/views/purchaseIn/stockApply/components/rules.js → src/views/sellOut/stockApply/components/rules.js


+ 1 - 1
src/views/purchaseIn/stockApply/detail.vue → src/views/sellOut/stockApply/detail.vue

@@ -126,7 +126,7 @@
 <script>
 import mixinPage from "@/mixins/elPaginationHandle";
 import resToken from "@/mixins/resToken";
-import asyncRequest from "@/apis/service/purchaseIn/stockApply";
+import asyncRequest from "@/apis/service/sellOut/stockApply";
 import addEdit from "./components/addEdit";
 import { mapGetters } from "vuex";
 import PurchaseBack from "./components/purchaseBack.vue";

+ 1 - 1
src/views/purchaseIn/stockApply/index.vue → src/views/sellOut/stockApply/index.vue

@@ -177,7 +177,7 @@
    <script>
 import mixinPage from "@/mixins/elPaginationHandle";
 import resToken from "@/mixins/resToken";
-import asyncRequest from "@/apis/service/purchaseIn/stockApply";
+import asyncRequest from "@/apis/service/sellOut/stockApply";
 import addModel from "./addModel.vue";
 import { mapGetters } from "vuex";
 import columns from "./columns";

+ 0 - 0
src/views/purchaseIn/stockApply/备货申请管理 → src/views/sellOut/stockApply/备货申请管理