去掉组装单、拆卸单查看界面的合计
This commit is contained in:
@@ -1619,11 +1619,15 @@
|
|||||||
} else if (item.purchaseStatus === '3') {
|
} else if (item.purchaseStatus === '3') {
|
||||||
showType = 'purchase'
|
showType = 'purchase'
|
||||||
}
|
}
|
||||||
|
let isReadOnly = '1'
|
||||||
|
if(item.subType === '组装单' || item.subType === '拆卸单') {
|
||||||
|
isReadOnly = '0'
|
||||||
|
}
|
||||||
let params = {
|
let params = {
|
||||||
headerId: this.model.id,
|
headerId: this.model.id,
|
||||||
mpList: getMpListShort(Vue.ls.get('materialPropertyList')), //扩展属性
|
mpList: getMpListShort(Vue.ls.get('materialPropertyList')), //扩展属性
|
||||||
linkType: showType,
|
linkType: showType,
|
||||||
isReadOnly: '1'
|
isReadOnly: isReadOnly
|
||||||
}
|
}
|
||||||
let url = this.readOnly ? this.url.detailList : this.url.detailList;
|
let url = this.readOnly ? this.url.detailList : this.url.detailList;
|
||||||
this.requestSubTableData(item, type, url, params);
|
this.requestSubTableData(item, type, url, params);
|
||||||
|
|||||||
Reference in New Issue
Block a user