forked from HANYANG/HANYANG_MES
fix: 진행헌황 팝업창과 데이터 바인딩되는 부분 수정
This commit is contained in:
parent
b85b1801c1
commit
5d3cdf0839
|
|
@ -321,7 +321,6 @@ const VueOperStatusCode = createApp({
|
|||
종료시간: process['종료시간'],
|
||||
실적수량: process['실적수량'],
|
||||
}
|
||||
console.log(bindingData)
|
||||
const pop = new FieldPop(bindingData);
|
||||
pop.init();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -149,17 +149,17 @@ include_once _SVC_INC_PATH_ . "/header.php";
|
|||
<td rowspan="5">{{code.납기일}}</td>
|
||||
<td rowspan="5">{{code.작업순서}}</td>
|
||||
<td rowspan="5">{{code.완료}}</td>
|
||||
<td colspan="2" v-for="(process, index) in code.공정" :key="`process-${index}`" @click="openPop(code, index)" @mouseenter="isHover[idx][index] = true" @mouseleave="isHover[idx][index] = false" :class="{'on':isHover[idx][index]}">
|
||||
<td colspan="2" v-for="(process, index) in code.공정" :key="`process-${index}`" @click="openPop(code, index)" @mouseenter="isHover[idx][index] = true" @mouseleave="isHover[idx][index] = false" :class="{'on':isHover[idx][index], 'blue-back':process.stats=='P', 'green-back':process.stats=='C', 'orange-back':process.stats=='D', 'gray-back':process.stats=='W' }">
|
||||
{{ process.공정명 }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td v-for="n in 20" :key="`plan-${n}`" @click="openPop(code['공정'][Math.round(n / 2)-1])" @mouseenter="isHover[idx][Math.round(n / 2)-1] = true" @mouseleave="isHover[idx][Math.round(n / 2)-1] = false" :class="{'on':isHover[idx][Math.round(n / 2)-1]}">
|
||||
<td v-for="n in 20" :key="`plan-${n}`" @click="openPop(code, Math.round(n / 2)-1)" @mouseenter="isHover[idx][Math.round(n / 2)-1] = true" @mouseleave="isHover[idx][Math.round(n / 2)-1] = false" :class="{'on':isHover[idx][Math.round(n / 2)-1]}">
|
||||
{{ n % 2 === 0 ? code['공정'][n/2-1].실적수량 : code['공정'][(n-1)/2].계획수량 }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td v-for="n in 20" :key="`tm-${n}`" @click="openPop(code['공정'][Math.round(n / 2)-1])" @mouseenter="isHover[idx][Math.round(n / 2)-1] = true" @mouseleave="isHover[idx][Math.round(n / 2)-1] = false" :class="{'on':isHover[idx][Math.round(n / 2)-1]}">
|
||||
<td v-for="n in 20" :key="`tm-${n}`" @click="openPop(code, Math.round(n / 2)-1)" @mouseenter="isHover[idx][Math.round(n / 2)-1] = true" @mouseleave="isHover[idx][Math.round(n / 2)-1] = false" :class="{'on':isHover[idx][Math.round(n / 2)-1]}">
|
||||
{{ n % 2 === 0 ? code['공정'][n/2-1].종료시간 : code['공정'][(n-1)/2].투입시간 }}
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -168,7 +168,7 @@ include_once _SVC_INC_PATH_ . "/header.php";
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td v-for="n in 20" :key="`fa-${n}`" @click="openPop(code['공정'][Math.round(n / 2)-1])" @mouseenter="isHover[idx][Math.round(n / 2)-1] = true" @mouseleave="isHover[idx][Math.round(n / 2)-1] = false" :class="{'on':isHover[idx][Math.round(n / 2)-1]}">
|
||||
<td v-for="n in 20" :key="`fa-${n}`" @click="openPop(code, Math.round(n / 2)-1)" @mouseenter="isHover[idx][Math.round(n / 2)-1] = true" @mouseleave="isHover[idx][Math.round(n / 2)-1] = false" :class="{'on':isHover[idx][Math.round(n / 2)-1]}">
|
||||
{{ n % 2 === 0 ? code['공정'][n/2-1].작업자 : code['공정'][(n-1)/2].설비 }}
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Reference in New Issue