|
@ -18,8 +18,8 @@ |
|
|
<view class="dec-item"> |
|
|
<view class="dec-item"> |
|
|
<view>合格数量:</view> |
|
|
<view>合格数量:</view> |
|
|
<view> |
|
|
<view> |
|
|
<u-number-box v-model="saveData.qualified" style="width:120px" :max="planCount" @change="valChange"></u-number-box> |
|
|
<u-number-box v-model="saveData.qualified" style="width:120px" @update:modelValue="changeQualified()" :key="Quakey"></u-number-box> |
|
|
<!-- <u-input v-model="saveData.qualified" type="number" placeholder="请输入合格数量" /> --> |
|
|
<!-- <u-input v-model="saveData.qualified" type="number" placeholder="请输入合格数量" :max="planCount" @change="valChange" /> --> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="dec-item"> |
|
|
<view class="dec-item"> |
|
@ -48,11 +48,6 @@ |
|
|
<u-select v-model="showWorker" mode="mutil-column-auto" :list="workerList" @confirm="confirmSelectWorker"></u-select> |
|
|
<u-select v-model="showWorker" mode="mutil-column-auto" :list="workerList" @confirm="confirmSelectWorker"></u-select> |
|
|
</view> |
|
|
</view> |
|
|
</u-popup> |
|
|
</u-popup> |
|
|
<u-popup v-model="showType" mode="bottom" border-radius="14" length="30%"> |
|
|
|
|
|
<view> |
|
|
|
|
|
<u-select v-model="showType" :list="typeList" @confirm="confirmSelectType"></u-select> |
|
|
|
|
|
</view> |
|
|
|
|
|
</u-popup> |
|
|
|
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
<script setup lang="ts"> |
|
@ -68,9 +63,7 @@ |
|
|
const { proxy } = getCurrentInstance() |
|
|
const { proxy } = getCurrentInstance() |
|
|
const paramData = ref() |
|
|
const paramData = ref() |
|
|
const showWorker = ref(false) |
|
|
const showWorker = ref(false) |
|
|
const showType = ref(false) |
|
|
|
|
|
const workerList = ref([]) |
|
|
const workerList = ref([]) |
|
|
const typeList = ref([{label:'是',value: '1'},{label:'否',value: '2'}]) |
|
|
|
|
|
const nodeInfo = ref({ |
|
|
const nodeInfo = ref({ |
|
|
planDayCode:'PO20240430-0011', |
|
|
planDayCode:'PO20240430-0011', |
|
|
processCode:'QD_CY_01' |
|
|
processCode:'QD_CY_01' |
|
@ -80,14 +73,26 @@ |
|
|
id:'0', |
|
|
id:'0', |
|
|
planDayCode:'', |
|
|
planDayCode:'', |
|
|
processCode:'', |
|
|
processCode:'', |
|
|
qualified:'', |
|
|
qualified:0, |
|
|
unqualified:'', |
|
|
unqualified:0, |
|
|
personSelected:[], |
|
|
personSelected:[], |
|
|
personSelectedItem:'', |
|
|
personSelectedItem:'', |
|
|
remark:"", |
|
|
remark:"", |
|
|
checkPerson:"" |
|
|
checkPerson:"" |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
const Quakey = ref(0) |
|
|
|
|
|
|
|
|
|
|
|
function changeQualified(){ |
|
|
|
|
|
Quakey.value++ |
|
|
|
|
|
if(saveData.value.qualified > planCount.value){ |
|
|
|
|
|
saveData.value.qualified = planCount.value |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
valChange() |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
//提交接口 |
|
|
//提交接口 |
|
|
function submitData(){ |
|
|
function submitData(){ |
|
|
proxy.$modal.loading('加载中') |
|
|
proxy.$modal.loading('加载中') |
|
|