04 2023 档案
摘要:onLaunch() { // 展示本地存储能力 const logs = wx.getStorageSync('logs') || [] logs.unshift(Date.now()) wx.setStorageSync('logs', logs) // 获取系统信息 this.globalDa
阅读全文
摘要://调用图片和相机 choosePic() { console.log("table") var _this = this wx.chooseImage({ count: 9, // 最多可以选择的图片张数,默认9 sizeType: ['original', 'compressed'], // o
阅读全文
摘要:// 复制联系地址 fnCopyAddress() { wx.setClipboardData({ data: this.data.detailInfo.address, success: res => { Util.errorShow('复制联系地址成功') } }) }, // 打印小票 fnP
阅读全文
摘要: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
阅读全文
摘要:<el-input type="textarea" style="width: 100px !important;" :max="9999" :min="0" :precision="0" :step="1" :controls="false" v-model.number="detailsData
阅读全文
摘要:this.selectedSupplielist.forEach(async item => { if (this.hasSelectSupplier.filter(ite => item.supplierSn == ite.supplierSn).length == 0) { this.hasSe
阅读全文
摘要:<template> <div> <el-checkbox v-model="checkAll" @change="handleCheckAllChange" :indeterminate="isIndeterminate" >全选</el-checkbox > <el-checkbox v-mod
阅读全文