diff --git a/src/App.vue b/src/App.vue index 5089146..1215e93 100644 --- a/src/App.vue +++ b/src/App.vue @@ -15,12 +15,13 @@ export default { 高宽分别对应横竖滚动条的尺寸*/ ::-webkit-scrollbar { width: 4px; + height: 4px; } /*定义滚动条轨道 内阴影+圆角*/ ::-webkit-scrollbar-track { - background-color: #F5F5F5; + background-color: #f5f5f5; } /*定义滑块 diff --git a/src/api/invoicing.js b/src/api/invoicing.js index 861bbc9..ba6e78c 100644 --- a/src/api/invoicing.js +++ b/src/api/invoicing.js @@ -330,3 +330,33 @@ export function stockInOut(data) { } }); } + +/** + * 新增盘点耗材 + * @returns + */ +export function tbConCheck(data) { + return request({ + url: `/api/tbConCheck`, + method: "post", + data: { + shopId: localStorage.getItem("shopId"), + ...data + } + }); +} + +/** + * 查询盘点耗材 + * @returns + */ +export function tbConCheckGet(data) { + return request({ + url: `/api/tbConCheck`, + method: "get", + params: { + shopId: localStorage.getItem("shopId"), + ...data + } + }); +} diff --git a/src/views/invoicing/components/addConsTakin.vue b/src/views/invoicing/components/addConsTakin.vue new file mode 100644 index 0000000..ce33793 --- /dev/null +++ b/src/views/invoicing/components/addConsTakin.vue @@ -0,0 +1,210 @@ + + + + + + \ No newline at end of file diff --git a/src/views/invoicing/consumable/information.vue b/src/views/invoicing/consumable/information.vue index 654a38d..36bd3bf 100644 --- a/src/views/invoicing/consumable/information.vue +++ b/src/views/invoicing/consumable/information.vue @@ -45,7 +45,7 @@ - + @@ -60,14 +60,16 @@ - + - + @@ -205,7 +209,9 @@ import dayjs from 'dayjs' import settings from '@/settings' import { upProSort } from '@/api/shop' import { gettbConsType, gettbConsInfo, posttbConsInfo, gettbConsInfoFlow, posttbConsInfostockIn, postapitbConsInfo } from '@/api/consumable' +import AddConsTakin from '../components/addConsTakin' export default { + components: { AddConsTakin }, data() { return { dayjs, @@ -305,34 +311,8 @@ export default { mounted() { this.getTableData() this.getTableDatatype() - this.$nextTick(() => { - // this.tableDrag() - }) }, methods: { - //表格拖拽 - tableDrag() { - const el = document.querySelector('#table_drag .el-table__body-wrapper tbody') - new Sortable(el, { - animation: 150, - onEnd: async e => { - if (e.oldIndex == e.newIndex) return - let oid = this.tableData.data[e.oldIndex].id - let nid = this.tableData.data[e.newIndex].id - let ids = this.tableData.data.map(item => item.id) - try { - await upProSort({ - strId: oid, - endId: nid, - ids: ids - }) - await this.getTableData() - } catch (error) { - console.log(error) - } - } - }) - }, // 重置查询 resetHandle() { this.query.conTypeId = '' diff --git a/src/views/user_manage/user_list.vue b/src/views/user_manage/user_list.vue index 59ba3bc..57ac84d 100644 --- a/src/views/user_manage/user_list.vue +++ b/src/views/user_manage/user_list.vue @@ -52,7 +52,7 @@ - + -->
@@ -113,7 +112,7 @@ export default { return { query: { name: '', - isVip: '' + isVip: 1 }, tableData: { data: [],