wangfukang 2 years ago
parent
commit
07b09ee36e
  1. 134
      package1/AI/AIPicture.vue
  2. 28
      package1/AI/voiceInventory.vue
  3. 37
      package1/inventory/gategory.vue
  4. 68
      pages/billing/changeGoods1.vue
  5. 8
      pages/inventory/changeGoods1.vue
  6. 5
      pages/inventory/goodsList1.vue
  7. 12
      pages/inventory/inventory.vue

134
package1/AI/AIPicture.vue

@ -47,18 +47,20 @@
<view class="del-icon" @tap="delImage(index)">
<uni-icons type="trash" color="#00BFFF" size="20"></uni-icons>
</view>
<image show-menu-by-longpress :src="item.ocrPicture" @load='loadImg' @tap="showImage(item.ocrPicture)"></image>
<uni-easyinput type='number' prefixIcon="compose" v-model='item.count'
placeholder="请输入规格数量" @blur="numChange('zhu',item,index)"></uni-easyinput>
<image show-menu-by-longpress :src="item.ocrPicture" @load='loadImg'
@tap="showImage(item.ocrPicture)"></image>
<uni-easyinput type='number' prefixIcon="compose" v-model='item.count' placeholder="请输入规格数量"
@blur="numChange('zhu',item,index)"></uni-easyinput>
</view>
<view v-for="(items,indexs) in item.children" :key="indexs"
style="width: 200rpx;height: 280rpx;position: relative;background: #fff;margin-left: 20rpx;border-radius: 10px;">
<view class="del-icon" @tap="delSonImage(index,indexs)">
<uni-icons type="trash" color="#00BFFF" size="20"></uni-icons>
</view>
<image show-menu-by-longpress :src="items.ocrPicture" @load='loadImg' @tap="showImage(items.ocrPicture)"
style="width: 200rpx;height: 200rpx;padding: 5px;"></image>
<uni-easyinput type='number' v-model='items.count' placeholder="子图规格数量" @blur="numChange('zi',item,index,items,indexs)"></uni-easyinput>
<image show-menu-by-longpress :src="items.ocrPicture" @load='loadImg'
@tap="showImage(items.ocrPicture)" style="width: 200rpx;height: 200rpx;padding: 5px;"></image>
<uni-easyinput type='number' v-model='items.count' placeholder="子图规格数量"
@blur="numChange('zi',item,index,items,indexs)"></uni-easyinput>
</view>
<view @tap="addSonImg(item.id)"
style="width: 200rpx;height: 219rpx;background: rgba(255,255,255,0.4);margin: 0 20rpx;border-radius: 10px;font-size: 24rpx;color: #777;text-align: center;">
@ -80,13 +82,15 @@
<view class="popup-photo" style="font-size: 28rpx;font-weight: 400;">提示:建议使用原相机拍照并在相册内截图后上传</view>
<view @tap="upLoadImg('pai')" class="popup-photo">拍照</view>
<view @tap="upLoadImg('xuan')" class="popup-photo">从相册选择</view>
<view @tap="$refs.popup.close()" class="popup-photo" style="border-bottom:0;border-top:10px solid #eee;">取消</view>
<view @tap="$refs.popup.close()" class="popup-photo"
style="border-bottom:0;border-top:10px solid #eee;">取消</view>
</view>
</uni-popup>
<!-- 打印选择框 -->
<uni-popup ref="productDialog" background-color="#fff">
<view class="popup-pay-content" :style="{background:'url('+purchaseOcrPictureList[0].ocrPicture+') no-repeat;background-size: 100%;'}">
<view style="height: 750rpx;margin-top: 550rpx;z-index: 99;background: #fff;border-top: 1px solid #eee;">
<view class="popup-pay-content"
:style="{background:'url('+purchaseOcrPictureList[0].ocrPicture+') no-repeat;background-size: 100%;'}">
<view class="popup-pay-shili">
<view class="popup-pay-title" style="margin-top: 50rpx;">
<text>识别规则示例</text>
</view>
@ -97,41 +101,59 @@
</view> -->
</view>
<view style="height: 350rpx;">
<view style="padding-left: 40rpx;display: flex;height: 80rpx;width: 50%;line-height: 80rpx;margin-top: 20rpx;float: left;">
<view
style="padding-left: 40rpx;display: flex;height: 80rpx;width: 50%;line-height: 80rpx;margin-top: 20rpx;float: left;">
<text style="display:inline-block;width:100rpx;font-size:22rpx;">
货号:
</text>
<input v-model="productSn" disabled="true" @tap="clickInput('productSn')" type="text" placeholder="请输入货号" style="display: flex;height: 80rpx;width: 200rpx;line-height: 80rpx;padding-left: 20rpx;border: 1px solid #eee;">
<input v-model="productSn" disabled="true" @tap="clickInput('productSn')" type="text"
placeholder="请输入货号"
style="display: flex;height: 80rpx;width: 200rpx;line-height: 80rpx;padding-left: 20rpx;border: 1px solid #eee;">
</view>
<view style="padding-left: 20rpx;display: flex;height: 80rpx;width: 50%;line-height: 80rpx;margin-top: 20rpx;float: left;">
<view
style="padding-left: 20rpx;display: flex;height: 80rpx;width: 50%;line-height: 80rpx;margin-top: 20rpx;float: left;">
<text style="display:inline-block;width:100rpx;font-size:22rpx;">
商品名:
</text>
<input v-model="productName" disabled="true" @tap="clickInput('productName')" type="text" placeholder="请输入商品名" style="display: flex;height: 80rpx;width: 200rpx;line-height: 80rpx;padding-left: 20rpx;border: 1px solid #eee;">
<input v-model="productName" disabled="true" @tap="clickInput('productName')" type="text"
placeholder="请输入商品名"
style="display: flex;height: 80rpx;width: 200rpx;line-height: 80rpx;padding-left: 20rpx;border: 1px solid #eee;">
</view>
<view style="padding-left: 40rpx;display: flex;height: 80rpx;width: 50%;line-height: 80rpx;margin-top: 20rpx;float: left;">
<view
style="padding-left: 40rpx;display: flex;height: 80rpx;width: 50%;line-height: 80rpx;margin-top: 20rpx;float: left;">
<text style="display:inline-block;width:100rpx;font-size:22rpx;">
采购价:
</text>
<input v-model="price" @focus="obtainPrice($event,'price')" @blur="changessPrice($event,'price')" type="digit" placeholder="请输入价格" style="display: flex;height: 80rpx;width: 200rpx;line-height: 80rpx;padding-left: 20rpx;border: 1px solid #eee;">
<input v-model="price" @focus="obtainPrice($event,'price')"
@blur="changessPrice($event,'price')" type="digit" placeholder="请输入价格"
style="display: flex;height: 80rpx;width: 200rpx;line-height: 80rpx;padding-left: 20rpx;border: 1px solid #eee;">
</view>
<view style="padding-left: 20rpx;display: flex;height: 80rpx;width: 50%;line-height: 80rpx;margin-top: 20rpx;float: left;">
<view
style="padding-left: 20rpx;display: flex;height: 80rpx;width: 50%;line-height: 80rpx;margin-top: 20rpx;float: left;">
<text style="display:inline-block;width:100rpx;font-size:22rpx;">
数量:
</text>
<input v-model="productCount" @focus="obtainPrice($event,'productCount')" @blur="changessPrice($event)" type="digit" placeholder="请输入数量" style="display: flex;height: 80rpx;width: 200rpx;line-height: 80rpx;padding-left: 20rpx;border: 1px solid #eee;">
<input v-model="productCount" @focus="obtainPrice($event,'productCount')"
@blur="changessPrice($event)" type="digit" placeholder="请输入数量"
style="display: flex;height: 80rpx;width: 200rpx;line-height: 80rpx;padding-left: 20rpx;border: 1px solid #eee;">
</view>
<view style="padding-left: 40rpx;display: flex;height: 80rpx;width: 50%;line-height: 80rpx;margin-top: 20rpx;float: left;">
<view
style="padding-left: 40rpx;display: flex;height: 80rpx;width: 50%;line-height: 80rpx;margin-top: 20rpx;float: left;">
<text style="display:inline-block;width:100rpx;font-size:22rpx;">
颜色:
</text>
<input v-model="color" type="text" disabled="true" @tap="clickInput('color')" placeholder="请输入颜色" style="display: flex;height: 80rpx;width: 200rpx;line-height: 80rpx;padding-left: 20rpx;border: 1px solid #eee;">
<input v-model="color" type="text" disabled="true" @tap="clickInput('color')"
placeholder="请输入颜色"
style="display: flex;height: 80rpx;width: 200rpx;line-height: 80rpx;padding-left: 20rpx;border: 1px solid #eee;">
</view>
<view style="padding-left: 20rpx;display: flex;height: 80rpx;width: 50%;line-height: 80rpx;margin-top: 20rpx;float: left;">
<view
style="padding-left: 20rpx;display: flex;height: 80rpx;width: 50%;line-height: 80rpx;margin-top: 20rpx;float: left;">
<text style="display:inline-block;width:100rpx;font-size:22rpx;">
尺码:
</text>
<input v-model="size" type="text" disabled="true" @tap="clickInput('size')" placeholder="请输入尺码" style="display: flex;height: 80rpx;width: 200rpx;line-height: 80rpx;padding-left: 20rpx;border: 1px solid #eee;">
<input v-model="size" type="text" disabled="true" @tap="clickInput('size')"
placeholder="请输入尺码"
style="display: flex;height: 80rpx;width: 200rpx;line-height: 80rpx;padding-left: 20rpx;border: 1px solid #eee;">
</view>
</view>
@ -151,15 +173,18 @@
<text>请输入{{name=='productSn'?'货号':name=='productName'?'商品名称':name=='price'?'价格':name=='productCount'?'数量':name=='color'?'颜色':name=='size'?'尺码':''}}</text>
</view>
<view style="height: 100rpx;">
<view style="padding-left: 40rpx;display: flex;height: 80rpx;width: 90%;line-height: 80rpx;margin: 20rpx auto;">
<view
style="padding-left: 40rpx;display: flex;height: 80rpx;width: 90%;line-height: 80rpx;margin: 20rpx auto;">
<text style="display:inline-block;width:100rpx;font-size:22rpx;">
{{name=='productSn'?'货号':name=='productName'?'商品名称':name=='price'?'价格':name=='productCount'?'数量':name=='color'?'颜色':name=='size'?'尺码':''}}
</text>
<input v-model="nameText" ref="inputText" :focus="focus" type="text" placeholder="请输入" style="display: flex;height: 80rpx;width: 75%;line-height: 80rpx;padding-left: 20rpx;border: 1px solid #eee;">
<input v-model="nameText" ref="inputText" :focus="focus" type="text" placeholder="请输入"
style="display: flex;height: 80rpx;width: 75%;line-height: 80rpx;padding-left: 20rpx;border: 1px solid #eee;">
</view>
</view>
<view class="popup-pay-container" @tap="shurukuang" style="position: absolute;bottom: 10px;left: 5%;">
<view class="popup-pay-container" @tap="shurukuang"
style="position: absolute;bottom: 10px;left: 5%;">
确认
</view>
</view>
@ -167,10 +192,14 @@
</view>
</uni-popup>
<view v-if="isTake" style="position: fixed;width: 100%;height: 100%;z-index: 100;top: 0;">
<camera device-position="back" output-dimension='max' @initdone='showBtn' flash="off" style="width: 100%; height: 100%;"></camera>
<camera device-position="back" output-dimension='max' @initdone='showBtn' flash="off"
style="width: 100%; height: 100%;"></camera>
<view style="width: 100%;height: 120rpx;position: fixed;bottom:200rpx;" v-if="isShow == true">
<view @tap="takePhoto" style="width: 120rpx;height: 120rpx;border-radius: 120rpx;background: #fff;margin: 0 auto;border: 2px solid #eee;">
<view style="width: 116rpx;height: 116rpx;border-radius: 116rpx;background: #fff;margin: 0 auto;border: 1px solid #fff;"></view>
<view @tap="takePhoto"
style="width: 120rpx;height: 120rpx;border-radius: 120rpx;background: #fff;margin: 0 auto;border: 2px solid #eee;">
<view
style="width: 116rpx;height: 116rpx;border-radius: 116rpx;background: #fff;margin: 0 auto;border: 1px solid #fff;">
</view>
</view>
<view @tap="isTake = false" style="position: absolute;top: 20rpx;left: 100rpx;">
<uni-icons type="close" color="#777" size="40"></uni-icons>
@ -214,7 +243,8 @@
scope: 'scope.writePhotosAlbum',
success() {
},fail(){
},
fail() {
this.tui.toast("您未授权,AI入库功能可能会出现错误")
}
})
@ -427,7 +457,8 @@
camera: 'back',
success(res) {
that.upLoadFile(res.tempFiles[0].tempFilePath)
},fail(){
},
fail() {
uni.hideLoading();
}
})
@ -437,7 +468,8 @@
success() {
that.isTake = true
uni.hideLoading();
},fail(){
},
fail() {
that.tui.toast("您未授权,AI入库功能可能会出现错误")
}
})
@ -448,7 +480,8 @@
sourceType: ['album'],
success(res1) {
that.upLoadFile(res1.tempFiles[0].tempFilePath)
},fail(){
},
fail() {
uni.hideLoading();
}
})
@ -469,7 +502,8 @@
ttt.cameraUpload()
}
});
},fail(err){
},
fail(err) {
that.isTake = false
}
});
@ -518,11 +552,12 @@
success(res1) {
that.isTake = false
that.upLoadFile(res1.tempFiles[0].tempFilePath)
},fail(){
},
fail() {
that.isTake = false
uni.hideLoading();
},complete(res){
}
},
complete(res) {}
})
},
async upLoadFile(path) {
@ -939,6 +974,7 @@
transform: rotate(360deg);
}
}
.popup-photo {
height: 110rpx;
line-height: 110rpx;
@ -947,6 +983,7 @@
font-weight: 800;
border-bottom: 1px solid #eee;
}
.popup-pay-content {
align-items: center;
justify-content: center;
@ -958,6 +995,7 @@
overflow: hidden;
background-color: #fff;
}
.popup-pay-title {
font-size: 30rpx;
font-weight: bold;
@ -966,6 +1004,7 @@
border-bottom: 1px solid #eee;
padding-bottom: 20rpx;
}
.popup-pay-container {
margin: 40rpx auto 0;
height: 100rpx;
@ -978,10 +1017,12 @@
color: #fff;
width: 90%;
}
.checked {
background: #60F3FF;
color: #fff !important;
}
.content-fur {
border-bottom: 1px solid #eee;
display: flex;
@ -1000,4 +1041,27 @@
color: #777;
margin: 20rpx 0 0 20rpx;
}
.popup-pay-shili {
height: 750rpx;
margin-top: 550rpx;
z-index: 99;
background: #fff;
border-top: 1px solid #eee;
}
@media screen and (min-width: 470px) {
/* 适配宽度为375px及以上的屏幕 */
.popup-pay-content {
height: 1000rpx;
}
.popup-pay-shili{
height: 750rpx;
margin-top: 260rpx;
z-index: 99;
background: #fff;
border-top: 1px solid #eee;
}
}
</style>

28
package1/AI/voiceInventory.vue

@ -4147,4 +4147,32 @@
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
@media screen and (min-width: 470px) {
/* 适配宽度为375px及以上的屏幕 */
.shop-popup-content {
height: 900rpx;
}
.voice-popup-content{
align-items: center;
justify-content: center;
padding: 15px;
width: 400rpx;
border-radius: 10px;
height: 500rpx;
background-color: #fff;
}
.voice-popup-container textarea{
height: 200rpx !important;
}
.voice-btn{
position: absolute;
bottom: -190rpx;
left: 30%;
width: 130rpx;
height: 130rpx;
background: #eee;
border-radius: 50%;
}
}
</style>

37
package1/inventory/gategory.vue

@ -8,12 +8,9 @@
<li v-for="(item, index) in indexList" :key="index" @tap="clickList(item)">
<view class="name">
<text>{{item.categoryName}}</text>
<u-icon name="edit-pen-fill" size="22" @tap.stop="inputDialogToggle('edit', item)"></u-icon>
</view>
<view class="bj-btn" @tap.stop="inputDialogToggle('edit', item)">
<u-icon name="edit-pen-fill" size="22"></u-icon>
</view>
<!-- <button @tap.stop="goGategoryLow(item.id)">编辑规格</button> -->
<button class="bj-btn" @tap.stop="goGategoryLow(item.id)">编辑规格</button>
</li>
</ul>
</view>
@ -50,12 +47,12 @@
style="height:40rpx;line-height: 40rpx;position: absolute !important;bottom:0;right: 30rpx;"></uni-icons>
</view>
<view class="add-popup-container">
<!-- <view>
<view>
<text style="color:red;font-size:22rpx;">*您可以点击默认项快捷添加分类,如没有想要的快捷项,可以手动输入</text>
</view> -->
</view>
<input type="text" v-model="typeText" style="width: 100%;border: 1px solid #eee;height: 80rpx;padding-left: 20rpx;margin:20rpx 0;font-size: 25rpx;line-height: 80rpx;"
placeholder="请输入分类名称">
<!-- <ul>
<ul>
<li v-for="(item,index) in defaultList" :key="index">
<view class="title-fur">
<view class="name">{{item.name}}</view>
@ -67,7 +64,7 @@
@tap.stop="addMultipleType(item,item1.value,index1)">{{item1.value}}</view>
</view>
</li>
</ul> -->
</ul>
<view class="add-popup-bottom">
<view class="add-popup-btn" @tap="dialogInputConfirm(typeText)">确认</view>
</view>
@ -76,7 +73,7 @@
</uni-popup>
<!-- 查看商品库存弹出层 -->
<uni-popup ref="carPopup" background-color="#fff">
<view class="popup-content" style="height:auto !important;max-height: 1000rpx;overflow: scroll;">
<view class="popup-content" style="height:auto !important;">
<view style="font-size: 36rpx;font-weight: bold;text-align: center;">提示</view>
<view v-if="goodsList !=''"
style="width:100%;font-weight:bold;text-align: center;font-size: 28rpx;margin: 20rpx 0;">
@ -190,13 +187,13 @@
value:'XL码',
checked:false,
},{
value:'2XL码',
value:'XXL码',
checked:false,
},{
value:'3XL码',
value:'XXXL码',
checked:false,
},{
value:'4XL码',
value:'XXXXL码',
checked:false,
},{
value:'25码',
@ -308,7 +305,7 @@
this.inputVal = '';
this.isOpenId = item;
this.dialogTit = '输入分类名'
this.$refs.addTypeDialog.open('center')
this.$refs.addTypeDialog.open('bottom')
}
},
@ -543,9 +540,12 @@
},
//选择多个规格保存
addMultipleType(item,item1,index){
item.list[index].checked = !item.list[index].checked
var list = []
if(this.multipleList == ''){
list.push(item.list[index])
var data = {
attributeName:item.name,
@ -687,9 +687,10 @@
}
.bj-btn {
width: 80rpx;
width: 120rpx;
height: 60rpx;
font-size: 26rpx;
background: red;
margin: 20rpx 0;
float: left;
padding: 0;
@ -697,7 +698,7 @@
}
.name {
width: 86%;
width: 75%;
float: left;
display: flex;
}
@ -770,8 +771,8 @@
align-items: center;
justify-content: center;
padding: 15px;
width: 500rpx;
height: 350rpx;
width: 100%;
height: 1300rpx;
background-color: #fff;
}

68
pages/billing/changeGoods1.vue

@ -1,8 +1,8 @@
<template>
<view>
<view class="title-box" style="height:8%;">
<uni-search-bar class="uni-mt-10" radius="5" placeholder="商品名称/货号/供应商" cancelButton="none"
@confirm="search" @blur="search" @clear="clearSearch" />
<uni-search-bar class="uni-mt-10" radius="5" placeholder="商品名称/货号/供应商" cancelButton="none" @confirm="search"
@blur="search" @clear="clearSearch" />
</view>
<view class="content-left" style="height: 100%;float: left;position: fixed;top: 8%;">
<view class="left-box" v-if="gateType == ''" v-for="(item, index) in indexList" :key="index"
@ -97,7 +97,8 @@
<view class="popup-content">
<view class="popup-title">
<view class="popup-title-left">
<img class="img-radius" :src="goodsDetail.productPicture" alt="" v-if="goodsDetail.productPicture">
<img class="img-radius" :src="goodsDetail.productPicture" alt=""
v-if="goodsDetail.productPicture">
<view class="noPic" v-else>暂无图片</view>
</view>
<view class="popup-title-right">
@ -107,7 +108,8 @@
</view>
</view>
<view class="popup-container" style="position: relative;">
<view @tap="saveCheck" style="position: absolute;top: 10rpx;right: 20rpx;color: #088FEB;text-decoration: underline;">
<view @tap="saveCheck"
style="position: absolute;top: 10rpx;right: 20rpx;color: #088FEB;text-decoration: underline;">
保存已选
</view>
<ul style="border-top:20rpx;">
@ -130,19 +132,24 @@
<view style="padding-bottom:160rpx;">
<view class="checkList" v-if="temporaryList != ''">
<view class="checkList-box" style="width: 69.5%;">
<text style="width: 300rpx;display: inline-block;font-size: 30rpx;font-weight: bold;padding-left: 40rpx;">
<text
style="width: 300rpx;display: inline-block;font-size: 30rpx;font-weight: bold;padding-left: 40rpx;">
规格
</text>
<text style="font-size: 30rpx;color: #000;font-weight: bold;width: 110rpx;display: inline-block;text-align: right;">
<text
style="font-size: 30rpx;color: #000;font-weight: bold;width: 110rpx;display: inline-block;text-align: right;">
库存
</text>
</view>
<view class="zuni-numbox">
<view @tap="minusNum" class="zuni-numbox__minus zuni-numbox-btns" style="background: #f5f5f5;">
<view @tap="minusNum" class="zuni-numbox__minus zuni-numbox-btns"
style="background: #f5f5f5;">
<text class="zuni-numbox--text">-</text>
</view>
<input v-model="allChangeNum" @tap="obtainPrice($event,'zongjishu')" disabled class="zuni-numbox__value" type="number" />
<view @tap="plusNum" class="zuni-numbox__plus zuni-numbox-btns" style="background: #f5f5f5;">
<input v-model="allChangeNum" @tap="obtainPrice($event,'zongjishu')" disabled
class="zuni-numbox__value" type="number" />
<view @tap="plusNum" class="zuni-numbox__plus zuni-numbox-btns"
style="background: #f5f5f5;">
<text class="zuni-numbox--text">+</text>
</view>
</view>
@ -154,17 +161,21 @@
</view>
<view class="checkList-box">
<text style="width: 250rpx;display: inline-block;">{{item.name}}</text>
<text style="color:#777;font-size: 12px;width: 120rpx;display: inline-block;text-align: center;">
<text
style="color:#777;font-size: 12px;width: 120rpx;display: inline-block;text-align: center;">
{{item.productNum==null?'无库存':item.productNum}}
</text>
</view>
<!-- <uni-number-box min="-10000" max="100000" v-model="item.productCount" @focus="obtainPrice($event,'danjishu',index)" @blur="numChange($event,index)" /> -->
<view class="zuni-numbox">
<view @tap="oneMinusNum(index)" class="zuni-numbox__minus zuni-numbox-btns" style="background: #f5f5f5;">
<view @tap="oneMinusNum(index)" class="zuni-numbox__minus zuni-numbox-btns"
style="background: #f5f5f5;">
<text class="zuni-numbox--text">-</text>
</view>
<input v-model="item.productCount" @tap="obtainPrice($event,'danjishu',index)" disabled class="zuni-numbox__value" type="number" />
<view @tap="onePlusNum(index)" class="zuni-numbox__plus zuni-numbox-btns" style="background: #f5f5f5;">
<input v-model="item.productCount" @tap="obtainPrice($event,'danjishu',index)"
disabled class="zuni-numbox__value" type="number" />
<view @tap="onePlusNum(index)" class="zuni-numbox__plus zuni-numbox-btns"
style="background: #f5f5f5;">
<text class="zuni-numbox--text">+</text>
</view>
</view>
@ -194,7 +205,8 @@
<view>
<text style="color:red;font-size:22rpx;">*您的此款商品只有一个“{{oneGoodsName}}”,可直接输入拿货数量即可</text>
</view>
<input type="idcard" v-model="goodsNum" @tap="show=true" style="width: 100%;border: 1px solid #eee;height: 80rpx;padding-left: 20rpx;margin:20rpx 0;font-size: 25rpx;line-height: 80rpx;"
<input type="idcard" v-model="goodsNum" @tap="show=true"
style="width: 100%;border: 1px solid #eee;height: 80rpx;padding-left: 20rpx;margin:20rpx 0;font-size: 25rpx;line-height: 80rpx;"
placeholder="请输入此商品拿货数量" disabled>
<view class="add-popup-bottom">
<view class="add-popup-btn" @tap="oneGoodsToCarList">确认</view>
@ -234,11 +246,14 @@
<!-- <uni-number-box min="-10000" max="100000" v-model="item1.productCount"
@focus="obtainPrice($event,'chejishu',index,index1)" @blur="chenumChange($event,index,index1)" /> -->
<view class="zuni-numbox">
<view @tap="mapMinusNum(index,index1)" class="zuni-numbox__minus zuni-numbox-btns" style="background: #f5f5f5;">
<view @tap="mapMinusNum(index,index1)" class="zuni-numbox__minus zuni-numbox-btns"
style="background: #f5f5f5;">
<text class="zuni-numbox--text">-</text>
</view>
<input v-model="item1.productCount" @tap="obtainPrice($event,'chejishu',index,index1)" disabled class="zuni-numbox__value" type="number" />
<view @tap="mapPlusNum(index,index1)" class="zuni-numbox__plus zuni-numbox-btns" style="background: #f5f5f5;">
<input v-model="item1.productCount" @tap="obtainPrice($event,'chejishu',index,index1)"
disabled class="zuni-numbox__value" type="number" />
<view @tap="mapPlusNum(index,index1)" class="zuni-numbox__plus zuni-numbox-btns"
style="background: #f5f5f5;">
<text class="zuni-numbox--text">+</text>
</view>
</view>
@ -256,7 +271,8 @@
</view>
</view>
</uni-popup>
<u-keyboard ref="uKeyboard" :overlay='false' @confirm='keyboardConfirm' @cancel="keyCancel" @change="valChange" :defaultText="keyboardNum" @close="keyCancel" @backspace="backspace" mode="card" :show="show"></u-keyboard>
<u-keyboard ref="uKeyboard" :overlay='false' @confirm='keyboardConfirm' @cancel="keyCancel" @change="valChange"
:defaultText="keyboardNum" @close="keyCancel" @backspace="backspace" mode="card" :show="show"></u-keyboard>
</view>
</template>
@ -525,7 +541,8 @@
title: '加载中...'
})
this.goodsDetail.attributeList[index].isChecked = !this.goodsDetail.attributeList[index].isChecked;
this.goodsDetail.attributeList[index].value[index1].isChecked = !this.goodsDetail.attributeList[index].value[index1].isChecked;
this.goodsDetail.attributeList[index].value[index1].isChecked = !this.goodsDetail.attributeList[index]
.value[index1].isChecked;
this.evalue = []
var value = []
for (let i = 0, data = this.goodsDetail.attributeList[0].value; i < data.length; i++) {
@ -1268,6 +1285,7 @@
.bottom-right {
width: 85%;
padding-top: 20rpx;
.bottom-btn {
width: 85%;
line-height: 35px;
@ -1520,6 +1538,7 @@
left: 0;
background: rgba(0, 0, 0, 0.1);
}
.noPic {
width: 150rpx;
height: 150rpx;
@ -1529,6 +1548,7 @@
color: #777;
background: #eee;
}
.kucun {
background: url(https://jewel-shop.oss-cn-beijing.aliyuncs.com/9428d632981647728829da336a1d24b3.png) no-repeat;
width: 50rpx;
@ -1577,6 +1597,7 @@
color: #c0c0c0 !important;
cursor: not-allowed;
}
.add-popup-content {
align-items: center;
justify-content: center;
@ -1610,7 +1631,16 @@
text-align: center;
background: linear-gradient(90deg, #60F3FF, #088FEB);
}
.right-box:last-child {
margin-bottom: 100rpx;
}
@media screen and (min-width: 470px) {
/* 适配宽度为375px及以上的屏幕 */
.popup-content {
height: 900rpx;
}
}
</style>

8
pages/inventory/changeGoods1.vue

@ -1441,4 +1441,12 @@
color: #c0c0c0 !important;
cursor: not-allowed;
}
@media screen and (min-width: 470px) {
/* 适配宽度为375px及以上的屏幕 */
.popup-content {
height: 900rpx;
}
}
</style>

5
pages/inventory/goodsList1.vue

@ -5494,4 +5494,9 @@
padding-left: 20rpx;
border-bottom: 1px solid #088FEB;
}
@media screen and (min-width: 470px) {
.shop-popup-content {
height: 900rpx;
}
}
</style>

12
pages/inventory/inventory.vue

@ -751,4 +751,16 @@
font-weight: 800;
border-bottom: 1px solid #eee;
}
@media screen and (min-width: 470px) {
/* 适配宽度为375px及以上的屏幕 */
.content-left {
height: 75% !important;
float: left;
position: fixed;
top: 25% !important;
}
}
</style>
Loading…
Cancel
Save