|
|
|
@ -388,9 +388,9 @@ |
|
|
|
<view class="shop-checkList" v-if="temporaryList != ''"> |
|
|
|
<view class="shop-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: 69%;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: 25%;display: inline-block;text-align: center;">库存</text> |
|
|
|
</view> |
|
|
|
<view class="zuni-numbox"> |
|
|
|
<view @tap="minusNum" class="zuni-numbox__minus zuni-numbox-btns" |
|
|
|
@ -412,8 +412,8 @@ |
|
|
|
<uni-icons color="red" type="minus" size="26"></uni-icons> |
|
|
|
</view> |
|
|
|
<view class="shop-checkList-box"> |
|
|
|
<text style="width: 300rpx;display: inline-block;">{{item.name}}</text> |
|
|
|
<text style="color:#777;font-size: 12px;color:red" |
|
|
|
<text style="width: 69%;display: inline-block;">{{item.name}}</text> |
|
|
|
<text style="color:#777;font-size: 12px;color:red;width: 25%;display: inline-block;" |
|
|
|
v-if="item.productNum == null || item.productNum === '' || item.productNum == undefined"> |
|
|
|
无库存 |
|
|
|
</text> |
|
|
|
@ -813,6 +813,7 @@ |
|
|
|
snList: [], |
|
|
|
carList1: [], |
|
|
|
zhuImg: '', |
|
|
|
zhuImgList: [], |
|
|
|
productNum: null, |
|
|
|
prefixRule: '', |
|
|
|
numRule: '', |
|
|
|
@ -1376,10 +1377,20 @@ |
|
|
|
} |
|
|
|
}) |
|
|
|
} else { |
|
|
|
this.addPageGoods(this.zhuImg, res1.result) |
|
|
|
if(that.zhuImgList != [] && that.zhuImgList.length > 0){ |
|
|
|
for (let i = 0; i < that.zhuImgList.length; i++) { |
|
|
|
that.upLoadFile(that.zhuImgList[i], i + 1) |
|
|
|
} |
|
|
|
setTimeout(res => { |
|
|
|
that.zhuImgList = [] |
|
|
|
}, 2000) |
|
|
|
|
|
|
|
}else{ |
|
|
|
this.addPageGoods(this.zhuImg, res1.result) |
|
|
|
} |
|
|
|
that.getSnList() |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
this.tui.toast(res.message) |
|
|
|
} |
|
|
|
@ -7054,6 +7065,7 @@ |
|
|
|
} |
|
|
|
for (let i = 0; i < res.tempFiles.length; i++) { |
|
|
|
that.upLoadFile(res.tempFiles[i].tempFilePath, i + 1) |
|
|
|
that.zhuImgList.push(res.tempFiles[i].tempFilePath) |
|
|
|
} |
|
|
|
}, |
|
|
|
fail(err) { |
|
|
|
|