diff --git a/pages/inventory/getProductIdToList.vue b/pages/inventory/getProductIdToList.vue
new file mode 100644
index 0000000..2ebb606
--- /dev/null
+++ b/pages/inventory/getProductIdToList.vue
@@ -0,0 +1,263 @@
+
+
+
+
+ 时间:{{item.createTime}}
+ 数量:{{item.productCount}} 总价:{{item.realAmount}}
+
+
+ 单价:{{items.discountAmount}} * {{items.productCount}}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/inventory/inventoryDetail.vue b/pages/inventory/inventoryDetail.vue
index a1ae5d2..87119a3 100644
--- a/pages/inventory/inventoryDetail.vue
+++ b/pages/inventory/inventoryDetail.vue
@@ -49,7 +49,10 @@
-
+
+
+
@@ -63,8 +66,20 @@
pageNum: 1, //分页的页码
dataList: [],
bufferData: '',
+ horizontal: 'right',
pecsList:[],
- type:''
+ type:'',
+ content: [{
+ iconPath: '/static/images/tabbar/home.png',
+ selectedIconPath: '/static/images/tabbar/home-sel.png',
+ text: '销售明细',
+ active: false
+ },{
+ iconPath: '/static/images/tabbar/home.png',
+ selectedIconPath: '/static/images/tabbar/home-sel.png',
+ text: '入库明细',
+ active: false
+ }]
}
},
filters: {
@@ -127,6 +142,22 @@
strCmd += blesdk.addCPCLLocation(0); //对齐指令 0-左对齐 1-右对齐 2-居中
strCmd += blesdk.addCPCLPrint();
this.bufferData = strCmd;
+ },
+ //悬浮按钮
+ trigger(e) {
+ console.log(e.index==0)
+ // this.content[e.index].active = !e.item.active
+ //e.item.text
+ if(e.index==0){ //销售明细
+ uni.navigateTo({
+ url: '/pages/inventory/getProductIdToList?id=' + this.dataList.id
+ })
+ }else{
+ // uni.navigateTo({
+ // url: `/pages/other/logisticsAddress`
+ // })
+ }
+
},
}
}
diff --git a/pages/other/custom.vue b/pages/other/custom.vue
index d4535ab..d54e161 100644
--- a/pages/other/custom.vue
+++ b/pages/other/custom.vue
@@ -120,7 +120,6 @@
dateChange(e) {
console.log(e)
if(e.length == 0){
- console.log("11111")
this.query.startDate = ''
this.query.endDate = ''
}else{