Browse Source

提交修复

master
主管理员 3 months ago
parent
commit
d9a268fbd1
3 changed files with 12 additions and 5 deletions
  1. +1
    -1
      config.js
  2. +1
    -1
      manifest.json
  3. +10
    -3
      pages_subpack/release/index.vue

+ 1
- 1
config.js View File

@ -4,7 +4,7 @@ import Vue from 'vue'
import utils from './utils/utils.js'
// 当前环境
const type = 'prod'
const type = 'dev'
// 环境配置


+ 1
- 1
manifest.json View File

@ -1,6 +1,6 @@
{
"name" : "protection-wechat-uniapp",
"appid" : "__UNI__900BBCB",
"appid" : "__UNI__AC1A853",
"description" : "",
"versionName" : "2.0.37",
"versionCode" : 1,


+ 10
- 3
pages_subpack/release/index.vue View File

@ -167,7 +167,7 @@
},
data() {
return {
id:null,
id:'',
columns:[['2025', '2024', '2023', '2022', '2020', '2019', '2018', '2017', '2016', '2015', '2014', '2013', '2012', '2011', '2010', '2009', '2008', '2007', '2006', '2005', '2004', '2003', '2002', '2001', '2000']],
maxDate:startOfYesterday,
actions:[],
@ -444,8 +444,9 @@
},
onLoad(options) {
let that = this
console.log("进图页面刷新:"+options)
if(options.id){
console.log("如果有数据的情况下:"+options.id)
that.id = options.id
that.getQueryGoodsById()
}else{
@ -725,8 +726,9 @@
},
onAddGoods(){
let that = this
console.log("新增或者修改现在标识:"+that.id)
let params={
id:that.id?that.id:null,
id:that.id?that.id:'',
cartypeId:that.form.cartypeId,
categorytwoId:that.form.categorytwoId,
goodsName:that.form.goodsName,//
@ -750,6 +752,11 @@
imageRight:that.form.fileRightList.map(item => item.url).join(','),//()
detail:that.form.introduce,//
}
if(that.id == null){
}
uni.showLoading({
title:"提交中..."
})


Loading…
Cancel
Save