代客下单增加商品称重弹窗
This commit is contained in:
@@ -134,11 +134,18 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 多规格选择确认 -->
|
||||
<dialogGoodsSel ref="refSelSku" @confirm="skuSelConfirm"></dialogGoodsSel>
|
||||
<!-- 备注 -->
|
||||
<note ref="refNote" @confirm="noteConfirm"></note>
|
||||
<!-- 打包数量 -->
|
||||
<pack ref="refPack" @confirm="packConfirm"></pack>
|
||||
<!-- 临时菜 -->
|
||||
<addLingShiCai ref="refAddLingShiCai" @confirm="addLingShiCaiConfirm"></addLingShiCai>
|
||||
<!-- 改价 -->
|
||||
<changePrice ref="refChangePrice" @confirm="changePriceConfirm"></changePrice>
|
||||
<!-- 称重商品 -->
|
||||
<changeWeight ref="refChangeWeight" @confirm="changeWeightConfirm"></changeWeight>
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
@@ -146,6 +153,7 @@ import Controls from "./components/control.vue";
|
||||
import note from "./components/note.vue";
|
||||
import pack from "./components/pack.vue";
|
||||
import changePrice from "./components/popup-cart-changePrice.vue";
|
||||
import changeWeight from "./components/popup-weight-goods.vue";
|
||||
import addLingShiCai from "./components/popup-linshiCai.vue";
|
||||
import GoodsItem from "./components/goods-item.vue";
|
||||
import dialogGoodsSel from "./components/dialog-goods-sel.vue";
|
||||
@@ -155,6 +163,13 @@ import productApi from "@/api/product/index";
|
||||
import tableApi from "@/api/account/table";
|
||||
import $status from "@/views/tool/table/status.js";
|
||||
|
||||
// 称重商品
|
||||
const refChangeWeight = ref();
|
||||
function changeWeightConfirm(e) {}
|
||||
function showWeight(item) {
|
||||
refChangeWeight.value.open(item);
|
||||
}
|
||||
|
||||
//桌台
|
||||
const tableSearchText = ref("");
|
||||
const tableList = ref([]);
|
||||
@@ -315,8 +330,8 @@ function goodsClick(item) {
|
||||
return;
|
||||
}
|
||||
//称重
|
||||
if (item.type == "sku") {
|
||||
refSelSku.value.open(item);
|
||||
if (item.type == "weight") {
|
||||
showWeight(item);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user