From 6287a0d3e38051c6ba7d931ccb9be4af5e10134f Mon Sep 17 00:00:00 2001
From: wangfukang <15630117759@163.com>
Date: Sat, 25 May 2024 12:12:41 +0800
Subject: [PATCH] 11
---
pages/billing/addUser.vue | 25 +-
pages/index/index.vue | 10 +-
pages/inventory/goodsList1.vue | 4076 +++++++++++++++++---------------
pages/inventory/inventory.vue | 36 +-
pages/login/login.vue | 3 +
5 files changed, 2197 insertions(+), 1953 deletions(-)
diff --git a/pages/billing/addUser.vue b/pages/billing/addUser.vue
index e212f76..0addf67 100644
--- a/pages/billing/addUser.vue
+++ b/pages/billing/addUser.vue
@@ -117,7 +117,17 @@
this.formData.consigneeMobile = data.consigneeMobile || data.phone
this.formData.consigneeName = data.consigneeName || data.name
}
-
+
+ },
+ onShow(){
+ uni.authorize({
+ scope: 'scope.userLocation',
+ success() {
+
+ },fail(){
+ this.tui.toast("您未授权,AI入库功能可能会出现错误")
+ }
+ })
},
methods: {
//获取手机通讯录
@@ -210,10 +220,15 @@
},
openPicker() {
let that = this;
- uni.chooseLocation({
- success: function(res) {
- if (res.name != '') {
- let aaa = getArea(res.address)
+ uni.chooseLocation({
+ latitude:'38.335974',
+ longitude:'116.805783',
+ success: function(res) {
+ console.log('11111',res)
+ if (res.name != '') {
+
+ let aaa = getArea(res.address)
+ console.log('2222',aaa)
that.formData.province = aaa.province
that.formData.city = aaa.city
that.formData.area = aaa.country
diff --git a/pages/index/index.vue b/pages/index/index.vue
index ab7ff03..f0a1eb9 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -26,13 +26,19 @@
推款
+
+
+
+ Ai入库
+
-
+
diff --git a/pages/inventory/goodsList1.vue b/pages/inventory/goodsList1.vue
index d82405c..d30411c 100644
--- a/pages/inventory/goodsList1.vue
+++ b/pages/inventory/goodsList1.vue
@@ -1,55 +1,56 @@
-
-
-
-
-
- 客户
-
-
-
-
-
-
- 销售员
-
-
-
-
-
-
- 扫一扫
-
-
-
- 添加商品
-
-
-
-
-
-
-
-
- AI开单
-
-
-
- 未入库规格不显示
-
-
-
-
-
-
-
+
+
+
+
+
+ 客户
+
+
+
+
+
+
+ 销售员
+
+
+
+
+
+
+ 扫一扫
+
+
+
+ 添加商品
+
+
+
+
+
+
+
+
+ AI开单
+
+
+
+ 未入库规格不显示
+
+
+
+
+
+
+
@@ -64,18 +65,22 @@
供应商:{{value[1].supplierName}}
-
- 改价
-
-
- 添加规格
+
+ 改价
+
+
+ 添加规格
-
+
@@ -98,81 +103,86 @@
数量
-
-
-
-
- 规格
-
-
- 库存
-
-
-
- 数量
-
-
-
-
-
-
-
- {{numData(values[0])[0]}}
-
-
- {{numData(values[0])[1]}}
-
- {{values[1].productNum == null ?'无库存':values[1].productNum}}
-
-
-
+
+
+
+ 规格
+
+
+ 库存
+
+
+
+ 数量
+
+
+
+
+
+
+
+
+ {{numData(values[0])[0]}}
+
+
+ {{numData(values[0])[1]}}
+
+ {{values[1].productNum == null ?'无库存':values[1].productNum}}
+
+
+
+
+
+
+
+
+
+ 选择价格
+
+
+
+
+
+
+
+
+
+ 折扣类型
+
+
+
+
+
+
+
-
-
-
- 选择价格
-
-
-
-
-
-
-
-
-
- 折扣类型
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -246,7 +256,8 @@
选择车号
-
@@ -255,7 +266,8 @@
选择车号
-
@@ -263,8 +275,8 @@
配送方式
-
-
+
@@ -289,8 +301,8 @@
-
-
+
+
@@ -315,13 +327,14 @@
批发价:¥{{wholesalePrice}}
-
+
+
@@ -338,9 +351,9 @@
-
@@ -545,16 +569,18 @@