diff --git a/http/yskApi/table.js b/http/yskApi/table.js index 796f756..6b4104c 100644 --- a/http/yskApi/table.js +++ b/http/yskApi/table.js @@ -24,6 +24,17 @@ export function $bind(data) { } }); } +// 转/并桌 +export function tableswitch(data) { + return request({ + url: '/api/place/switch', + method: "put", + data: { + shopId: uni.getStorageSync('shopId'), + ...data + } + }); +} //获取台桌详情状态 export function $returnTableDetail(data) { return request({ diff --git a/manifest.json b/manifest.json index aaae265..19e7f8b 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name" : "银收客", "appid" : "__UNI__02A31D8", "description" : "", - "versionName" : "1.0.2", + "versionName" : "1.0.0", "versionCode" : 100, "transformPx" : false, "app-plus" : { diff --git a/pageConsumables/editsupplier.vue b/pageConsumables/editsupplier.vue index e7bae30..8f60104 100644 --- a/pageConsumables/editsupplier.vue +++ b/pageConsumables/editsupplier.vue @@ -51,6 +51,9 @@ } from 'vue'; import color from '@/commons/color.js'; import go from '@/commons/utils/go.js'; + import { + onLoad, + } from '@dcloudio/uni-app'; import { tbShopPurveyorput } from '@/http/yskApi/requestAll.js'; @@ -62,17 +65,15 @@ type: String } }) - onMounted(() => { - datas.form = JSON.parse(props.item) + onLoad((d)=>{ + datas.form = JSON.parse(d.item) }) function sumbit() { tbShopPurveyorput({ shopId: uni.getStorageSync("shopId"), - ...datas.form }).then(res => { - // go.to('PAGES_SUPPLIER') go.back() }) } diff --git a/pageShopLogin/login.vue b/pageShopLogin/login.vue index 487278f..b9e6020 100644 --- a/pageShopLogin/login.vue +++ b/pageShopLogin/login.vue @@ -11,7 +11,7 @@ - + @@ -29,7 +29,8 @@ @@ -55,7 +56,6 @@ + + \ No newline at end of file diff --git a/pagesCreateOrder/index/components/taocanModel.vue b/pagesCreateOrder/index/components/taocanModel.vue index 859e83d..d58c1a1 100644 --- a/pagesCreateOrder/index/components/taocanModel.vue +++ b/pagesCreateOrder/index/components/taocanModel.vue @@ -116,6 +116,7 @@ } function close() { + datas.selectNumber = 0 model.value.close() } const instance = getCurrentInstance(); diff --git a/pagesOrder/detail/components/list.vue b/pagesOrder/detail/components/list.vue index 1e18940..ad25a0d 100644 --- a/pagesOrder/detail/components/list.vue +++ b/pagesOrder/detail/components/list.vue @@ -4,6 +4,13 @@ 桌号: {{orderInfo.tableName||""}} + + + 转桌/并桌 + + + {{goodsNumber}} @@ -180,7 +187,7 @@ {{orderInfo.amount}} - +