From 238595017057e4bc67393915140507785f45b195 Mon Sep 17 00:00:00 2001 From: wujian <14790700720@163.com> Date: 星期三, 31 一月 2024 14:24:47 +0800 Subject: [PATCH] add 追溯报表 --- jcdm-ui/src/views/main/bs/formulaChild/index.vue | 37 +++++++++++++++++++++---------------- 1 files changed, 21 insertions(+), 16 deletions(-) diff --git a/jcdm-ui/src/views/main/bs/formulaChild/index.vue b/jcdm-ui/src/views/main/bs/formulaChild/index.vue index 864b4eb..8b1aa2c 100644 --- a/jcdm-ui/src/views/main/bs/formulaChild/index.vue +++ b/jcdm-ui/src/views/main/bs/formulaChild/index.vue @@ -148,34 +148,36 @@ </el-table-column> <el-table-column label="浜у搧缂栧彿" width="150" align="center" prop="productCode"> </el-table-column> - <el-table-column label="鎿嶄綔鍐呭" :show-overflow-tooltip='true' width="150" align="center" prop="operationSteps"> +<!-- <el-table-column label="鎿嶄綔鍐呭" :show-overflow-tooltip='true' width="150" align="center" prop="operationSteps"> + </el-table-column>--> + <el-table-column label="鎺掑簭" width="90" align="center" prop="stepSort"> </el-table-column> - <el-table-column label="鎶�鏈姹�" width="150" :show-overflow-tooltip='true' align="center" prop="techRequirement"> + <el-table-column label="鎶�鏈姹�" width="380" :show-overflow-tooltip='true' align="center" prop="techRequirement"> + </el-table-column> + <el-table-column label="鍥剧墖" :show-overflow-tooltip='true' width="130" align="center" prop="picture"> + <!-- <template slot-scope="scope">--> + <!-- <el-image--> + <!-- style="width: 100px; height: 100px"--> + <!-- :src="pjtUrl+scope.row.picture"--> + <!-- :fit="fit">--> + <!-- </el-image>--> + <!-- </template>--> </el-table-column> <el-table-column label="绫诲瀷" width="90" align="center" prop="operationType"> </el-table-column> - <el-table-column label="鎺掑簭" width="90" align="center" prop="stepSort"> - </el-table-column> + <el-table-column label="鍙傛暟缂栫爜" width="130" align="center" prop="paramCode"> </el-table-column> <el-table-column label="鐗╂枡缂栫爜" width="130" align="center" prop="materialCode"> </el-table-column> <el-table-column label="閰嶆柟缂栫爜" width="130" align="center" prop="formulaCode"> </el-table-column> - <el-table-column label="鍥剧墖" :show-overflow-tooltip='true' width="130" align="center" prop="picture"> -<!-- <template slot-scope="scope">--> -<!-- <el-image--> -<!-- style="width: 100px; height: 100px"--> -<!-- :src="pjtUrl+scope.row.picture"--> -<!-- :fit="fit">--> -<!-- </el-image>--> -<!-- </template>--> - </el-table-column> + <el-table-column label="澶囨敞" width="130" align="center" prop="remarks"> </el-table-column> <el-table-column label="鍒涘缓鐢ㄦ埛" width="130" align="center" prop="createUser"> </el-table-column> - <el-table-column label="鍒涘缓鏃堕棿" width="150" align="center" prop="createTime"> + <el-table-column label="鍒涘缓鏃堕棿" width="160" align="center" prop="createTime"> </el-table-column> <el-table-column label="鏇存敼鐢ㄦ埛" width="130" align="center" prop="updateUser"> </el-table-column> @@ -234,7 +236,7 @@ <el-input v-model="form.processesCode" placeholder="璇疯緭鍏ュ伐搴�" /> </el-form-item> <el-form-item label="浜у搧缂栧彿" prop="productCode"> - <el-input v-model="form.productCode" placeholder="璇疯緭鍏ヤ骇鍝佺紪鍙�" /> + <el-input v-model="headerInformationData.productCode" :disabled="true" placeholder="璇疯緭鍏ヤ骇鍝佺紪鍙�" /> </el-form-item> <el-form-item label="鎿嶄綔鍐呭" prop="operationSteps"> <el-input v-model="form.operationSteps" placeholder="璇疯緭鍏ユ搷浣滃唴瀹�" /> @@ -335,6 +337,7 @@ // 鎬绘潯鏁� total: 0, formulaCode: "", + productCode: "", // 閰嶆柟閰嶇疆瀛愪俊鎭〃鏍兼暟鎹� formulaChildList: [], // 寮瑰嚭灞傛爣棰� @@ -363,9 +366,11 @@ }; }, created() { - const formulaCode = this.$route.params && this.$route.params.formulaCode; + let formulaCode = this.$route.query.formulaCode; this.queryParams.formulaCode = formulaCode; this.formulaCode = formulaCode; + this.form.formulaCode = formulaCode; + this.headerInformation(); this.getList(); }, -- Gitblit v1.9.3