Browse Source

偏后与取消

shish 1 year ago
parent
commit
498f01a6da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ghs/src/views/book/itemCustom.vue

+ 1 - 1
ghs/src/views/book/itemCustom.vue

@@ -161,7 +161,7 @@ export default {
 		goUp(info){
 		goUp(info){
 			let that = this
 			let that = this
 			this.$prompt('请输入数量','提示',{confirmButtonText:'确定',cancelButtonText:'取消',inputPattern:/^\+?[1-9][0-9]*$/,inputErrorMessage:'数量错误'}).then(({value}) => {
 			this.$prompt('请输入数量','提示',{confirmButtonText:'确定',cancelButtonText:'取消',inputPattern:/^\+?[1-9][0-9]*$/,inputErrorMessage:'数量错误'}).then(({value}) => {
-				this.$service.bookItemCustom.goOn({ id:info.id}).then(data => {
+				this.$service.bookItemCustom.goOn({ id:info.id,num:value}).then(data => {
 					that.$message.success('操作成功')
 					that.$message.success('操作成功')
 					setTimeout(()=>{
 					setTimeout(()=>{
 						that.app.refresh({itemId:this.itemId,customId:this.customId})
 						that.app.refresh({itemId:this.itemId,customId:this.customId})