rev:半成品任务反馈
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
>
|
||||
自动取消
|
||||
</el-button>
|
||||
<el-button
|
||||
<el-button
|
||||
slot="left"
|
||||
class="filter-item"
|
||||
type="primary"
|
||||
@@ -141,6 +141,7 @@
|
||||
<el-form-item label="出库点" prop="point_code">
|
||||
<el-select
|
||||
v-model="form2.point_code"
|
||||
:disabled="form2.checked"
|
||||
clearable
|
||||
placeholder="请选择"
|
||||
class="filter-item"
|
||||
@@ -154,6 +155,9 @@
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item prop="checked">
|
||||
<el-checkbox @change="changeBox" v-model="form2.checked">自动分出库点</el-checkbox>
|
||||
</el-form-item>-->
|
||||
</el-form>
|
||||
</div>
|
||||
<span class="crud-opts-right2">
|
||||
@@ -268,6 +272,7 @@ export default {
|
||||
gender2: ''
|
||||
},
|
||||
form2: {
|
||||
checked: false,
|
||||
unassign_qty: '0',
|
||||
assign_qty: '0',
|
||||
point_code: ''
|
||||
@@ -467,6 +472,11 @@ export default {
|
||||
return 'background: yellow'
|
||||
}
|
||||
}
|
||||
},
|
||||
changeBox() {
|
||||
if (this.form2.checked) {
|
||||
this.form2.point_code = ''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -115,6 +115,7 @@
|
||||
slot="right"
|
||||
class="filter-item"
|
||||
type="success"
|
||||
:loading="loadingAutodiv"
|
||||
:disabled="confirm_flag"
|
||||
icon="el-icon-position"
|
||||
size="mini"
|
||||
@@ -235,6 +236,7 @@ export default {
|
||||
openParam: [],
|
||||
currentRow: null,
|
||||
storlist: [],
|
||||
loadingAutodiv: false,
|
||||
storId: null
|
||||
}
|
||||
},
|
||||
@@ -324,9 +326,12 @@ export default {
|
||||
this.crud.notify('请选择一条单据', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
return
|
||||
}
|
||||
this.loadingAutodiv = true
|
||||
crudsemiproductIn.confirmTask(this.currentRow).then(res => {
|
||||
this.crud.notify('单据下发任务成功!', CRUD.NOTIFICATION_TYPE.SUCCESS)
|
||||
this.crud.toQuery()
|
||||
}).finally(() => {
|
||||
this.loadingAutodiv = false
|
||||
})
|
||||
},
|
||||
stateFormat(row, column) {
|
||||
|
||||
@@ -121,8 +121,8 @@
|
||||
<el-table-column prop="qty_unit_name" label="单位" align="center" />
|
||||
<el-table-column prop="unit_weight" label="单重" align="center" />
|
||||
<el-table-column prop="storagevehicle_code" label="载具号" align="center" />
|
||||
<el-table-column prop="point_code" label="起始位置" align="center" />
|
||||
<el-table-column prop="struct_code" label="目的位置" align="center" />
|
||||
<el-table-column prop="struct_code" label="起始位置" align="center" />
|
||||
<el-table-column prop="point_code" label="目的位置" align="center" />
|
||||
<el-table-column prop="task_code" label="任务号" align="center" />
|
||||
<el-table-column prop="task_status" label="任务状态" align="center" :formatter="formatStatus"/>
|
||||
</el-table>
|
||||
|
||||
@@ -115,6 +115,7 @@
|
||||
slot="right"
|
||||
class="filter-item"
|
||||
type="success"
|
||||
:loading="loadingAutodiv"
|
||||
:disabled="confirm_flag"
|
||||
icon="el-icon-position"
|
||||
size="mini"
|
||||
@@ -231,6 +232,7 @@ export default {
|
||||
mstrow: {},
|
||||
divShow: false,
|
||||
openParam: [],
|
||||
loadingAutodiv: false,
|
||||
currentRow: null,
|
||||
storlist: [],
|
||||
storId: null
|
||||
@@ -322,9 +324,12 @@ export default {
|
||||
this.crud.notify('请选择一条单据', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
return
|
||||
}
|
||||
this.loadingAutodiv = true
|
||||
crudsemiproductout.confirmTask(this.currentRow).then(res => {
|
||||
this.crud.notify('单据下发任务成功!', CRUD.NOTIFICATION_TYPE.SUCCESS)
|
||||
this.crud.toQuery()
|
||||
}).finally(() => {
|
||||
this.loadingAutodiv = false
|
||||
})
|
||||
},
|
||||
stateFormat(row, column) {
|
||||
|
||||
Reference in New Issue
Block a user