diff --git a/pages/index/addHangOrder.vue b/pages/index/addHangOrder.vue
index f120951..a2206f7 100644
--- a/pages/index/addHangOrder.vue
+++ b/pages/index/addHangOrder.vue
@@ -1,3 +1,4 @@
+
@@ -8,21 +9,41 @@
-
- {{item.categoryName}}
- 张三的订单
- 编辑
- 新增
- 语音备注
-
+
+
+ 张三的订单
+
+ 销售员
+ 2023-10-10 12:01:23
+
+
+
+ 编辑
+ 扫码开单
+ 语音备注
+
+
+
-
- 备注:
+
+ 备注:张三13895968700北京丰台总部基地给张三9折折扣张三13895968700北京丰台总部基地给张三9折折扣张三13895968700北京丰台总部基地给张三9折折扣
-
+
+
+ 女士连衣裙(HD738206579)
+
+
+ 颜色:黑色,尺码:s码 * 2
+ 颜色:黑色,尺码:s码 * 2
+
+
+ 保存
+
+
@@ -31,7 +52,7 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -187,10 +215,10 @@
//扫一扫功能
scanCodeAdd() {
uni.scanCode({
- success: (res) => {
- console.log(typeof(res.result))
- this.toggle('bottom',res.result);
-
+ success: (res) => {
+ console.log(typeof(res.result))
+ this.toggle('bottom', res.result);
+
},
fail: (res) => {
uni.showToast({
@@ -199,32 +227,32 @@
})
}
})
- },
- //弹出商品规格选择
- toggle(type,id) {
- this.type = type
- if(type == 'bottom'){
- this.$refs.shopPopup.open(type)
- this.getById(id);
- }else{
- this.$refs.popup.open(type)
- }
- },
- //临时改价弹窗
- inputDialogToggle() {
- this.$refs.inputDialog.open()
- },
- //通过商品id查询商品详细信息
- getById(id){
- this.tui.request("/app/product/getById", "POST", {
- id:id
- }, false, false).then((res) => {
- if (res.code == 200) {
-
- } else {
- this.tui.toast(res.message)
- }
- }).catch((res) => {})
+ },
+ //弹出商品规格选择
+ toggle(type, id) {
+ this.type = type
+ if (type == 'bottom') {
+ this.$refs.shopPopup.open(type)
+ this.getById(id);
+ } else {
+ this.$refs.popup.open(type)
+ }
+ },
+ //临时改价弹窗
+ inputDialogToggle() {
+ this.$refs.inputDialog.open()
+ },
+ //通过商品id查询商品详细信息
+ getById(id) {
+ this.tui.request("/app/product/getById", "POST", {
+ id: id
+ }, false, false).then((res) => {
+ if (res.code == 200) {
+
+ } else {
+ this.tui.toast(res.message)
+ }
+ }).catch((res) => {})
}
}
}
@@ -251,11 +279,12 @@
.order-list li {
width: 95%;
- height: 100rpx;
- line-height: 100rpx;
+ height: 160rpx;
+ line-height: 80rpx;
font-size: 37rpx;
border-bottom: 0.5px solid #eee;
margin: 0 auto;
+ position: relative;
}
.name {
@@ -263,25 +292,50 @@
float: left;
}
+ .name-date {
+ font-size: 28rpx;
+ }
+
.bj-btn {
width: auto;
/* height: 60rpx; */
font-size: 26rpx;
background: #fff;
margin: 0;
- margin-top: 20rpx;
float: left;
- padding-right: 20rpx;
- line-height: 60rpx;
+ padding-right: 36rpx;
color: blue;
text-decoration: underline;
}
-
+ .save-btn{
+ width: 95%;
+ height: 80rpx;
+ text-align: center;
+ line-height: 80rpx;
+ margin: 0 auto;
+ background: #088FEB;
+ color: #fff;
+ }
.order-collapse-item {
- display: flex;
- text-align: center;
background: #eee;
- height: 110rpx;
+ height: auto;
+ width: 95%;
+ border-radius: 20rpx;
+ margin: 0 auto;
+ padding: 20rpx;
+ }
+
+ .order-notes {
+ height: 100rpx;
+ line-height: 50rpx;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: pre-wrap;
+ text-overflow: -o-ellipsis-lastline;
+ display: -webkit-box; //特别显示模式
+ -webkit-line-clamp: 2; //行数
+ line-clamp: 2;
+ -webkit-box-orient: vertical; //盒子中内容竖直排列
}
.popup-content {
@@ -342,127 +396,133 @@
width: 200rpx;
height: 200rpx;
margin: 0 auto;
- }
-
-
- .shop-popup-content {
- align-items: center;
- justify-content: center;
- padding: 15px;
- height: 1200rpx;
- background-color: #fff;
- }
-
- .shop-popup-title-right-box {
- height: 50rpx;
- line-height: 50rpx;
- }
-
- .shop-popup-title-right {
- width: 400rpx;
- margin-left: 30rpx;
- }
-
- .shop-popup-title-left {
- width: 150rpx;
- height: 150rpx;
- }
-
- .shop-popup-title-left image {
- width: 150rpx;
- height: 150rpx;
-
- }
-
- .shop-popup-title {
- display: flex;
- height: 180rpx;
- border-bottom: 1px solid #eee;
- }
-
- .shop-popup-container {
- width: 95%;
- border-radius: 10upx;
- background: #fff;
- height: auto;
- margin: 20upx auto;
- }
- .shop-title-fur {
- width: 95%;
- height: 70rpx;
- margin: 0 auto;
- }
-
- .shop-name {
- font-size: 30rpx;
- width: 50%;
- float: left;
- height: 70rpx;
- line-height: 70rpx;
- }
-
- .shop-content-fur {
- padding-bottom: 25rpx;
- }
-
- .shop-content-low {
- width: auto;
- border: 1px solid #eee;
- display: inline-block;
- min-width: 90rpx;
- padding: 5rpx;
- font-size: 35rpx;
- text-align: center;
- color: #777;
- margin: 20rpx 0 0 20rpx;
- }
-
- .shop-content-low:hover {
- background: #eee;
- }
-
- .shop-checkList {
- display: flex;
- height: 50rpx;
- font-size: 28rpx;
- line-height: 50rpx;
- padding: 20rpx 10rpx;
- border-top: 1px solid #eee;
- }
-
- .shop-checkList-box {
- height: 50rpx;
- width: 60%;
- }
-
- .shop-popup-bottom {
- width: 100%;
- height: 100rpx;
- position: fixed;
- bottom: 0;
- display: flex;
- }
-
- .shop-popup-bottom-left {
- width: 50%;
- line-height: 80rpx;
- }
-
- .shop-popup-bottom-right {
- width: 50%;
- line-height: 100rpx;
-
- .bottom-btn {
- width: 70%;
- line-height: 35px;
- height: 70rpx;
- text-align: center;
- /* margin-top: 10rpx; */
- color: #fff;
- font-size: 28rpx;
- margin: 0 auto;
- background: linear-gradient(90deg, #60F3FF, #088FEB);
- border-radius: 70rpx;
- }
+ }
+
+ .btn-list {
+ width: 47%;
+ float: left;
+ }
+
+
+ .shop-popup-content {
+ align-items: center;
+ justify-content: center;
+ padding: 15px;
+ height: 1200rpx;
+ background-color: #fff;
+ }
+
+ .shop-popup-title-right-box {
+ height: 50rpx;
+ line-height: 50rpx;
+ }
+
+ .shop-popup-title-right {
+ width: 400rpx;
+ margin-left: 30rpx;
+ }
+
+ .shop-popup-title-left {
+ width: 150rpx;
+ height: 150rpx;
+ }
+
+ .shop-popup-title-left image {
+ width: 150rpx;
+ height: 150rpx;
+
+ }
+
+ .shop-popup-title {
+ display: flex;
+ height: 180rpx;
+ border-bottom: 1px solid #eee;
+ }
+
+ .shop-popup-container {
+ width: 95%;
+ border-radius: 10upx;
+ background: #fff;
+ height: auto;
+ margin: 20upx auto;
+ }
+
+ .shop-title-fur {
+ width: 95%;
+ height: 70rpx;
+ margin: 0 auto;
+ }
+
+ .shop-name {
+ font-size: 30rpx;
+ width: 50%;
+ float: left;
+ height: 70rpx;
+ line-height: 70rpx;
+ }
+
+ .shop-content-fur {
+ padding-bottom: 25rpx;
+ }
+
+ .shop-content-low {
+ width: auto;
+ border: 1px solid #eee;
+ display: inline-block;
+ min-width: 90rpx;
+ padding: 5rpx;
+ font-size: 35rpx;
+ text-align: center;
+ color: #777;
+ margin: 20rpx 0 0 20rpx;
+ }
+
+ .shop-content-low:hover {
+ background: #eee;
+ }
+
+ .shop-checkList {
+ display: flex;
+ height: 50rpx;
+ font-size: 28rpx;
+ line-height: 50rpx;
+ padding: 20rpx 10rpx;
+ border-top: 1px solid #eee;
+ }
+
+ .shop-checkList-box {
+ height: 50rpx;
+ width: 60%;
+ }
+
+ .shop-popup-bottom {
+ width: 100%;
+ height: 100rpx;
+ position: fixed;
+ bottom: 0;
+ display: flex;
+ }
+
+ .shop-popup-bottom-left {
+ width: 50%;
+ line-height: 80rpx;
+ }
+
+ .shop-popup-bottom-right {
+ width: 50%;
+ line-height: 100rpx;
+
+ .bottom-btn {
+ width: 70%;
+ line-height: 35px;
+ height: 70rpx;
+ text-align: center;
+ /* margin-top: 10rpx; */
+ color: #fff;
+ font-size: 28rpx;
+ margin: 0 auto;
+ background: linear-gradient(90deg, #60F3FF, #088FEB);
+ border-radius: 70rpx;
+ }
}
\ No newline at end of file
diff --git a/pages/index/index.vue b/pages/index/index.vue
index eca1e8d..026a6d7 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -86,7 +86,7 @@
- {{ item.createBy }} - {{ item.createTime }}
+ {{ item.createByName }} - {{ item.createTime }}
diff --git a/pages/index/order.vue b/pages/index/order.vue
index f3b3c9d..de319d2 100644
--- a/pages/index/order.vue
+++ b/pages/index/order.vue
@@ -9,7 +9,7 @@
- 销售员: {{item.createBy}}
+ 销售员: {{item.createByName}}
营业额:
{{item.realAmount}}
{{' 欠款: '}} {{item.noEarn}}
diff --git a/pages/inventory/addinventory.vue b/pages/inventory/addinventory.vue
index c0c8a7c..da319e6 100644
--- a/pages/inventory/addinventory.vue
+++ b/pages/inventory/addinventory.vue
@@ -1,26 +1,5 @@
-
-
+
+
@@ -32,11 +11,6 @@
-
@@ -71,10 +45,6 @@
-
diff --git a/pages/inventory/goodsList1.vue b/pages/inventory/goodsList1.vue
index e722cd9..56d7ac4 100644
--- a/pages/inventory/goodsList1.vue
+++ b/pages/inventory/goodsList1.vue
@@ -1,3 +1,4 @@
+
@@ -285,9 +286,13 @@
})
},
//切换销售员
- categoryChange(e) {
- this.xsyId = e
- console.log(e)
+ categoryChange(e) {
+ for (i=0;i
@@ -36,7 +37,6 @@
-
{
if (res.code == 200) {
uni.showToast({