更新
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
"name" : "链商星球",
|
"name" : "链商星球",
|
||||||
"appid" : "__UNI__1F65101",
|
"appid" : "__UNI__1F65101",
|
||||||
"description" : "安徽星煌,链商星球商家工具",
|
"description" : "安徽星煌,链商星球商家工具",
|
||||||
"versionName" : "1.0.5",
|
"versionName" : "1.0.6",
|
||||||
"versionCode" : 105,
|
"versionCode" : 106,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
|||||||
@@ -387,6 +387,7 @@
|
|||||||
|
|
||||||
let submitFund = this.$Route.query.type === 'edit' ? managesGoodsPut(this.$Route.query.id, submitData) : managesGoodsCreate(submitData)
|
let submitFund = this.$Route.query.type === 'edit' ? managesGoodsPut(this.$Route.query.id, submitData) : managesGoodsCreate(submitData)
|
||||||
submitFund.then(res => {
|
submitFund.then(res => {
|
||||||
|
uni.setStorageSync('refresh',true)
|
||||||
if(this.type === 2){
|
if(this.type === 2){
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title : '提示',
|
title : '提示',
|
||||||
@@ -416,6 +417,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: err.message,
|
title: err.message,
|
||||||
|
|||||||
@@ -77,7 +77,6 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
console.log(typeof this.$Route.query.edit)
|
|
||||||
if(this.$Route.query.edit === 'true' || this.$Route.query.edit ){
|
if(this.$Route.query.edit === 'true' || this.$Route.query.edit ){
|
||||||
managesGoodsExtends(this.$Route.query.id).then(res => {
|
managesGoodsExtends(this.$Route.query.id).then(res => {
|
||||||
this.productedAt = res.producted_at
|
this.productedAt = res.producted_at
|
||||||
|
|||||||
@@ -64,27 +64,53 @@
|
|||||||
pages : {},
|
pages : {},
|
||||||
itemGoods : {},
|
itemGoods : {},
|
||||||
stock : 1,
|
stock : 1,
|
||||||
stockType : ''
|
stockType : '',
|
||||||
|
page:1,
|
||||||
|
has_more :true,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onShow() {
|
onLoad() {
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
|
onShow() {
|
||||||
|
if(uni.getStorageSync('refresh')){
|
||||||
|
this.goods = []
|
||||||
|
this.page = 1
|
||||||
|
this.has_more = true
|
||||||
|
this.getList()
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onReachBottom() {
|
||||||
|
if(this.has_more){
|
||||||
|
this.page = this.page + 1
|
||||||
|
this.getList()
|
||||||
|
}else{
|
||||||
|
uni.showToast({
|
||||||
|
title:'我是有底线的~',
|
||||||
|
icon:'none'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// tabs
|
// tabs
|
||||||
onTabs(value){
|
onTabs(value){
|
||||||
if(value == this.status) return
|
if(value == this.status) return
|
||||||
this.goods = []
|
this.goods = []
|
||||||
|
this.page =1,
|
||||||
|
this.has_more = true
|
||||||
this.status = value
|
this.status = value
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
// 权证列表
|
// 权证列表
|
||||||
getList(){
|
getList(){
|
||||||
managesGoodsIndex({
|
managesGoodsIndex({
|
||||||
status: this.status
|
status: this.status,
|
||||||
|
page:this.page
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.goods = res.data
|
this.goods = this.goods.concat(res.data)
|
||||||
this.pages = res.page
|
this.pages = res.page
|
||||||
|
this.has_more = res.page.has_more
|
||||||
|
uni.setStorageSync('refresh',false)
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: err.message,
|
title: err.message,
|
||||||
|
|||||||
@@ -214,6 +214,7 @@
|
|||||||
// 按钮组
|
// 按钮组
|
||||||
.basisc-btn{
|
.basisc-btn{
|
||||||
padding: $padding;
|
padding: $padding;
|
||||||
|
display: flex;
|
||||||
.add-modules{
|
.add-modules{
|
||||||
line-height: 86rpx;
|
line-height: 86rpx;
|
||||||
height: 88rpx;
|
height: 88rpx;
|
||||||
|
|||||||
@@ -200,7 +200,7 @@
|
|||||||
<view class="tool-label-name">员工管理</view>
|
<view class="tool-label-name">员工管理</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="tool-label" v-if="permission.manageScan" @click="$Router.push({name: 'verificationIndex'})">
|
<view class="tool-label" v-if="permission.manageScan" @click="$Router.push({name: 'verificationIndex'})">
|
||||||
<image class="tool-label-img" src="/static/user/userTool-05.png" mode=""></image>
|
<image class="tool-label-img" src="/static/user/userTool-06.png" mode=""></image>
|
||||||
<view class="tool-label-name">扫码核销</view>
|
<view class="tool-label-name">扫码核销</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
BIN
static/user/userTool-06.png
Normal file
BIN
static/user/userTool-06.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
File diff suppressed because one or more lines are too long
18
unpackage/dist/build/app-plus/app-service.js
vendored
18
unpackage/dist/build/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
6
unpackage/dist/build/app-plus/app-view.js
vendored
6
unpackage/dist/build/app-plus/app-view.js
vendored
File diff suppressed because one or more lines are too long
2
unpackage/dist/build/app-plus/manifest.json
vendored
2
unpackage/dist/build/app-plus/manifest.json
vendored
File diff suppressed because one or more lines are too long
BIN
unpackage/dist/build/app-plus/static/user/userTool-06.png
vendored
Normal file
BIN
unpackage/dist/build/app-plus/static/user/userTool-06.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
15807
unpackage/dist/dev/app-plus/app-service.js
vendored
15807
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
43
unpackage/dist/dev/app-plus/app-view.js
vendored
43
unpackage/dist/dev/app-plus/app-view.js
vendored
File diff suppressed because one or more lines are too long
2
unpackage/dist/dev/app-plus/manifest.json
vendored
2
unpackage/dist/dev/app-plus/manifest.json
vendored
File diff suppressed because one or more lines are too long
BIN
unpackage/dist/dev/app-plus/static/user/userTool-06.png
vendored
Normal file
BIN
unpackage/dist/dev/app-plus/static/user/userTool-06.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
Reference in New Issue
Block a user