打印机修改提示

This commit is contained in:
duan
2024-10-26 09:52:50 +08:00
parent 4e71abaeb4
commit a747dba877
4 changed files with 20 additions and 10 deletions

View File

@@ -126,6 +126,8 @@
}) })
return return
} }
console.log(datas.list,'tiaoshi1')
console.log(datas.list[datas.nowStatusIndex],'tiaoshi1')
tbConsInfoAddlist([{ tbConsInfoAddlist([{
...datas.form, ...datas.form,
shopId: uni.getStorageSync("shopId"), shopId: uni.getStorageSync("shopId"),

BIN
pageConsumables/profile.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -2,16 +2,24 @@
<ul class="supplier"> <ul class="supplier">
<li v-for="item in datas.list" :key="item.id"> <li v-for="item in datas.list" :key="item.id">
<view class=""> <view class="">
<text style="font-weight: 400;font-size: 28rpx;color: #333333;"> <view style="display: flex;align-items: center;">
{{item.purveyorName}} <text style="color: #999;">({{item.purveyorTelephone}})</text> <image src="./profile.png" style="width: 64rpx;height: 64rpx;" mode=""></image>
</text> <view style="margin-left: 16rpx;">
<view style="font-weight: 400;font-size: 28rpx;color: #333333;">
{{item.purveyorName}}
</view>
<text style="color: #999;">{{item.purveyorTelephone}}</text>
</view>
</view>
<text style="font-size: 28rpx;font-weight: 400;" :style="{color:item.type==0?'#FD7B49':''}"> <text style="font-size: 28rpx;font-weight: 400;" :style="{color:item.type==0?'#FD7B49':''}">
{{ item.type == 0 ? '待支付' : '已完结' }} {{ item.type == 0 ? '待支付' : '已完结' }}
</text> </text>
</view> </view>
<view class=""> <view class="">
<view class=""> <view class="">
<view class=""> <view :style="{color:item.waitAmount>0?' #F02C45;':''}">
{{item.waitAmount}} {{item.waitAmount}}
</view> </view>
<view class=""> <view class="">
@@ -19,7 +27,7 @@
</view> </view>
</view> </view>
<view class=""> <view class="">
<view class=""> <view style="color: #318AFE;">
{{item.waitCount}}未付 {{item.waitCount}}未付
</view> </view>
<view class=""> <view class="">
@@ -43,8 +51,8 @@
<up-button type="primary" @tap="toUrl('PAGES_EDIT_SUPPLIER',{item:JSON.stringify(item)})" :plain="true" <up-button type="primary" @tap="toUrl('PAGES_EDIT_SUPPLIER',{item:JSON.stringify(item)})" :plain="true"
text="编辑"> text="编辑">
</up-button><up-button type="primary" @tap="deleteEvent(item.id)" :plain="true" text="删除"> </up-button><up-button type="primary" @tap="deleteEvent(item.id)" :plain="true" text="删除">
</up-button><up-button type="primary" style="background-color: #318AFE;color: #fff;" @tap="toUrl('PAGES_PAYMENT_SETTLEMENT',{id:item.id})" </up-button><up-button type="primary" style="background-color: #318AFE;color: #fff;"
:plain="true" text="结款记录"></up-button> @tap="toUrl('PAGES_PAYMENT_SETTLEMENT',{id:item.id})" :plain="true" text="结款记录"></up-button>
</view> </view>
</li> </li>
</ul> </ul>
@@ -120,7 +128,7 @@
.supplier { .supplier {
>li { >li {
width: 694rpx; width: 694rpx;
height: 604rpx; // height: 604rpx;
background: #FFFFFF; background: #FFFFFF;
border-radius: 18rpx 18rpx 18rpx 18rpx; border-radius: 18rpx 18rpx 18rpx 18rpx;
padding: 32rpx 24rpx; padding: 32rpx 24rpx;

View File

@@ -43,7 +43,7 @@
</view> </view>
</view> </view>
<view class="u-p-b-24 u-m-b-24 border-bottom"> <view class="u-p-b-24 u-m-b-24 border-bottom">
<view class="title">分类打印(仅打印制作单[厨房])</view> <view class="title">分类打印 </view>
<view class="u-m-t-16"> <view class="u-m-t-16">
<radio-group class="u-flex u-flex-wrap" @change="sizeChange($event,'classifyPrint')"> <radio-group class="u-flex u-flex-wrap" @change="sizeChange($event,'classifyPrint')">
<label class="radio u-m-r-60"> <label class="radio u-m-r-60">
@@ -52,7 +52,7 @@
</label> </label>
<label class="radio u-m-r-60"> <label class="radio u-m-r-60">
<radio value="1" :checked="form.classifyPrint == '1'" class="scale7" /> <radio value="1" :checked="form.classifyPrint == '1'" class="scale7" />
<text>部分分类</text> <text>部分分类(仅打印制作单[厨房])</text>
</label> </label>
<!-- <label class="radio u-m-r-60"> <!-- <label class="radio u-m-r-60">
<radio value="2" :checked="form.classifyPrint == '2'" class="scale7" /> <radio value="2" :checked="form.classifyPrint == '2'" class="scale7" />