Selaa lähdekoodia

花材列表: ghsItmeId 修改为 ghs_item_id

shizhongqi 4 vuotta sitten
vanhempi
commit
3086e70477
2 muutettua tiedostoa jossa 1 lisäystä ja 3 poistoa
  1. 0 2
      ghsApp/src/admin/item/list.vue
  2. 1 1
      ghsApp/src/admin/ptItem/itemList.vue

+ 0 - 2
ghsApp/src/admin/item/list.vue

@@ -115,11 +115,9 @@ export default {
 					// #ifdef APP-PLUS
 					plug.state({},ret=>{
 						if(ret.code == 1){
-
 							that.$util.confirmModal({content:'您还没有连接蓝牙,请先链接'},() => {
 								that.pageTo({url:'/admin/tools/blue'})
 							})
-
 						}else{
 							let currentNum = Number(doNum[index])
 							console.log(currentNum)

+ 1 - 1
ghsApp/src/admin/ptItem/itemList.vue

@@ -94,7 +94,7 @@ export default {
 		selectItem(item){
 			if(item.select == 2 && item.is_delete == 1){
 				let form = JSON.parse(JSON.stringify(this.form))
-				updateProduct({...form,id: item.ghsItmeId, delStatus: 0}).then(res => {
+				updateProduct({...form,id: item.ghs_item_id, delStatus: 0}).then(res => {
 					uni.hideLoading()
 					if(res.code == 1){
 						this.$msg("操作成功!");