diff --git a/.env.development b/.env.development index f3b05e5..6d99809 100644 --- a/.env.development +++ b/.env.development @@ -1,14 +1,16 @@ ENV = 'development' # 接口地址 -# VUE_APP_BASE_API = 'http://192.168.2.17:8000' +# VUE_APP_BASE_API = 'http://192.168.2.202:8000' # VUE_APP_BASE_API = 'http://192.168.2.42:8000' # VUE_APP_BASE_API = 'http://192.168.2.133:8000' # 测试 VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn' -# 线上 +# 生产 # VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn' # VUE_APP_BASE_API = 'http://192.168.2.96:8000' +# 张松 +# VUE_APP_BASE_API = 'http://192.168.2.147:8000/' VUE_APP_WS_API = 'ws://192.168.2.128:8000' # 是否启用 babel-plugin-dynamic-import-node插 \ No newline at end of file diff --git a/.env.production b/.env.production index ffc2fc2..8c2ed2b 100644 --- a/.env.production +++ b/.env.production @@ -2,8 +2,10 @@ ENV = 'production' # 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置 # 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http -VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn' -# VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn' +# 测试 +VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn' +# 生产 +# VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn' # VUE_APP_BASE_API = 'http://192.168.2.98:8000' # 如果接口是 http 形式, wss 需要改为 ws VUE_APP_WS_API = 'wss://123.56.110.252 diff --git a/dist.zip b/dist.zip deleted file mode 100644 index b2d45d3..0000000 Binary files a/dist.zip and /dev/null differ diff --git a/package.json b/package.json index a5eb161..f91c1d7 100644 --- a/package.json +++ b/package.json @@ -43,9 +43,12 @@ "normalize.css": "7.0.0", "nprogress": "0.2.0", "path-to-regexp": "2.4.0", + "qrcode": "^1.5.3", "qs": "^6.10.1", + "reconnecting-websocket": "^4.4.0", "screenfull": "4.2.0", "sortablejs": "^1.15.2", + "terser-webpack-plugin": "^4.2.3", "vue": "^2.6.14", "vue-amap": "^0.5.10", "vue-clipboard2": "^0.3.3", @@ -78,6 +81,7 @@ "babel-jest": "23.6.0", "babel-plugin-dynamic-import-node": "2.3.0", "babel-plugin-transform-remove-console": "^6.9.4", + "cache-loader": "^4.1.0", "chalk": "2.4.2", "chokidar": "2.1.5", "compression-webpack-plugin": "5.0.2", diff --git a/public/index.html b/public/index.html index 1b7144a..ca90b8b 100644 --- a/public/index.html +++ b/public/index.html @@ -5,6 +5,9 @@ + + + <%= webpackConfig.name %> + + \ No newline at end of file diff --git a/src/views/invoicing/components/addStockTakin.vue b/src/views/invoicing/components/addStockTakin.vue new file mode 100644 index 0000000..b419a4b --- /dev/null +++ b/src/views/invoicing/components/addStockTakin.vue @@ -0,0 +1,205 @@ + + + + + + \ No newline at end of file diff --git a/src/views/invoicing/components/addSupplier.vue b/src/views/invoicing/components/addSupplier.vue index 8955efb..b492edd 100644 --- a/src/views/invoicing/components/addSupplier.vue +++ b/src/views/invoicing/components/addSupplier.vue @@ -10,9 +10,9 @@ - + @@ -35,7 +35,7 @@ export default { purveyorName: '', purveyorTelephone: '', address: '', - tip: '', + // tip: '', remark: '', }, rules: { @@ -85,7 +85,7 @@ export default { this.form.purveyorName = '' this.form.purveyorTelephone = '' this.form.address = '' - this.form.tip = '' + // this.form.tip = '' this.form.remark = '' } } diff --git a/src/views/invoicing/components/consumableList.vue b/src/views/invoicing/components/consumableList.vue new file mode 100644 index 0000000..62d8314 --- /dev/null +++ b/src/views/invoicing/components/consumableList.vue @@ -0,0 +1,170 @@ + + + + + + \ No newline at end of file diff --git a/src/views/invoicing/components/invoicingDetail.vue b/src/views/invoicing/components/invoicingDetail.vue index 1013ead..b70f107 100644 --- a/src/views/invoicing/components/invoicingDetail.vue +++ b/src/views/invoicing/components/invoicingDetail.vue @@ -29,6 +29,8 @@ {{ scope.row.type }} + + @@ -354,4 +501,9 @@ export default { } } } - \ No newline at end of file + + \ No newline at end of file diff --git a/src/views/order_manage/components/orderDetail.vue b/src/views/order_manage/components/orderDetail.vue index d61a119..117490d 100644 --- a/src/views/order_manage/components/orderDetail.vue +++ b/src/views/order_manage/components/orderDetail.vue @@ -142,7 +142,7 @@ -
退款:¥-{{ item.refundAmount }}
+
退款:¥-{{ item.orderAmount }}
diff --git a/src/views/order_manage/order_list.vue b/src/views/order_manage/order_list.vue index d7f3a82..cd3afe0 100644 --- a/src/views/order_manage/order_list.vue +++ b/src/views/order_manage/order_list.vue @@ -75,7 +75,7 @@
-
+
@@ -123,10 +123,8 @@ {{ item.productName }} (退 - {{ item.num }})(退 - {{ item.refundNumber }})
{{ item.productSkuName }}
@@ -140,13 +138,13 @@
{{ scope.row.orderType | orderTypeFilter }}
- 退款:-¥{{ scope.row.refundAmount }} + 退款:-¥{{ scope.row.orderAmount }}
-
¥{{ scope.row.orderAmount }}
+
¥{{ scope.row.orderAmount }}
diff --git a/src/views/shop/components/notice.vue b/src/views/shop/components/notice.vue new file mode 100644 index 0000000..e69de29 diff --git a/src/views/shop/shop_configuration.vue b/src/views/shop/shop_configuration.vue index 1fba74a..63bd8bc 100644 --- a/src/views/shop/shop_configuration.vue +++ b/src/views/shop/shop_configuration.vue @@ -3,19 +3,24 @@ + +