电子档案修改

dev-scheduling
jinna 2 weeks ago
parent 6e7eeadf0c
commit f78a7c323c
  1. 16
      src/views/qualityManagement/inspectionArchiving/ERecord/printDialog.vue

@ -92,8 +92,8 @@
<td colspan="4"><img :src="testManImg(index) ? testManImg(index):'/'" style="width:70px;height:25px;margin:6px 0 6px 0"></br>{{ item.factEndTime || '/' }}</td> <td colspan="4"><img :src="testManImg(index) ? testManImg(index):'/'" style="width:70px;height:25px;margin:6px 0 6px 0"></br>{{ item.factEndTime || '/' }}</td>
</template> </template>
<td colspan="4" v-else> <td colspan="4" v-else>
<!-- {{ (item.procedureSet.ppsName.indexOf('检验') != -1 || item.procedureSet.ppsName == '镀后接收') ? '/' : (testMan(index) ? (testMan(index) + ' / '+item.factEndTime):'/') }} --> {{ (item.procedureSet.ppsName.indexOf('检验') != -1 || item.procedureSet.ppsName == '镀后接收') ? '/' : (testMan(index) ? (testMan(index) + ' / '+item.factEndTime):'/') }}
曹鹏飞1/2025-06-28 <!-- 曹鹏飞1/2025-06-28 -->
</td> </td>
</tr> </tr>
<tr v-else> <tr v-else>
@ -107,8 +107,8 @@
<td colspan="3"><img :src="testManImg(index) ? testManImg(index):'/'" style="width:70px;height:25px;margin:6px 0 6px 0"></br>{{ item.factEndTime || '/' }}</td> <td colspan="3"><img :src="testManImg(index) ? testManImg(index):'/'" style="width:70px;height:25px;margin:6px 0 6px 0"></br>{{ item.factEndTime || '/' }}</td>
</template> </template>
<td colspan="3" v-else> <td colspan="3" v-else>
<!-- {{ (item.procedureSet.ppsName.indexOf('检验') != -1 || item.procedureSet.ppsName == '镀后接收') ? '/' : (testMan(index) ? (testMan(index) + ' / '+item.factEndTime):'/') }} --> {{ (item.procedureSet.ppsName.indexOf('检验') != -1 || item.procedureSet.ppsName == '镀后接收') ? '/' : (testMan(index) ? (testMan(index) + ' / '+item.factEndTime):'/') }}
曹鹏飞2/2025-06-28 <!-- 曹鹏飞2/2025-06-28 -->
</td> </td>
</tr> </tr>
<tr v-if="item.deviceCode && item.deviceCode != ''"> <tr v-if="item.deviceCode && item.deviceCode != ''">
@ -551,6 +551,7 @@ export default {
], ],
modelThree: { checkList: [], procedureSet: {}}, modelThree: { checkList: [], procedureSet: {}},
modelFour: { procedureSet: {}, prWorkOrder: { pjYieldOrder: {}}}, modelFour: { procedureSet: {}, prWorkOrder: { pjYieldOrder: {}}},
modelFive: [],
} }
}, },
created(){ created(){
@ -559,6 +560,8 @@ export default {
this.modelOne = modelOne this.modelOne = modelOne
this.modelTwo = modelTwo this.modelTwo = modelTwo
this.modelThree = modelThree this.modelThree = modelThree
this.modelFour = modelFour;
this.modelFive = modelFive;
getWordDetail({ getWordDetail({
woId:this.woId, woId:this.woId,
@ -592,6 +595,11 @@ export default {
} }
} }
}, },
testManImg(index) {
let testWorkPlan = null;
console.log(9999999,this.modelTwo[index],index)
return this.modelTwo[index].workerImgUrl;
},
getTemplateComponent(type) { getTemplateComponent(type) {
const componentName = getTemplateComponent(type); const componentName = getTemplateComponent(type);
return componentName; return componentName;

Loading…
Cancel
Save