摘要: 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)
摘要: <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)
摘要: 发现是数据类型的问题,接口请求下拉框接口之后返回的参数是这样的 id: 1 state: "1" stockCode: "DH" stockName: "德衡仓" 字段 { label: "仓库", prop: "warehouse", type: "select", editDisabled: t 阅读全文
posted @ 2022-08-02 11:41 820820820 阅读(121) 评论(0) 推荐(0)
摘要: 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)
摘要: <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)
摘要: 解决方法:原先的 handleItemUpdate: function (row, done) { 改成 handleItemUpdate: function (row,index, done) { 解决思路:看过文档才知道,done占位第三,从一到四分别是row,index,done,loadin 阅读全文
posted @ 2022-07-29 09:14 820820820 阅读(229) 评论(0) 推荐(0)
摘要: <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)
摘要: 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)
摘要: 后台返回的数据是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)