fix: 修改部分组件名称,避免打包时出现文件同名警告

This commit is contained in:
2025-03-14 11:22:08 +08:00
parent b54985f150
commit 70c35b4a1f
5 changed files with 12 additions and 12 deletions

View File

@@ -309,7 +309,7 @@
<el-button type="primary" @click="submitHandle" :loading="queryFormLoading">确定</el-button> <el-button type="primary" @click="submitHandle" :loading="queryFormLoading">确定</el-button>
</div> </div>
<!-- 选择商品 --> <!-- 选择商品 -->
<shopList ref="shopList" @success="selectShop" /> <goods-list ref="shopList" @success="selectShop" />
<!-- 选择耗材 --> <!-- 选择耗材 -->
<ConsumableList ref="ConsumableList" @success="selectConsumable" /> <ConsumableList ref="ConsumableList" @success="selectConsumable" />
<el-dialog <el-dialog
@@ -343,13 +343,13 @@ import consApi from "@/api/product/cons";
import vendorApi from "@/api/product/vendor"; import vendorApi from "@/api/product/vendor";
import stockApi from "@/api/product/stock"; import stockApi from "@/api/product/stock";
import dayjs from "dayjs"; import dayjs from "dayjs";
import shopList from "./components/shopList.vue"; import goodsList from "./components/goods-list.vue";
import ConsumableList from "./components/consumableList.vue"; import ConsumableList from "./components/consumableList.vue";
import { formatDecimal } from "@/utils/tools.js"; import { formatDecimal } from "@/utils/tools.js";
export default { export default {
name: "operation_in", name: "operation_in",
components: { components: {
shopList, goodsList,
ConsumableList, ConsumableList,
}, },
data() { data() {

View File

@@ -244,13 +244,13 @@
@confirm="refReturnMoneyConfirm" @confirm="refReturnMoneyConfirm"
></return-money> ></return-money>
<!-- 退菜 --> <!-- 退菜 -->
<return-cart ref="refReturnCart" @confirm="refReturnCartConfirm"></return-cart> <order-return-cart ref="refReturnCart" @confirm="refReturnCartConfirm"></order-return-cart>
</div> </div>
</template> </template>
<script> <script>
import returnMoney from "./return-money.vue"; import returnMoney from "./return-money.vue";
import returnCart from "./return-cart.vue"; import orderReturnCart from "./order-return-cart.vue";
import { ElMessage } from "element-plus"; import { ElMessage } from "element-plus";
import { returnOptionsLabel } from "../config/config"; import { returnOptionsLabel } from "../config/config";
import * as $util from "../order_goods_util.js"; import * as $util from "../order_goods_util.js";
@@ -261,7 +261,7 @@ import dayjs from "dayjs";
export default { export default {
components: { components: {
returnMoney, returnMoney,
returnCart, orderReturnCart,
}, },
data() { data() {
return { return {

View File

@@ -202,18 +202,18 @@
@confirm="changePriceConfirm" @confirm="changePriceConfirm"
></changePrice> ></changePrice>
<!-- 称重商品 --> <!-- 称重商品 -->
<changeWeight ref="refChangeWeight" @confirm="changeWeightConfirm"></changeWeight> <change-weight ref="refChangeWeight" @confirm="changeWeightConfirm"></change-weight>
<!-- 可选套餐 --> <!-- 可选套餐 -->
<changeTaocan ref="refAddTaocan" @confirm="taocanConfirm"></changeTaocan> <change-taocan ref="refAddTaocan" @confirm="taocanConfirm"></change-taocan>
<!-- 选择用户 --> <!-- 选择用户 -->
<chooseUser ref="refChooseUser" @chooseUser="chooseUserConfirm"></chooseUser> <choose-user ref="refChooseUser" @chooseUser="chooseUserConfirm"></choose-user>
<!-- 就餐人数 --> <!-- 就餐人数 -->
<dinerNumber ref="refDinerNumber" @confirm="dinerNumberConfirm"></dinerNumber> <diner-number ref="refDinerNumber" @confirm="dinerNumberConfirm"></diner-number>
<!-- 退菜 --> <!-- 退菜 -->
<returnCart ref="refReturnCart" @confirm="refReturnCartConfirm"></returnCart> <return-cart ref="refReturnCart" @confirm="refReturnCartConfirm"></return-cart>
<!-- 美团抖音核销 --> <!-- 美团抖音核销 -->
<quanHexiao ref="refQuanHexiao"></quanHexiao> <quan-hexiao ref="refQuanHexiao"></quan-hexiao>
<!-- 转桌 --> <!-- 转桌 -->
<rottable ref="refRotTable" :cartGoods="carts.list"></rottable> <rottable ref="refRotTable" :cartGoods="carts.list"></rottable>
</div> </div>