diff --git a/package1/.DS_Store b/package1/.DS_Store index 6f09f97..a878e0c 100644 Binary files a/package1/.DS_Store and b/package1/.DS_Store differ diff --git a/package1/AI/.DS_Store b/package1/AI/.DS_Store new file mode 100644 index 0000000..5ea06e9 Binary files /dev/null and b/package1/AI/.DS_Store differ diff --git a/package1/AI/AIHangOrderList.vue b/package1/AI/AIHangOrderList.vue new file mode 100644 index 0000000..3c61a62 --- /dev/null +++ b/package1/AI/AIHangOrderList.vue @@ -0,0 +1,323 @@ + + + + + \ No newline at end of file diff --git a/package1/AI/AIInventoryList.vue b/package1/AI/AIInventoryList.vue new file mode 100644 index 0000000..0dd081d --- /dev/null +++ b/package1/AI/AIInventoryList.vue @@ -0,0 +1,345 @@ + + + + + \ No newline at end of file diff --git a/package1/AI/AIPicture.vue b/package1/AI/AIPicture.vue new file mode 100644 index 0000000..a33c9b9 --- /dev/null +++ b/package1/AI/AIPicture.vue @@ -0,0 +1,485 @@ + + + + + \ No newline at end of file diff --git a/package1/AI/AiChat.vue b/package1/AI/AiChat.vue new file mode 100644 index 0000000..02409e3 --- /dev/null +++ b/package1/AI/AiChat.vue @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/package1/AI/addAiList.vue b/package1/AI/addAiList.vue new file mode 100644 index 0000000..640b9dc --- /dev/null +++ b/package1/AI/addAiList.vue @@ -0,0 +1,44 @@ + + + + + \ No newline at end of file diff --git a/package1/cropper/.DS_Store b/package1/cropper/.DS_Store new file mode 100644 index 0000000..55cf749 Binary files /dev/null and b/package1/cropper/.DS_Store differ diff --git a/package1/cropper/cropper.vue b/package1/cropper/cropper.vue new file mode 100644 index 0000000..2634012 --- /dev/null +++ b/package1/cropper/cropper.vue @@ -0,0 +1,302 @@ + + + + + \ No newline at end of file diff --git a/package1/inventory/.DS_Store b/package1/inventory/.DS_Store new file mode 100644 index 0000000..00f92ad Binary files /dev/null and b/package1/inventory/.DS_Store differ diff --git a/package1/inventory/addGoods.vue b/package1/inventory/addGoods.vue new file mode 100644 index 0000000..0d9f98d --- /dev/null +++ b/package1/inventory/addGoods.vue @@ -0,0 +1,355 @@ + + + + + + \ No newline at end of file diff --git a/package1/inventory/batchPrint.vue b/package1/inventory/batchPrint.vue new file mode 100644 index 0000000..72690d4 --- /dev/null +++ b/package1/inventory/batchPrint.vue @@ -0,0 +1,675 @@ + + + + + \ No newline at end of file diff --git a/package1/inventory/getProductIdToList.vue b/package1/inventory/getProductIdToList.vue new file mode 100644 index 0000000..d94d057 --- /dev/null +++ b/package1/inventory/getProductIdToList.vue @@ -0,0 +1,313 @@ + + + + + \ No newline at end of file diff --git a/package1/inventory/inventoryWarn.vue b/package1/inventory/inventoryWarn.vue new file mode 100644 index 0000000..c1efd7c --- /dev/null +++ b/package1/inventory/inventoryWarn.vue @@ -0,0 +1,112 @@ + + + + + \ No newline at end of file diff --git a/package1/stock/addStock.vue b/package1/stock/addStock.vue index e941b8a..af24b3d 100644 --- a/package1/stock/addStock.vue +++ b/package1/stock/addStock.vue @@ -4,7 +4,7 @@ - + @@ -130,7 +130,8 @@ type: '', productId:'', pdList:[], - stockList:[] + stockList:[], + height:0 } }, filters: { @@ -198,7 +199,8 @@ } console.log(this.carList) }, - onLoad() { + onLoad() { + this.height = wx.getSystemInfoSync().windowHeight this.getGategoryList() this.storageType = uni.getStorageSync('type') }, @@ -360,21 +362,6 @@ this.tui.toast(res.message) } }).catch((res) => {}) - // uni.showModal({ - // title: "提示", - // content: "确定删除此条商品吗?", - // success: function(res) { - // if (res.confirm) { - // for (let i = 0; i < that.carList.length; i++) { - // if (that.carList[i].id == item.id) { - // that.carList.splice(i, 1) - // } - // } - // that.carType = that.stockList.length - // } - // that.$forceUpdate() - // } - // }) } } } @@ -503,7 +490,8 @@ .content-left { width: 170rpx; background: #eee; - height: 100%; + height: 100%; + overflow: scroll; } .left-box { @@ -531,8 +519,7 @@ .content-right { flex: 1; - overflow-y: scroll; - margin-bottom: 120rpx; + overflow-y: scroll; } .right-box { @@ -665,6 +652,7 @@ line-height: 140rpx; color: #777; background: #eee; + margin-top:20rpx; } button { color: #ffffff !important; diff --git a/package1/stock/addStockList.vue b/package1/stock/addStockList.vue index 8df07f4..0c61ca0 100644 --- a/package1/stock/addStockList.vue +++ b/package1/stock/addStockList.vue @@ -15,15 +15,18 @@ - + + style="width: 140rpx;height: 140rpx;margin: 30rpx 0 0 30rpx;" v-if="item.productPicture"> + 暂无图片 品名:{{item.productName}} - 货号:{{item.productSn}} + 货号:{{item.productSn}} + + + - @@ -218,23 +221,34 @@ }) }, //删除整条商品 - delShop(id) { + delShop(item) { var that = this; + console.log(item) + let dataList = [] + var itemData; + itemData = { + checkStockId:uni.getStorageSync('stockId'), + productId: item.productId, + productName:item.productName, + productPicture:item.productPicture, + productSn:item.productSn, + checkStockAttributeVos:[] + } + dataList.push(itemData) uni.showModal({ title: "提示", content: "确定删除此条商品吗?", success: function(res) { - if(res.confirm){ - that.tui.request("/app/checkStockDetail/deleteCheckStockDetail", "POST", { - categoryId: id - }, false, true).then((res1) => { - if (res1.code == 200) { - that.tui.toast("删除成功") + if (res.confirm) { + this.tui.request("/app/checkStockDetail/addCheckStockDetail", "POST", dataList, false, false).then((res) => { + if (res.code == 200) { + this.getStockList() } else { - that.tui.toast(res.message) + this.tui.toast(res.message) } }).catch((res) => {}) } + } }) @@ -591,14 +605,14 @@ } } .noPic{ - border-radius: 10px; width: 150rpx; height: 150rpx; - // margin: 30rpx 0 0 30rpx; + border-radius: 10px; text-align: center; line-height: 140rpx; color: #777; background: #eee; + margin-top:20rpx; } .tui-order-content { width: 100%; diff --git a/package1/stock/goodsStock.vue b/package1/stock/goodsStock.vue index e9dca48..d7d6bcb 100644 --- a/package1/stock/goodsStock.vue +++ b/package1/stock/goodsStock.vue @@ -9,7 +9,7 @@ - 盘点时间:{{ item.creatTime == null ?'暂无':item.creatTime}} + {{ item.createTime == null ?'暂无':item.createTime}} 盘点人:{{item.createByName}} 盘点状态:盘点中已完成 @@ -69,8 +69,26 @@ }) + // this.tui.request("/purchaseOcrPicture/multiRoundConversationCall", "POST", { + // picturePath:'https://jewel-shop.oss-cn-beijing.aliyuncs.com/c6b429d82cc445dc836ea1e6d7a5f6f2.jpg', + // secondQuestionMsg:'', + // firstQuestionMsg:'这是一个入库小票,JSON格式为:{ "productSn": "货号", "productName": "商品名称","price": "单价", "productCount": "数量", "attributeList": "{"颜色":"红色","尺码":"均码"}" }, 请帮我返回46条不同商品或规格的json数据' + // }, false, true).then((res) => { + // this.status = 'nomore'; + // if (res.code == 200) { + // if (this.pages == 1) { + // this.stockList = res.result.records + // } else { + // this.stockList = [...this.stockList, ...res.result.records] + // } + // this.totalPages = res.result.pages + // } else { + // this.tui.toast(res.message) + // } + + // }) // this.tui.request("/purchaseOcrPicture/invoicingAi", "POST", { - // questionMsg:'货号87654321,S码黑色30件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654322,S码粉红色40件,M码儿,玫瑰色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654323,S码奶奶灰50件,M码儿,绿色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654324,S码卡其色60件,M码儿,王浩伟色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654325,S码天空蓝70件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654326,S码所有颜色80件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654327,S码黑色30件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654332,S码粉红色40件,M码儿,玫瑰色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654333,S码奶奶灰50件,M码儿,绿色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654334,S码卡其色60件,M码儿,王浩伟色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654335,S码天空蓝70件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654336,S码所有颜色80件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654337,S码黑色30件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654338,S码粉红色40件,M码儿,玫瑰色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654339,S码奶奶灰50件,M码儿,绿色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654340,S码卡其色60件,M码儿,王浩伟色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654341,S码天空蓝70件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654342,S码天空蓝70件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654343,S码天空蓝70件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654344,S码天空蓝70件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + " 这是客户要货信息,请帮我把所有内容封装为json,必须一次性列出所有json数据,json格式为:[{ "productSn": "货号", "attributeList": "[{"颜色":"红色","尺码":"均码","productCount": "数量"}]" }]' + // questionMsg:'货号87654335,S码天空蓝70件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654336,S码所有颜色80件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654337,S码黑色30件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654338,S码粉红色40件,M码儿,玫瑰色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654339,S码奶奶灰50件,M码儿,绿色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654340,S码卡其色60件,M码儿,王浩伟色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654341,S码天空蓝70件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654342,S码天空蓝70件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654343,S码天空蓝70件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + "货号87654344,S码天空蓝70件,M码儿,白色50件儿,XL码儿,天蓝色50件儿。\n" + " 这是客户要货信息,json格式为:[{ "productSn": "货号", "attributeList": "[{"颜色":"红色","尺码":"均码","productCount": "数量"}]" }],请帮我返回10条不同商品或规格的json数据' // }, false, true).then((res) => { // this.status = 'nomore'; // if (res.code == 200) { @@ -183,7 +201,7 @@ background: #5fd9ee; margin-top: 25rpx; margin-right: 20rpx; - padding: 0; + padding: 0; } } \ No newline at end of file