提交耗材问题

This commit is contained in:
duan
2024-11-01 17:46:57 +08:00
parent a40d7bf142
commit ab5c746b80
5 changed files with 27 additions and 15 deletions

View File

@@ -10,7 +10,7 @@
<view class="color-000 font-bold">{{data.nickName}}</view>
<image style="width: 24rpx;height: 24rpx;" v-if="data.sex=='男'" src="./men.png" mode=""></image>
<image style="width: 24rpx;height: 24rpx;" v-if="data.sex=='女'" src="./women.png" mode=""></image>
<view class="color-999 u-m-l-40" @click="remark">备注</view>
<!-- <view class="color-999 u-m-l-40" @click="remark">备注</view> -->
</view>
<!-- <view class="u-m-t-6 u-flex u-row-between">
<view class="vip isvip" v-if="data.isVip">会员</view>

View File

@@ -229,7 +229,7 @@
</view>
<view class="zhezhaopopfour">
<view style="font-weight: 400;font-size: 28rpx;color: #333333;">
</view>
<view class="">
<input type="number" v-model="datas.form.amount" placeholder="请输入金额" />
@@ -238,7 +238,7 @@
</view>
</view>
</view>
<up-button text="确认" @tap="callTabletakeNumberEvent" type="primary" class="buttomStyle"
<up-button text="确认" @tap="callTabletakeNumberEvent" type="primary" class="buttomStyle"
shape="circle"></up-button>
</view>
</up-popup>
@@ -275,7 +275,8 @@
let datas = reactive({
show: false,
form: {
operationType: 'in'
operationType: 'in',
type: 'inMoney'
},
activeUser: null
})
@@ -295,6 +296,7 @@
...datas.form
})
datas.show = false;
close()
getUser()
}
const remarModelData = reactive({
@@ -306,6 +308,13 @@
function sizeChange(e, name) {
datas.form[name] = e.detail.value
if (name == 'operationType') {
if (datas.form.operationType == 'in') {
datas.form.type = 'inMoney'
} else {
datas.form.type = 'consumeOut'
}
}
}
const goodsStockModel = ref(null)
@@ -333,9 +342,7 @@
} else if (i == 1) {
hasPermission('允许管理会员信息').then(ele => {
if (ele) {
go.to('PAGES_USER_ADD', {
item: JSON.stringify(datas.activeUser)
})
go.to('PAGES_USER_ADD', datas.activeUser)
}
})
}
@@ -719,6 +726,7 @@
.zhezhaopopfour {
margin-top: 32rpx;
margin-bottom: 48rpx;
>view:nth-child(2) {
margin-top: 24rpx;
display: flex;