更新
This commit is contained in:
@@ -65,8 +65,8 @@
|
||||
<el-table-column
|
||||
align="center"
|
||||
prop="province4"
|
||||
label="投产数量"
|
||||
width="80px"
|
||||
label="投产数"
|
||||
width="75px"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template slot-scope="scope">{{ scope.row.投产数量 }}</template>
|
||||
@@ -74,8 +74,8 @@
|
||||
<el-table-column
|
||||
align="center"
|
||||
prop="province4"
|
||||
label="在产数量"
|
||||
width="80px"
|
||||
label="在产数"
|
||||
width="75px"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template slot-scope="scope">{{ scope.row.批次数量 }}</template>
|
||||
@@ -83,8 +83,8 @@
|
||||
<el-table-column
|
||||
align="center"
|
||||
prop="province4"
|
||||
label="报废数量"
|
||||
width="80px"
|
||||
label="报废数"
|
||||
width="75px"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template slot-scope="scope">{{ scope.row.报废数量 }}</template>
|
||||
@@ -92,8 +92,8 @@
|
||||
<el-table-column
|
||||
align="center"
|
||||
prop="province4"
|
||||
label="补投数量"
|
||||
width="80px"
|
||||
label="补投数"
|
||||
width="75px"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template slot-scope="scope">{{ scope.row.补投数量 }}</template>
|
||||
@@ -121,11 +121,11 @@
|
||||
<el-table-column
|
||||
align="center"
|
||||
label="操作"
|
||||
width="80px"
|
||||
width="90px"
|
||||
fixed="right"
|
||||
>
|
||||
<template slot-scope="scope" >
|
||||
<el-button :disabled="scope.row.批次零件状态 === '2'" type="primary" plain size="mini" @click="handleEdit(scope.row)">报废</el-button>
|
||||
<template slot-scope="scope">
|
||||
<el-button :disabled="scope.row.批次零件状态 === '2'" type="text" size="mini" icon="el-icon-s-help" @click="handleEdit(scope.row)">报废</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -269,29 +269,29 @@
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</el-card>
|
||||
<el-dialog v-el-drag-dialog :visible.sync="dialogeditVisible" :title="title" :close-on-click-modal="false" width="400px" center >
|
||||
<el-form ref="form2" :model="form2" :rules="rules" label-position="left">
|
||||
<el-form-item label="零件图号" label-width="90px" style="width: 299px ; display: inline-block; text-align: left;margin-left: 10px" size="small">
|
||||
<el-input v-model="form.input1" :disabled="true" auto-complete="off" style="width: 200px"/>
|
||||
<el-dialog v-el-drag-dialog :visible.sync="dialogeditVisible" :title="title" :close-on-click-modal="false" width="370px" center >
|
||||
<el-form ref="form2" :model="form2" :rules="rules" label-position="left" label-width="110px" class="demo-ruleForm">
|
||||
<el-form-item label="零件图号">
|
||||
<el-input v-model="form.input1" :disabled="true" auto-complete="off" size="small" style="width: 160px"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="报废数量" prop="报废数量" label-width="100px" style="width: 299px ; display: inline-block; text-align: left" size="small">
|
||||
<el-input-number v-model="form2.报废数量" :step="1" :min="0" :max="PCNumber" style="width: 200px"/>
|
||||
<el-form-item label="报废数量" prop="报废数量">
|
||||
<el-input-number v-model="form2.报废数量" :step="1" :min="0" :max="PCNumber" size="small" style="width: 160px"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="报废原因" prop="报废原因" label-width="100px" style="width: 299px ; display: inline-block; text-align: left" size="small">
|
||||
<el-input v-model="form2.报废原因" auto-complete="off" style="width: 200px"/>
|
||||
<el-form-item label="报废原因" prop="报废原因">
|
||||
<el-input v-model="form2.报废原因" auto-complete="off" size="small" style="width: 160px"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="报废时间" prop="报废时间" label-width="100px" style="width: 299px ; display: inline-block; text-align: left" size="small">
|
||||
<el-form-item label="报废时间" prop="报废时间">
|
||||
<el-date-picker
|
||||
v-model="form2.报废时间"
|
||||
value-format="yyyy-MM-dd"
|
||||
size="small"
|
||||
type="date"
|
||||
style="width: 200px"
|
||||
style="width: 160px"
|
||||
placeholder="选择日期"/>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div style="margin-right: 60px;margin-top: 10px">
|
||||
<el-button style="margin-left: 35%" @click="callOff('form2')">取消</el-button>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="callOff('form2')">取消</el-button>
|
||||
<el-button type="primary" @click="submit('form2')">确定</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
@@ -564,6 +564,25 @@ export default {
|
||||
.el-date-editor{
|
||||
width:200px;
|
||||
}
|
||||
.el-form--label-left >>> .el-form-item__label {
|
||||
text-align: right;
|
||||
}
|
||||
>>>.el-dialog--center .el-dialog__body {
|
||||
text-align: initial;
|
||||
padding: 10px 20px 0px
|
||||
}
|
||||
>>>.el-dialog__header {
|
||||
padding: 20px 20px 0px;
|
||||
}
|
||||
>>>.el-dialog__footer {
|
||||
padding: 0px 20px 20px;
|
||||
/*text-align: right;*/
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
>>>.el-form-item {
|
||||
margin-bottom: 13px;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
.el-table .baofei{
|
||||
|
||||
Reference in New Issue
Block a user