fix:paoaomian也和kaiaomian一样加入分批
This commit is contained in:
parent
a2e849640f
commit
11ebb98897
|
|
@ -32,7 +32,6 @@
|
|||
<el-col :span="14">
|
||||
<span style="margin: 0 0 0 20px;" v-if="route_code=='pengma'">选择物料:</span>
|
||||
<el-input ref="codeInput"
|
||||
v-if="route_code=='pengma'"
|
||||
placeholder="扫描交接物料"
|
||||
v-model="listItem.wm_in" clearable
|
||||
style="width: 120px;margin: 0 10px;"
|
||||
|
|
@ -70,7 +69,7 @@
|
|||
<span>{{ item3 }}</span>
|
||||
</div> -->
|
||||
</el-col>
|
||||
<el-col v-else-if="route_code=='kaiaomian'" :span="24" style="padding-left: 80px;margin-bottom: 20px;margin-top: -5px;">
|
||||
<el-col v-else :span="24" style="padding-left: 80px;margin-bottom: 20px;margin-top: -5px;">
|
||||
<span v-for="(item2) in wprOptions" :key="item2.wpr" style="margin-right: 10px;">
|
||||
<el-checkbox v-model="item2.checked" :label="item2.number" @change="handleChange($index)"/>
|
||||
</span>
|
||||
|
|
@ -262,11 +261,12 @@ export default {
|
|||
}else{
|
||||
//放入对应的行中的handoverb中,并且在列表中disabled
|
||||
that.wprOptions.forEach(item=>{
|
||||
if(item.number.indexOf(arr) > -1){
|
||||
if(item.number.indexOf(number) > -1){
|
||||
if(item.disabled){
|
||||
that.$message.error("该物料已被分配");
|
||||
that.form.handoverb[index].wpr = '';
|
||||
}else{
|
||||
item.checked = true;
|
||||
item.disabled = true;
|
||||
let obj = {};
|
||||
obj.number = item.number;
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@
|
|||
min-width="150"
|
||||
>
|
||||
<template #default="scope">
|
||||
<span v-if="route_code=='pengma'||route_code=='kaiaomian'" @click="rowClick(scope.row)" style="color:#0052d9;font-weight: 600;cursor: pointer;">{{scope.row.batch}}</span>
|
||||
<span v-if="route_code=='pengma'||route_code=='kaiaomian'||route_code=='paoaomian'" @click="rowClick(scope.row)" style="color:#0052d9;font-weight: 600;cursor: pointer;">{{scope.row.batch}}</span>
|
||||
<span v-else>{{scope.row.batch}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
|
|
|||
Loading…
Reference in New Issue