会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
laroux
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2022年8月3日
avue调用接口后给属性赋值
摘要: saveOrder(row, done, loading) { returnOrderNumber().then(res => { // this.form.checkoutCode = res.data.wareHouseNumber; // $set this.$set(row, 'return
阅读全文
posted @ 2022-08-03 13:19 820820820
阅读(470)
评论(0)
推荐(0)
2022年8月2日
avue自定义按钮禁用启用
摘要: <template slot-scope="{type,size,row}" slot="menu"> <el-button icon="el-icon-check" :size="size" :type="type" @click="shenhe(row)" :disabled="row.stat
阅读全文
posted @ 2022-08-02 11:59 820820820
阅读(802)
评论(0)
推荐(0)
dicData无法转换
摘要: 发现是数据类型的问题,接口请求下拉框接口之后返回的参数是这样的 id: 1 state: "1" stockCode: "DH" stockName: "德衡仓" 字段 { label: "仓库", prop: "warehouse", type: "select", editDisabled: t
阅读全文
posted @ 2022-08-02 11:41 820820820
阅读(121)
评论(0)
推荐(0)
avue-搜索解析
摘要: getList方法,需要传param(初始为空)和分页 getList() { this.showLoading = true; const data = Object.assign({ pageNum: this.page.currentPage, pageSize: this.page.page
阅读全文
posted @ 2022-08-02 10:13 820820820
阅读(873)
评论(0)
推荐(0)
2022年7月29日
avue一个完整页面
摘要: <template> <div class="app-container"> <div class="sekuai"> <span class="xunjia">其他出库单</span> </div> <div class="page-container"> <avue-crud :option="
阅读全文
posted @ 2022-07-29 11:49 820820820
阅读(332)
评论(1)
推荐(0)
avue-crud done is not a function
摘要: 解决方法:原先的 handleItemUpdate: function (row, done) { 改成 handleItemUpdate: function (row,index, done) { 解决思路:看过文档才知道,done占位第三,从一到四分别是row,index,done,loadin
阅读全文
posted @ 2022-07-29 09:14 820820820
阅读(229)
评论(0)
推荐(0)
2022年7月22日
avue-点击按钮弹出表单
摘要: <el-button type="primary" @click="showDialog">激活</el-button> this.$DialogForm.show({ title: '新增客户', width: '50%', option:this.option3 }); option3: { s
阅读全文
posted @ 2022-07-22 11:27 820820820
阅读(1622)
评论(0)
推荐(0)
avue-表单行内模式
摘要: avueform可以实现,但是avue-crud没有实现 <avue-form :option="option2" v-model="form2" > </avue-form> option2:{ menuSpan:6, column: [ { label: '姓名', prop: 'name',
阅读全文
posted @ 2022-07-22 10:58 820820820
阅读(513)
评论(0)
推荐(0)
2022年7月20日
avue-下拉框动态赋值
摘要: 后台返回的数据是map类型,如图所示 无法用dicUrl方式,改用dicData数据字典 mounted() { getCustomList2().then(res => { var column = this.findObject(this.option.column,'salesman'); c
阅读全文
posted @ 2022-07-20 17:41 820820820
阅读(2326)
评论(0)
推荐(3)
后台返回字典类型的数据给前台
摘要: 当后台返回的数据不是json而是map集合的时候,前端js中处理就将其看作是一个数组,例如后台返回的代码入下: Map<String, String> result = new HashMap<String, String>(); map.put("code", "200"); map.put("t
阅读全文
posted @ 2022-07-20 13:18 820820820
阅读(528)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告