+
-
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+ :label="option.categoryName"
+ :value="option.id"
+ >
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 元
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
- 积分
-
-
-
-
-
-
- 元
-
-
-
-
-
-
- 1积分=
- 元
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 元
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
- 次
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ 积分
+
+
+
+
+
+
+ 元
+
+
+
+
+
+
+ 1积分=
+ 元
+
+
+
+
-
+
+
+
+
+ 次
+
+
+
+
-
-
+
+
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
- s
-
+
+
+
+
+
+ s
+
-
-
- {{ item.label }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ getName(cvsGoodList, scope.row.cvsGoodId) }}
+
+
+
+
+
+ {{ getName(supplierList, scope.row.supplierId) }}
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ getName(cvsGoodList, scope.row.cvsGoodId) }}
-
-
-
-
-
- {{ getName(supplierList, scope.row.supplierId) }}
-
-
-
-
-
-
-
-
-
-
-
-
`
- // var fromHtml = bodyStyle+this.$refs.report.innerHTML
- var fromHtml = ''
+ // var fromHtml = bodyStyle+this.$refs.report.innerHTML
+ var fromHtml = ''
- fromHtml = bodyStyle+this.$refs.report.innerHTML
+ fromHtml = bodyStyle + this.$refs.report.innerHTML
+ // LODOP.PRINT_INITA(0, 0, 665, 600, '模板设计')
+ LODOP.ADD_PRINT_HTM(0, 0, '100%', '100%', fromHtml)
+ // LODOP.SET_PRINT_PAGESIZE(100,100,100,100)
- // LODOP.PRINT_INITA(0, 0, 665, 600, '模板设计')
- LODOP.ADD_PRINT_HTM(0, 0, "100%", "100%", fromHtml);
- // LODOP.SET_PRINT_PAGESIZE(100,100,100,100)
+ LODOP.SET_PRINT_MODE('FULL_WIDTH_FOR_OVERFLOW', true)
- LODOP.SET_PRINT_MODE("FULL_WIDTH_FOR_OVERFLOW",true);
+ // LODOP.ADD_PRINT_BARCODE(10,40,100,100,'QRCode','123456789');
+ // let preview = LODOP.PREVIEW();
+ // console.log("preview",preview);
+ LODOP.PRINT()
- // LODOP.ADD_PRINT_BARCODE(10,40,100,100,'QRCode','123456789');
- // let preview = LODOP.PREVIEW();
- // console.log("preview",preview);
- LODOP.PRINT();
+ }
+ },
+ watch: {
+ dialogVisiblej(newValue) {
+ if (!newValue && !this.visflg) {
+ console.log('newValue', newValue)
+ this.queryParams = {
+ categoryId: '',
+ giftName: '',
+ deliveryMethod: '门店自提',
+ page: 1,
+ pageSize: 10000
},
- },
- watch: {
- dialogVisiblej(newValue) {
- if (!newValue && !this.visflg) {
- console.log("newValue",newValue)
+ this.seekZero = 0
+ this.handClose()
+ this.reset()
- this.queryParams= {
- categoryId:'',
- giftName:'',
- deliveryMethod:'门店自提',
- page: 1,
- pageSize: 10000,
- },
- this.seekZero = 0
- this.handClose()
- this.reset()
-
- } else {
- this.visflg = false
- }
- }
- },
- computed: {
- isTheBalanceIsSufficient(){
- if (this.member && this.member.points !== undefined) {
- const allPoints = new BigNumber(this.allPoints);
- const points = new BigNumber(this.member.points);
- return points.minus(allPoints).toNumber() >= 0;
- }
- return false;
+ } else {
+ this.visflg = false
}
}
+ },
+ computed: {
+ isTheBalanceIsSufficient() {
+ if (this.member && this.member.points !== undefined) {
+ const allPoints = new BigNumber(this.allPoints)
+ const points = new BigNumber(this.member.points)
+ return points.minus(allPoints).toNumber() >= 0
+ }
+ return false
}
+ }
+}
diff --git a/fuintCashierWeb/src/views/cashier/NewComponents/credit.vue b/fuintCashierWeb/src/views/cashier/NewComponents/credit.vue
index 5bd773706..f98cf6105 100644
--- a/fuintCashierWeb/src/views/cashier/NewComponents/credit.vue
+++ b/fuintCashierWeb/src/views/cashier/NewComponents/credit.vue
@@ -1040,6 +1040,7 @@ import {getLodop} from "@/api/LodopFuncs";
this.open1 = true
},
handleUpdate(data){
+ console.log("修改数据", data)
creditUnitInfo(data.id).then(res => {
this.form1 = res.data
this.title = "修改挂账单位"
@@ -1068,7 +1069,7 @@ import {getLodop} from "@/api/LodopFuncs";
this.total3 = res.data.total;
})
- this.getUnitStatistic(val)
+ this.getUnitStatistic(undefined)
},
getUnitStatistic(val){
if (val!=undefined){