diff --git a/src/api/purchase/goodsAccept.js b/src/api/purchase/goodsAccept.js index c0045421..a7fd57e0 100644 --- a/src/api/purchase/goodsAccept.js +++ b/src/api/purchase/goodsAccept.js @@ -19,10 +19,19 @@ export function getPurchaseDetailsList(query) { } // 外层批量验收合格API -export function acceptancePurchase(data) { +export function acceptOuterVerify(data) { return request({ - url: '/material/purchase_check_info/acceptance', - method: 'post', + url: '/material/purchase_check_info/outerVerify', + method: 'put', + data: data + }) +} + +// 内层批量验收合格API +export function acceptInnerVerifyer(data) { + return request({ + url: '/material/purchase_check_info/innerVerify', + method: 'put', data: data }) } diff --git a/src/views/material/ma/device/index.vue b/src/views/material/ma/device/index.vue index 8eb3ba81..6c69e84a 100644 --- a/src/views/material/ma/device/index.vue +++ b/src/views/material/ma/device/index.vue @@ -380,7 +380,7 @@ }, methods: { getDeviceType(){ - getDeviceType({level:2}).then(response => { + getDeviceType({level:2,skipPermission:1}).then(response => { let matTypeRes = response.data; this.materialTypeList = matTypeRes.map((item) => { return { @@ -389,7 +389,7 @@ }; }); }); - getDeviceType({level:3}).then(response => { + getDeviceType({level:3,skipPermission:1}).then(response => { let matNameRes = response.data; this.materialNameList = matNameRes.map((item) => { return { @@ -398,7 +398,7 @@ }; }); }); - getDeviceType({level:4}).then(response => { + getDeviceType({level:4,skipPermission:1}).then(response => { let matModelRes = response.data; this.materialModelList = matModelRes.map((item) => { return { diff --git a/src/views/material/purchase/goodsAccept/detail.vue b/src/views/material/purchase/goodsAccept/detail.vue index 42219fc8..a5d6086c 100644 --- a/src/views/material/purchase/goodsAccept/detail.vue +++ b/src/views/material/purchase/goodsAccept/detail.vue @@ -38,7 +38,7 @@ - + 新购到货验收 + + 导出 + 合格 @@ -58,17 +61,16 @@ 不合格 - + - @@ -87,10 +89,10 @@ @@ -150,14 +152,25 @@ - + + +
+
验收结论
+ + +
+
+ 确认 + 取消 +
+