更新
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
"name" : "链商星球",
|
||||
"appid" : "__UNI__1F65101",
|
||||
"description" : "安徽星煌,链商星球商家工具",
|
||||
"versionName" : "1.0.5",
|
||||
"versionCode" : 105,
|
||||
"versionName" : "1.0.6",
|
||||
"versionCode" : 106,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
|
||||
@@ -387,6 +387,7 @@
|
||||
|
||||
let submitFund = this.$Route.query.type === 'edit' ? managesGoodsPut(this.$Route.query.id, submitData) : managesGoodsCreate(submitData)
|
||||
submitFund.then(res => {
|
||||
uni.setStorageSync('refresh',true)
|
||||
if(this.type === 2){
|
||||
uni.showModal({
|
||||
title : '提示',
|
||||
@@ -416,6 +417,7 @@
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
|
||||
@@ -77,7 +77,6 @@
|
||||
};
|
||||
},
|
||||
created() {
|
||||
console.log(typeof this.$Route.query.edit)
|
||||
if(this.$Route.query.edit === 'true' || this.$Route.query.edit ){
|
||||
managesGoodsExtends(this.$Route.query.id).then(res => {
|
||||
this.productedAt = res.producted_at
|
||||
|
||||
@@ -64,27 +64,53 @@
|
||||
pages : {},
|
||||
itemGoods : {},
|
||||
stock : 1,
|
||||
stockType : ''
|
||||
stockType : '',
|
||||
page:1,
|
||||
has_more :true,
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
onLoad() {
|
||||
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: {
|
||||
// tabs
|
||||
onTabs(value){
|
||||
if(value == this.status) return
|
||||
this.goods = []
|
||||
this.page =1,
|
||||
this.has_more = true
|
||||
this.status = value
|
||||
this.getList()
|
||||
},
|
||||
// 权证列表
|
||||
getList(){
|
||||
managesGoodsIndex({
|
||||
status: this.status
|
||||
status: this.status,
|
||||
page:this.page
|
||||
}).then(res => {
|
||||
this.goods = res.data
|
||||
this.goods = this.goods.concat(res.data)
|
||||
this.pages = res.page
|
||||
this.has_more = res.page.has_more
|
||||
uni.setStorageSync('refresh',false)
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
|
||||
@@ -214,6 +214,7 @@
|
||||
// 按钮组
|
||||
.basisc-btn{
|
||||
padding: $padding;
|
||||
display: flex;
|
||||
.add-modules{
|
||||
line-height: 86rpx;
|
||||
height: 88rpx;
|
||||
|
||||
@@ -200,7 +200,7 @@
|
||||
<view class="tool-label-name">员工管理</view>
|
||||
</view>
|
||||
<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>
|
||||
</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