src/views/basicData/product/index.vue
@@ -77,7 +77,7 @@
    <div class="right">
      <div style="margin-bottom: 10px" v-if="isShowButton">
        <el-button type="primary" @click="openModelDia('add')">
          新增规格型号
          新增尺寸
        </el-button>
        <ImportExcel :product-id="currentId" @uploadSuccess="getModelList" />
        <el-button
@@ -132,7 +132,7 @@
    </el-dialog>
    <el-dialog
      v-model="modelDia"
      title="规格型号"
      title="尺寸"
      width="400px"
      @close="closeModelDia"
      @keydown.enter.prevent
@@ -146,10 +146,10 @@
      >
        <el-row>
          <el-col :span="24">
            <el-form-item label="规格型号:" prop="model">
            <el-form-item label="尺寸:" prop="model">
              <el-input
                v-model="modelForm.model"
                placeholder="请输入规格型号"
                placeholder="请输入尺寸"
                clearable
                @keydown.enter.prevent
              />
@@ -294,7 +294,7 @@
const expandedKeys = ref([]);
const tableColumn = ref([
  {
    label: "规格型号",
    label: "尺寸",
    prop: "model",
  },
  {
@@ -397,7 +397,7 @@
    form.value.productName = data.productName;
  }
};
// 打开规格型号弹框
// 打开尺寸弹框
const openModelDia = (type, data) => {
  modelOperationType.value = type;
  modelDia.value = true;
@@ -474,7 +474,7 @@
  getModelList();
};
// 提交规格型号修改
// 提交尺寸修改
const submitModelForm = () => {
  proxy.$refs.modelFormRef.validate((valid) => {
    if (valid) {
@@ -497,7 +497,7 @@
  selectedRows.value = selection;
};
// 查询规格型号
// 查询尺寸
const pagination = (obj) => {
  page.current = obj.page;
  page.size = obj.limit;
@@ -516,7 +516,7 @@
    tableLoading.value = false;
  });
};
// 删除规格型号
// 删除尺寸
const handleDelete = () => {
  let ids = [];
  if (selectedRows.value.length > 0) {