金工
This commit is contained in:
@@ -118,7 +118,7 @@
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="dialogFormVisible=false">取消</el-button>
|
||||
<el-button type="primary" @click="CHUKU()">确 定</el-button>
|
||||
<el-button :disabled="wareHousing_disable" type="primary" @click="CHUKU()">确 定</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
@@ -131,6 +131,7 @@ import { initProject, searchmachine, searchgroup, searchdata, warehousing, selec
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
wareHousing_disable: false,
|
||||
entryNameValue: '', // 项目名称
|
||||
entryName: [],
|
||||
machineToolValue: '', // 机床号
|
||||
@@ -253,13 +254,13 @@ export default {
|
||||
}
|
||||
}, // 入库
|
||||
wareHousing() {
|
||||
console.log(this.shuzu, 121212)
|
||||
if (this.shuzu.length === 0) {
|
||||
this.$message.warning('请勾选出库物料')
|
||||
} else {
|
||||
this.selectDepartment()
|
||||
this.dialogFormVisible = true
|
||||
this.form.leader = ''
|
||||
this.wareHousing_disable = false
|
||||
this.dialogFormVisible = true
|
||||
}
|
||||
}, // 多选
|
||||
handleSelectionChange(val) {
|
||||
@@ -286,6 +287,7 @@ export default {
|
||||
if (this.form.name === '') {
|
||||
this.$message.error('请选择领料人')
|
||||
} else {
|
||||
this.wareHousing_disable = true
|
||||
warehousing(this.multipleSelection, this.outgoingQuantity, this.form.name, this.remarks).then(response => {
|
||||
if (response.data[0].result === '1') {
|
||||
this.$message.success('出库成功')
|
||||
|
||||
@@ -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