Browse Source

新需求

master
蔡玲 3 months ago
parent
commit
64c44259d9
  1. 10
      lms/nladmin-ui/src/views/wms/produceScreen/index.vue

10
lms/nladmin-ui/src/views/wms/produceScreen/index.vue

@ -136,7 +136,7 @@
>
<template slot-scope="scope">
<div class="select-wraper">
<el-select v-model="scope.row.order_code" placeholder="请选择" :disabled="value1 !== '1'">
<el-select v-model="scope.row.order_code" placeholder="请选择">
<el-option
v-for="item in options2"
:key="item.order_code"
@ -152,14 +152,14 @@
label="数量"
>
<template slot-scope="scope">
<input v-model="scope.row.material_qty" :disabled="value1 !== '1'" type="text" class="set-input" :class="{'set-input_dis': value1 !== '1'}">
<input v-model="scope.row.material_qty" type="text" class="set-input">
</template>
</el-table-column>
<el-table-column
label="操作"
>
<template>
<el-button circle :type="value1 === '1' ? 'primary' : 'info'" icon="el-icon-plus" @click="addRow" />
<el-button circle type="primary" icon="el-icon-plus" @click="addRow" />
</template>
</el-table-column>
</el-table>
@ -334,7 +334,9 @@ export default {
},
selectChange(e) {
this.popList = []
this.popList.push({ order_code: '', material_qty: '' })
if (e === '1') {
this.popList.push({ order_code: '', material_qty: '' })
}
}
}
}

Loading…
Cancel
Save