diff --git a/.env.development b/.env.development index 7029818..f32fc17 100644 --- a/.env.development +++ b/.env.development @@ -4,9 +4,9 @@ ENV = 'development' # VUE_APP_BASE_API = 'http://192.168.2.17: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 = 'https://admintestpapi.sxczgkj.cn' +# VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn' +# VUE_APP_BASE_API = 'http://192.168.2.41: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/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..0ca61b6 100644 --- a/package.json +++ b/package.json @@ -78,6 +78,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/src/api/consumable.js b/src/api/consumable.js new file mode 100644 index 0000000..4f84398 --- /dev/null +++ b/src/api/consumable.js @@ -0,0 +1,136 @@ +import request from "@/utils/request"; + +/** + * 查询耗材类型 + * @returns + */ +export function gettbConsType(params) { + return request({ + url: '/api/tbConsType', + method: "get", + params + }); +} + +/** + * 新增耗材类型 + * @returns + */ +export function posttbConsType(data) { + return request({ + url: '/api/tbConsType', + method: "post", + data + }); +} +/** + * 修改耗材类型 + * @returns + */ +export function puttbConsType(data) { + return request({ + url: '/api/tbConsType', + method: "put", + data + }); +} +/** + * 查询耗材信息 + * @returns + */ +export function gettbConsInfo(params) { + return request({ + url: '/api/tbConsInfo', + method: "get", + params + }); +} +/** + * 耗材入库 + * @returns + */ +export function posttbConsInfostockIn(data) { + return request({ + url: '/api/tbConsInfo/stockIn', + method: "post", + data + }); +} +/** + * 新增耗材信息 + * @returns + */ +export function posttbConsInfo(data) { + return request({ + url: '/api/tbConsInfo', + method: "post", + data + }); +} + +/** + * 查询查询耗材规格信息 + * @returns + */ +export function getviewConSku(params) { + return request({ + url: '/api/viewConSku', + method: "get", + params + }); +} +/** + * 查询查询商品规格 + * @returns + */ +export function gettbProductSpec(params) { + return request({ + url: '/api/viewProductSkuShop', + method: "get", + params + }); +} +/** + * 新增商品规格耗材信息 + * @returns + */ +export function posttbProskuCon(data) { + return request({ + url: '/api/tbProskuCon', + method: "post", + data + }); +} +/** + * 修改商品规格耗材信息状态 + * @returns + */ +export function puttbProskuCon(data) { + return request({ + url: '/api/tbProskuCon', + method: "put", + data + }); +} +/** + * 删除商品规格耗材信息状态 + * @returns + */ +export function deletetbProskuCon(data) { + return request({ + url: '/api/tbProskuCon', + method: "delete", + data + }); +} +/** + * 查询耗材流水信息 + * @returns + */ +export function gettbConsInfoFlow(params) { + return request({ + url: '/api/tbConsInfoFlow', + method: "get", + params + }); +} \ No newline at end of file diff --git a/src/views/invoicing/consumable/information.vue b/src/views/invoicing/consumable/information.vue new file mode 100644 index 0000000..ebf7cff --- /dev/null +++ b/src/views/invoicing/consumable/information.vue @@ -0,0 +1,507 @@ + + + + + + \ No newline at end of file diff --git a/src/views/invoicing/consumable/specifications.vue b/src/views/invoicing/consumable/specifications.vue new file mode 100644 index 0000000..af0d27b --- /dev/null +++ b/src/views/invoicing/consumable/specifications.vue @@ -0,0 +1,494 @@ + + + + + + \ No newline at end of file diff --git a/src/views/invoicing/consumable/type.vue b/src/views/invoicing/consumable/type.vue new file mode 100644 index 0000000..5267136 --- /dev/null +++ b/src/views/invoicing/consumable/type.vue @@ -0,0 +1,294 @@ + + + + + + \ No newline at end of file