diff --git a/src/views/inventorys/index.vue b/src/views/inventorys/index.vue index 053f6e1..a825aa9 100644 --- a/src/views/inventorys/index.vue +++ b/src/views/inventorys/index.vue @@ -4,7 +4,11 @@
-
+
+
+ 物资编码: + +
资产名称: @@ -100,7 +104,8 @@ select: { pageSize: 10, pageIndex: 1, - keyword: "", + keyword: "", + wzbm:'', is_export: 0, min: '', max: '', @@ -377,6 +382,10 @@ table_name: 'inventorys', // is_export:this.select.is_export, filter: [{ + "key": "wuzibianma", + "op": "like", + "value": this.select.wzbm, + },{ "key": "zichanmingcheng", "op": "like", "value": this.select.keyword, diff --git a/src/views/outbounds/index.vue b/src/views/outbounds/index.vue index b7ef0b0..a95ed52 100644 --- a/src/views/outbounds/index.vue +++ b/src/views/outbounds/index.vue @@ -26,16 +26,17 @@ @@ -152,6 +153,37 @@ width: 180, prop: 'jilurenyuan', align:'center' + }, + { + label: "出库详情", + width: 300, + prop: 'id_outbounds_items_outbounds_id_relation', + align:'left', + customFn: (row) => { + if(row.id_outbounds_items_outbounds_id_relation.length>0){ + return row.id_outbounds_items_outbounds_id_relation.map(item => { + return (

{item.wuzibianma}-{item.zichanmingcheng} + :{item.guigexinghao?'('+item.guigexinghao+')':''} + {item.jieyongshuliang}{item.jiliangdanwei} +

) + }) + }else{ + return + } + + } + // formatter(cell, data, value, index){ + // console.log("value",value) + // if(value.length>0){ + // let html = '' + // for(var item of value){ + // html+= `${item.wuzibianma}-${item.zichanmingcheng}${item.guigexinghao?'('+item.guigexinghao+')':''}-${item.jieyongshuliang}${item.jiliangdanwei}` + // } + // return html + // }else{ + // return '' + // } + // } }, { label: "备注",