sale-client 3.4.201 → 3.4.202

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/package.json +2 -2
  2. package/src/main.js +7 -2
  3. package/src/sale.js +1095 -1099
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.4.201",
3
+ "version": "3.4.202",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -8,7 +8,7 @@
8
8
  "dev": "node build/dev-server.js",
9
9
  "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
10
10
  "unit": "karma start test/unit/karma.conf.js",
11
- "build": "rimraf lib && mkdirp lib && cross-env webpack --progress --hide-modules --config build/webpack.prod.conf.js",
11
+ "build": "rimraf dist && mkdirp dist && ncp static dist/mergeUser && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
12
12
  "e2e": "node test/e2e/runner.js",
13
13
  "release": "bash build/release.sh"
14
14
  },
package/src/main.js CHANGED
@@ -1,13 +1,18 @@
1
1
  import Vue from 'vue'
2
+ import { all } from 'vue-client'
2
3
  import App from './App'
4
+ import { system } from 'system-clients'
3
5
  import sale from './sale'
4
6
  import { address } from 'address-client'
5
7
  import { ldap } from 'ldap-clients'
6
8
  import VueClipboard from 'vue-clipboard2'
9
+ import moment from 'moment'
7
10
  Vue.use(VueClipboard)
8
11
  Vue.config.silent = true
9
- // 新打包写法
10
- Vue.use(sale, {filiale: null})
12
+
13
+ all()
14
+ system(false)
15
+ sale()
11
16
  address()
12
17
  ldap()
13
18
  require('system-clients/src/styles/less/bootstrap.less')