04 2023 档案

摘要:onLaunch() { // 展示本地存储能力 const logs = wx.getStorageSync('logs') || [] logs.unshift(Date.now()) wx.setStorageSync('logs', logs) // 获取系统信息 this.globalDa 阅读全文
posted @ 2023-04-26 17:50 shuihanxiao 阅读(26) 评论(0) 推荐(0) 编辑
摘要://调用图片和相机 choosePic() { console.log("table") var _this = this wx.chooseImage({ count: 9, // 最多可以选择的图片张数,默认9 sizeType: ['original', 'compressed'], // o 阅读全文
posted @ 2023-04-19 15:42 shuihanxiao 阅读(175) 评论(0) 推荐(0) 编辑
摘要:// 复制联系地址 fnCopyAddress() { wx.setClipboardData({ data: this.data.detailInfo.address, success: res => { Util.errorShow('复制联系地址成功') } }) }, // 打印小票 fnP 阅读全文
posted @ 2023-04-19 09:44 shuihanxiao 阅读(97) 评论(0) 推荐(0) 编辑
摘要:function find(str,cha,num){ var x=str.indexOf(cha); for(var i=0;i<num;i++){ x=str.indexOf(cha,x+1); } return x; } 获取一个字符串值在指定字符串第n次出现的位置 就像上面的例子,hello 阅读全文
posted @ 2023-04-17 11:10 shuihanxiao 阅读(121) 评论(0) 推荐(0) 编辑
摘要:<el-input type="textarea" style="width: 100px !important;" :max="9999" :min="0" :precision="0" :step="1" :controls="false" v-model.number="detailsData 阅读全文
posted @ 2023-04-17 10:48 shuihanxiao 阅读(467) 评论(0) 推荐(0) 编辑
摘要:this.selectedSupplielist.forEach(async item => { if (this.hasSelectSupplier.filter(ite => item.supplierSn == ite.supplierSn).length == 0) { this.hasSe 阅读全文
posted @ 2023-04-17 10:46 shuihanxiao 阅读(9) 评论(0) 推荐(0) 编辑
摘要:<template> <div> <el-checkbox v-model="checkAll" @change="handleCheckAllChange" :indeterminate="isIndeterminate" >全选</el-checkbox > <el-checkbox v-mod 阅读全文
posted @ 2023-04-17 09:35 shuihanxiao 阅读(1421) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示