diff --git a/src/views/home/data_forms.vue b/src/views/home/data_forms.vue
index d487188..2da8c3c 100644
--- a/src/views/home/data_forms.vue
+++ b/src/views/home/data_forms.vue
@@ -81,6 +81,16 @@
¥{{ scope.row.cash }}
+
+
+ ¥{{ scope.row.recharge }}
+
+
+
+
+ ¥{{ scope.row.refund }}
+
+
diff --git a/src/views/invoicing/components/invoicingDetail.vue b/src/views/invoicing/components/invoicingDetail.vue
index 81de082..1013ead 100644
--- a/src/views/invoicing/components/invoicingDetail.vue
+++ b/src/views/invoicing/components/invoicingDetail.vue
@@ -9,7 +9,7 @@
+ end-placeholder="结束日期" value-format="yyyy-MM-dd">
查询
重置
@@ -38,7 +38,7 @@
- {{ scope.row.leftNumber - scope.row.stockNumber }} {{ scope.row.unitName }}
+ {{ scope.row.leftNumber + scope.row.stockNumber }} {{ scope.row.unitName }}
@@ -81,6 +81,13 @@ export default {
methods: {
async getTableData() {
this.tableData.loading = true
+ console.log(this.query.createdAt, '调试111')
+ let arr = []
+ if (this.query.createdAt.length) {
+ arr = [this.query.createdAt[0] + ' 00:00:00', this.query.createdAt[1] + ' 23:59:59']
+ } else {
+ arr = []
+ }
try {
const res = await tbProductStockDetail({
page: this.tableData.page,
@@ -89,7 +96,7 @@ export default {
shopId: localStorage.getItem('shopId'),
productId: this.goods.proId,
type: this.query.type,
- createdAt: this.query.createdAt
+ createdAt: arr
})
this.tableData.loading = false
this.tableData.list = res.content
@@ -109,6 +116,8 @@ export default {
this.query.blurry = ''
this.tableData.page = 0
this.tableData.list = []
+ this.query.type = ''
+ this.query.createdAt = []
this.getTableData()
},
async show(obj) {
diff --git a/src/views/invoicing/components/operatingDetail.vue b/src/views/invoicing/components/operatingDetail.vue
index 641b755..0b09180 100644
--- a/src/views/invoicing/components/operatingDetail.vue
+++ b/src/views/invoicing/components/operatingDetail.vue
@@ -7,6 +7,7 @@
+
{{ scope.row.number }} {{ scope.row.unitName }}
diff --git a/src/views/invoicing/goods_stoks.vue b/src/views/invoicing/goods_stoks.vue
index 56dfa57..8e1a365 100644
--- a/src/views/invoicing/goods_stoks.vue
+++ b/src/views/invoicing/goods_stoks.vue
@@ -41,11 +41,17 @@
+
+
+ {{scope.row.specSnap }}
+
+
{{ `${scope.row.number} ${scope.row.unitName}` }}
+