diff --git a/src/views/wpm_bx/wprList.vue b/src/views/wpm_bx/wprList.vue
index 00596fc8..42663614 100644
--- a/src/views/wpm_bx/wprList.vue
+++ b/src/views/wpm_bx/wprList.vue
@@ -62,6 +62,25 @@
+
+
+
+
+
+
+
{
let heights = document.getElementsByClassName("el-drawer__body")[0].clientHeight;
that.wprTableHeight = heights-20;
@@ -183,6 +204,18 @@ export default {
that.wprList = res;
})
},
+ getToolingOptions(){
+ let that = this;
+ that.$API.mtm.material.list.req({type: 60, page: 0}).then((res) => {
+ that.toolingOptions = Array.isArray(res) ? res : (res.results || []);
+ });
+ },
+ handleToolingChange(row, toolingId){
+ let that = this;
+ that.$API.wpm.wpr.patch.req(row.id, { tooling: toolingId || null }).then(() => {
+ that.$message.success("工装更新成功");
+ });
+ },
QRCode(row){
this.showQrCode = true;
this.$nextTick(() => {