spring
2025-02-17 b25e5611ece8d25a6605a1ec66916db0942a5ed5
src/views/standard/standardLibrary/index.vue
@@ -575,11 +575,19 @@
          ></el-table-column>
          <el-table-column label="操作" prop="section" width="160">
            <template slot-scope="scope">
              <el-button type="text" @click="sectionUp(scope.row)"
              <el-button
                type="text"
                @click="sectionUp(scope.row)"
                :disabled="
                  !checkPermi(['standard:standardLibrary:upStandardProduct'])
                "
                >区间设置</el-button
              >
              <el-button
                type="text"
                :disabled="
                  !checkPermi(['standard:standardLibrary:upStandardProduct'])
                "
                @click="bindSupplierDensitySecond(scope.row)"
                >绑定厂家</el-button
              >
@@ -756,12 +764,19 @@
        ></el-button>
      </span>
    </el-dialog>
    <!-- <bindSupplierDensityDialogAsk v-if="bindSupplierDensityDialog"
                               :bindSupplierDensityDialog="bindSupplierDensityDialog"
                               :currentRow="currentSupplierDensityRow"
                               @closeBindPartDialog="closeBindSupplierDensityDialog"></bindSupplierDensityDialogAsk> -->
    <!-- <BatchCopy v-if="batchCopyDia" ref="BatchCopy" :selectTree1="selectTree"
               :standardId="standardId" @refreshList="refreshList"></BatchCopy> -->
    <bindSupplierDensityDialogAsk
      v-if="bindSupplierDensityDialog"
      :bindSupplierDensityDialog="bindSupplierDensityDialog"
      :currentRow="currentSupplierDensityRow"
      @closeBindPartDialog="closeBindSupplierDensityDialog"
    ></bindSupplierDensityDialogAsk>
    <BatchCopy
      v-if="batchCopyDia"
      ref="BatchCopy"
      :selectTree1="selectTree"
      :standardId="standardId"
      @refreshList="refreshList"
    ></BatchCopy>
  </div>
</template>
@@ -790,16 +805,14 @@
  getStandardTemplate,
  selectStandardProductByMethodId,
  selectStandardProductEnumByMethodId,
  resetTreeOfPrice,
  resetTreeOfHour,
} from "@/api/standard/standardLibrary";
import { checkPermi } from "@/utils/permission"; // 权限判断函数
//   import bindSupplierDensityDialogAsk from "../do/a5-capacity-scope/bindSupplierDensityDialogAsk.vue";
//   import BatchCopy from "../do/a5-capacity-scope/BatchCopy.vue";
import bindSupplierDensityDialogAsk from "./components/bindSupplierDensityDialogAsk.vue";
import BatchCopy from "./components/BatchCopy.vue";
export default {
  components: {
    //   BatchCopy,
    //   bindSupplierDensityDialogAsk,
    BatchCopy,
    bindSupplierDensityDialogAsk,
    draggable,
  },
  dicts: ["sys_factory", "sys_sub_lab", "sys_samp_type"],