金工
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<el-button type="primary" class="el-icon-search" size="small" plain style="margin: 0px 10px;" @click="pageCurrent = 1;pageSize = 100;getTableData()">查询</el-button>
|
||||
<el-button type="warning" class="el-icon-download" size="small" plain style="margin: 10px 0 0 10px" @click="exportExcel">导出</el-button>
|
||||
<!--<el-button :disabled="isDisabled" type="info" size="small" style="margin: 10px 10px;float: right" @click="EditConfirmNum">修改完成数量</el-button>-->
|
||||
<el-button :disabled="isDisabled" type="info" size="small" style="margin: 10px 10px;float: right" @click="EditWorkingHours">修补加工工时</el-button>
|
||||
<!--<el-button :disabled="isDisabled" type="info" size="small" style="margin: 10px 10px;float: right" @click="EditWorkingHours">修补加工工时</el-button>-->
|
||||
</el-card>
|
||||
<el-row>
|
||||
<el-col style="width: 37%">
|
||||
@@ -253,7 +253,7 @@
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="dialogFormVisible3=false">取消</el-button>
|
||||
<el-button type="primary" @click="submit3('form3')" >确定</el-button>
|
||||
<el-button :disabled="EditWorkingHours_disable" type="primary" @click="submit3('form3')" >确定</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
@@ -265,6 +265,7 @@ import { getMachines, getGroups, getTable, gettabledata1, getTree, fn, getTable8
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
EditWorkingHours_disable: false,
|
||||
index: -1,
|
||||
Machine: '', // 机床号
|
||||
Machines: [],
|
||||
@@ -408,6 +409,7 @@ export default {
|
||||
this.$refs['form3'].resetFields()
|
||||
}
|
||||
this.getPerson_Form3()
|
||||
this.EditWorkingHours_disable = false
|
||||
this.dialogFormVisible3 = true
|
||||
},
|
||||
getPerson_Form3() {
|
||||
@@ -424,6 +426,7 @@ export default {
|
||||
})
|
||||
},
|
||||
submit3() {
|
||||
this.EditWorkingHours_disable = true
|
||||
submitEdit3(this.processSerialNumber, this.form3.人员, this.form3.完成数量, this.form3.修补工时, this.form3.完成时间).then(response => {
|
||||
if (response.data[0].result === '1') {
|
||||
this.$message.success('补录成功')
|
||||
|
||||
Reference in New Issue
Block a user