@@ -1,5 +1,5 @@
<template>
- <u-mask class="commonModal" :show="isShow" :mask-click-able="false" z-index="999999">
+ <u-mask class="commonModal" :show="isShow" :mask-click-able="false" z-index="999998">
<view class="modal-con">
<u-icon v-if="isClose" @click="isShow=false" class="close-icon" name="close-circle" size="40" color="#999"></u-icon>
<view class="modal-title">{{title}}</view>
@@ -366,7 +366,7 @@
})
// 添加 产品总库存为0添加为急件时的情况
- if(listArr.length == 1 && chooseList.length == 1 && chooseList[0].oosFlag==1){
+ if(chooseList.length == 1 && chooseList[0].oosFlag==1){
_this.$nextTick(() => {
_this.listData[listInd[0]].saleQty = 1 // 非0即可,用于判断是否显示添加产品按钮
@@ -133,7 +133,7 @@
handleCommon(){
salesDetailDel({ id: this.infoData.id }).then(res => {
if(res.status == 200){
- this.listData.splice(this.infoData.no, 1)
+ this.getList(1) // 已选产品列表
this.commonModal = false
this.$emit('delete', this.infoData)
}