商品发布

This commit is contained in:
zmj 2024-04-27 10:55:52 +08:00
parent 7e98709d06
commit b50c8c6b10
3 changed files with 49 additions and 18 deletions

View File

@ -518,11 +518,11 @@
type: 1,
image: require('@/static/images/index7.png')
},
{
name: '入库管理',
type: 13,
image: require('@/static/images/index9.png')
},
// {
// name: '',
// type: 13,
// image: require('@/static/images/index9.png')
// },
// {
// name: '',
// type: 3,
@ -619,11 +619,11 @@
type: 1,
image: require('@/static/images/index7.png')
},
{
name: '入库管理',
type: 13,
image: require('@/static/images/index9.png')
},
// {
// name: '',
// type: 13,
// image: require('@/static/images/index9.png')
// },
{
name: '订单管理',
type: 2,
@ -699,11 +699,11 @@
type: 1,
image: require('@/static/images/index7.png')
},
{
name: '入库管理',
type: 13,
image: require('@/static/images/index9.png')
},
// {
// name: '',
// type: 13,
// image: require('@/static/images/index9.png')
// },
{
name: '订单管理',
type: 2,

View File

@ -312,7 +312,7 @@
// }
},
onShow() {
console.log('show')
},
methods: {
handCancel() {
@ -663,8 +663,21 @@
self.seachBarCode(res.result)
},
fail(res) {
// console.log(res);
uni.redirectTo({
url: '/pages/product/list/index'
})
// uni.showLoading({
// title: '',
// mask: true
// })
// uni.navigateBack()
},
// complete() {
// uni.showLoading({
// title: '',
// mask: true
// })
// }
})
},
isStartsWith6Or06(str) {

View File

@ -447,6 +447,14 @@
methods: {
handClick(type) {
if (type == 2) {
// #ifndef APP-PLUS
this.$util.Tips({
title: '当前环境不支持扫码'
});
return
// #endif
}
// console.log(type)
if (type == 3) {
uni.navigateTo({
@ -506,8 +514,10 @@
getProductTitle() {
productTitle(this.mer_id).then(res => {
this.tabList = res.data;
console.log(this.tabList)
let clickIndex = 0;
this.tabList.forEach((item, index) => {
item.name = item.name + `(${item.count})`
if (item.type == this.where.type) {
this.current = index;
}
@ -849,6 +859,7 @@
that.where.cate_id = this.cate_id.store_category_id;
// mer_cate_id
}
that.where.order = 'check'
productLstApi(mer_id, that.where).then(
res => {
that.loading = false;
@ -1684,7 +1695,7 @@
.footer {
width: 750rpx;
height: 132rpx;
height: 150rpx;
background-color: white;
position: fixed;
bottom: 0;
@ -1692,12 +1703,17 @@
display: flex;
justify-content: space-around;
align-items: center;
box-sizing: border-box;
.footer-li {
border: 1px solid #989898;
font-size: 32rpx;
padding: 14rpx 27rpx;
border-radius: 40rpx;
overflow: hidden;
width: 184rpx;
height: 72rpx;
}
@ -1705,6 +1721,8 @@
border: none;
background-color: #32BB3B;
color: white;
width: 302rpx;
text-align: center;
}
}
</style>