diff --git a/package1/AI/AIInventoryList.vue b/package1/AI/AIInventoryList.vue index a683b76..8ec4da8 100644 --- a/package1/AI/AIInventoryList.vue +++ b/package1/AI/AIInventoryList.vue @@ -43,7 +43,10 @@ 识别中... 识别完成 识别失败 - 去入库 + 去入库 + + 删除 + @@ -172,6 +175,34 @@ uni.navigateTo({ url: '/package1/AI/AIPicture' }) + }, + //删除单条入库单 + delItem(id){ + let that = this; + uni.showModal({ + title: "提示", + content: "确定要删除此条AI识别记录吗?", + success: function(res2) { + if (res2.confirm) { + that.tui.request("/app/purchase/delById", "POST", { + id:id + }, false, false).then((res) => { + if(res.code == 200){ + that.pageNum = 1 + that.aiList = [] + that.getList() + setTimeout(res => { + that.tui.toast("删除成功") + }, 500) + }else{ + that.tui.toast(res.message) + } + }).catch((res) => { + that.tui.toast(res.message) + }) + } + } + }) } } } diff --git a/package1/inventory/gategory.vue b/package1/inventory/gategory.vue index b255eb4..1eac875 100644 --- a/package1/inventory/gategory.vue +++ b/package1/inventory/gategory.vue @@ -65,7 +65,7 @@ 提示 - {{goodsList[0].productName}}商品有以下库存,确认继续删除吗? + “{{goodsList[0].productName}}”分类下有以下库存,确认继续删除吗? @@ -690,7 +690,7 @@ padding: 15px; height: 1200rpx; background-color: #fff; - margin-bottom: 30rpx; + margin-bottom: 100rpx; overflow: scroll; } diff --git a/package1/other/tutorialDetail.vue b/package1/other/tutorialDetail.vue deleted file mode 100644 index 5ef3177..0000000 --- a/package1/other/tutorialDetail.vue +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/package1/other/tutorialList.vue b/package1/other/tutorialList.vue index 27910bc..543939b 100644 --- a/package1/other/tutorialList.vue +++ b/package1/other/tutorialList.vue @@ -1,13 +1,8 @@ @@ -15,161 +10,27 @@ - - \ No newline at end of file