feat: 商品列表-报损-售罄-库存预警
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item v-for="(item, index) in datas.DialogForm.couponsList" :label="item.title">
|
||||
<el-input-number v-model="item.number" min="1" controls-position="right" placeholder="请输入数量" />
|
||||
<el-button type="" text @click="removegoods(index)">删除</el-button>
|
||||
</el-form-item>
|
||||
</template>
|
||||
</el-form>
|
||||
@@ -96,6 +97,9 @@ onMounted(() => {
|
||||
getList(res)
|
||||
})
|
||||
})
|
||||
function removegoods(index) {
|
||||
datas.DialogForm.couponsList.splice(index, 1)
|
||||
}
|
||||
function selectShopRes(item) {
|
||||
item.forEach(ele => {
|
||||
ele.number = 1
|
||||
|
||||
Reference in New Issue
Block a user