diff --git a/hb_client/package.json b/hb_client/package.json index 2ba093d..d8201b2 100644 --- a/hb_client/package.json +++ b/hb_client/package.json @@ -31,6 +31,7 @@ "path-to-regexp": "^6.2.0", "vue": "^2.6.14", "vue-json-editor": "^1.4.3", + "vue-quill-editor": "^3.0.6", "vue-router": "^3.5.2", "vuex": "^3.6.2", "webpack-dev-server": "^4.2.0", diff --git a/hb_client/src/views/mtm/productprocess.vue b/hb_client/src/views/mtm/productprocess.vue index e810968..29afc03 100644 --- a/hb_client/src/views/mtm/productprocess.vue +++ b/hb_client/src/views/mtm/productprocess.vue @@ -386,12 +386,15 @@ > - + - - - + + + + + + { + getMaterialList({pageoff:true}).then((response) => { if (response.data) { - this.materialoptions = genTree(response.data.results); + this.materialoptions = genTree(response.data); } this.listLoading = false; }); @@ -546,6 +553,7 @@ export default { { this.process = id; // alert(this.process) + this.getmaterialList();//物料列表 this.getInputmaterialLists();//输入物料 this.getOutputmaterialLists();//输出物料 @@ -564,7 +572,6 @@ export default { this.listQueryinput.process=this.process; this.listQueryinput.product=this.product - //this.listQueryinput.page=0; getInputmaterialList(this.listQueryinput).then((response) => { if (response.data) { diff --git a/hb_client/src/views/sam/contract.vue b/hb_client/src/views/sam/contract.vue index a268f51..254bfad 100644 --- a/hb_client/src/views/sam/contract.vue +++ b/hb_client/src/views/sam/contract.vue @@ -112,7 +112,9 @@ - + + +