Merge branch 'dev' of https://e.coding.net/g-cphe0354/yinshoukeguanliduan/management into dev
This commit is contained in:
commit
20df5c3ca4
|
|
@ -6,10 +6,10 @@ ENV = 'production'
|
||||||
# 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 = 'https://cashieradmin.sxczgkj.cn'
|
||||||
|
|
||||||
# 预发布接口
|
# 预发布接口
|
||||||
VUE_APP_BASE_API = 'https://pre-cashieradmin.sxczgkj.cn'
|
# VUE_APP_BASE_API = 'https://pre-cashieradmin.sxczgkj.cn'
|
||||||
|
|
||||||
# VUE_APP_BASE_API = 'http://192.168.2.98:8000'
|
# VUE_APP_BASE_API = 'http://192.168.2.98:8000'
|
||||||
# 如果接口是 http 形式, wss 需要改为 ws
|
# 如果接口是 http 形式, wss 需要改为 ws
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,10 @@
|
||||||
<scroll-pane ref="scrollPane" class="tags-view-wrapper">
|
<scroll-pane ref="scrollPane" class="tags-view-wrapper">
|
||||||
<router-link v-for="tag in visitedViews" ref="tag" :key="tag.path" :class="isActive(tag) ? 'active' : ''"
|
<router-link v-for="tag in visitedViews" ref="tag" :key="tag.path" :class="isActive(tag) ? 'active' : ''"
|
||||||
:to="{ path: tag.path, query: tag.query, fullPath: tag.fullPath }" tag="span" class="tags-view-item"
|
:to="{ path: tag.path, query: tag.query, fullPath: tag.fullPath }" tag="span" class="tags-view-item"
|
||||||
@click.middle.native="closeSelectedTag(tag)" @contextmenu.prevent.native="openMenu(tag, $event)">
|
@click.middle.native="!isAffix(tag) ? closeSelectedTag(tag) : ''"
|
||||||
|
@contextmenu.prevent.native="openMenu(tag, $event)">
|
||||||
{{ tag.title }}
|
{{ tag.title }}
|
||||||
<span v-if="!tag.meta.affix" class="el-icon-close" @click.prevent.stop="closeSelectedTag(tag)" />
|
<span v-if="!isAffix(tag)" class="el-icon-close" @click.prevent.stop="closeSelectedTag(tag)" />
|
||||||
</router-link>
|
</router-link>
|
||||||
</scroll-pane>
|
</scroll-pane>
|
||||||
<ul v-show="visible" :style="{ left: left + 'px', top: top + 'px' }" class="contextmenu">
|
<ul v-show="visible" :style="{ left: left + 'px', top: top + 'px' }" class="contextmenu">
|
||||||
|
|
@ -58,6 +59,9 @@ export default {
|
||||||
this.addTags()
|
this.addTags()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
isAffix(tag) {
|
||||||
|
return tag.meta && tag.meta.affix
|
||||||
|
},
|
||||||
isActive(route) {
|
isActive(route) {
|
||||||
return route.path === this.$route.path
|
return route.path === this.$route.path
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -634,6 +634,7 @@ import { hasPermission } from '@/utils/limits.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: { AddConsTakin, UploadExcel, consRecordDetail },
|
components: { AddConsTakin, UploadExcel, consRecordDetail },
|
||||||
|
name:'information',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
tongji: {},//统计
|
tongji: {},//统计
|
||||||
|
|
|
||||||
|
|
@ -240,6 +240,7 @@ import { tbConsInfoGet, tbProductlist } from "@/api/invoicing";
|
||||||
import { tbShopPurveyorGet, tbProductStockOperateOutAndOn, stockInOut } from '@/api/invoicing'
|
import { tbShopPurveyorGet, tbProductStockOperateOutAndOn, stockInOut } from '@/api/invoicing'
|
||||||
import { formatDecimal } from '@/utils'
|
import { formatDecimal } from '@/utils'
|
||||||
export default {
|
export default {
|
||||||
|
name:'operation_in',
|
||||||
components: {
|
components: {
|
||||||
shopList,
|
shopList,
|
||||||
ConsumableList
|
ConsumableList
|
||||||
|
|
|
||||||
|
|
@ -236,6 +236,7 @@ import { tbShopPurveyorGet, tbProductStockOperateOutAndOn, stockInOut, tbConsInf
|
||||||
|
|
||||||
import { formatDecimal } from '@/utils'
|
import { formatDecimal } from '@/utils'
|
||||||
export default {
|
export default {
|
||||||
|
name:'operation_out',
|
||||||
components: {
|
components: {
|
||||||
shopList,
|
shopList,
|
||||||
ConsumableList
|
ConsumableList
|
||||||
|
|
|
||||||
|
|
@ -437,6 +437,7 @@ export default {
|
||||||
Editor,
|
Editor,
|
||||||
addImg,
|
addImg,
|
||||||
},
|
},
|
||||||
|
name:'add_shop',
|
||||||
data() {
|
data() {
|
||||||
const validatordateUsed = (rule, value, callback) => {
|
const validatordateUsed = (rule, value, callback) => {
|
||||||
if (!this.form.notices.dateUsed) {
|
if (!this.form.notices.dateUsed) {
|
||||||
|
|
|
||||||
|
|
@ -244,6 +244,7 @@ import { tbProductListV2, tbShopCategoryGet, tbProductDelete, tbProductIsHot, up
|
||||||
import { hasPermission } from '@/utils/limits.js'
|
import { hasPermission } from '@/utils/limits.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
name:'product',
|
||||||
components: {
|
components: {
|
||||||
BindCons,
|
BindCons,
|
||||||
StockHistory
|
StockHistory
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue