|
@@ -861,7 +861,7 @@ export default {
|
|
|
this.materiels = res.data;
|
|
|
this.materiels.forEach((item) => {
|
|
|
item.materielName =
|
|
|
- item.materieEncoding +
|
|
|
+ // item.materieEncoding +
|
|
|
item.materieColorNumber +
|
|
|
item.specificationModel;
|
|
|
});
|
|
@@ -997,6 +997,8 @@ export default {
|
|
|
);
|
|
|
this.excuteBtnArr[0].children.push({
|
|
|
btnName: "采购单详情",
|
|
|
+ btnHasPermi:"huaxian:cggl:yclcg:INSERT",
|
|
|
+ btnGroupType:"right",
|
|
|
btnType: "viewPurchaseOrderDetails",
|
|
|
btnIcon: "el-icon-edit",
|
|
|
btnShowCondition: "",
|
|
@@ -1004,12 +1006,15 @@ export default {
|
|
|
});
|
|
|
this.excuteBtnArr[0].children.push({
|
|
|
btnName: "采购修改",
|
|
|
+ btnHasPermi:"huaxian:cggl:yclcg:INSERT",
|
|
|
+ btnGroupType:"right",
|
|
|
btnType: "caiGouUpdate",
|
|
|
btnIcon: "el-icon-edit",
|
|
|
btnShowCondition:
|
|
|
'[{"fieldName":"purchase.data_approval_status","mark":"6","refValue":"0"}]',
|
|
|
children: [],
|
|
|
});
|
|
|
+ console.log("this.excuteBtnArr------------------",this.excuteBtnArr)
|
|
|
this.topBtnArr = res.data.resultMap.button?.filter(
|
|
|
(item) => item.btnGroupType == "top"
|
|
|
);
|