金工
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('出库成功')
|
||||
|
||||
Reference in New Issue
Block a user