gaoluyang
10 天以前 a2c33664f683aee11fdc62391c8d1e21cc74f5b2
src/views/basicData/product/index.vue
@@ -68,7 +68,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" />
@@ -120,7 +120,7 @@
      </template>
    </el-dialog>
    <el-dialog v-model="modelDia"
               title="尺寸"
               title="规格型号"
               width="400px"
               @close="closeModelDia"
               @keydown.enter.prevent>
@@ -142,10 +142,10 @@
            </el-col>
          </el-row>
          <el-col :span="24">
            <el-form-item label="尺寸:"
            <el-form-item label="规格型号:"
                          prop="model">
              <el-input v-model="modelForm.model"
                        placeholder="请输入尺寸"
                        placeholder="请输入规格型号"
                        clearable
                        @keydown.enter.prevent />
            </el-form-item>
@@ -295,7 +295,7 @@
      prop: "productCode",
    },
    {
      label: "尺寸",
      label: "规格型号",
      prop: "model",
    },
    {
@@ -411,7 +411,7 @@
    form.value.productName =
      type === "edit" && data ? data.productName : "";
  };
  // 打开尺寸弹框
  // 打开规格型号弹框
  const openModelDia = (type, data) => {
    modelOperationType.value = type;
    modelDia.value = true;
@@ -492,7 +492,7 @@
    getModelList();
  };
  // 提交尺寸修改
  // 提交规格型号修改
  const submitModelForm = () => {
    proxy.$refs.modelFormRef.validate(valid => {
      if (valid) {
@@ -515,7 +515,7 @@
    selectedRows.value = selection;
  };
  // 查询尺寸
  // 查询规格型号
  const pagination = obj => {
    page.current = obj.page;
    page.size = obj.limit;
@@ -534,7 +534,7 @@
      tableLoading.value = false;
    });
  };
  // 删除尺寸
  // 删除规格型号
  const handleDelete = () => {
    let ids = [];
    if (selectedRows.value.length > 0) {