opt:修改入库木箱获取方式

This commit is contained in:
2024-05-16 17:09:19 +08:00
parent a615fa19ce
commit 96515306bd
3 changed files with 9 additions and 25 deletions

View File

@@ -108,11 +108,11 @@ public abstract class AbstractAcsTask {
* *
*/ */
public JSONObject immediateNotifyAcs(String task_id) { public JSONObject immediateNotifyAcs(String task_id) {
// List<AcsTaskDto> taskList = this.schedule(); List<AcsTaskDto> taskList = this.schedule();
// if (ObjectUtil.isNotEmpty(taskList)) { if (ObjectUtil.isNotEmpty(taskList)) {
// JSONArray arr = JSONArray.parseArray(JSON.toJSONString(taskList)); JSONArray arr = JSONArray.parseArray(JSON.toJSONString(taskList));
// return AcsUtil.notifyAcs("api/wms/task", arr); return AcsUtil.notifyAcs("api/wms/task", arr);
// } }
return null; return null;
} }

View File

@@ -326,19 +326,19 @@ export default {
row.index = rowIndex row.index = rowIndex
}, },
tableChanged(row) { tableChanged(row) {
debugger
this.form.tableMater = this.currentSelection this.form.tableMater = this.currentSelection
this.form.checked = row.material_code this.form.checked = row.material_code
debugger
this.form.sale_order_name = this.sale_order_name this.form.sale_order_name = this.sale_order_name
crudPackagerelation.updateEntityList(this.form).then(res => { crudPackagerelation.updateEntityList(this.form).then(res => {
crudSubpackagerelation.queryContainerization({ 'sale_order_name': this.sale_order_name }).then(res => { crudSubpackagerelation.queryContainerization({ 'sale_order_name': this.sale_order_name }).then(res => {
this.openParam = res.content this.openParam = res.content
this.$emit('childEvent')
this.clearSelection() this.clearSelection()
}) })
this.form.tableMater = [] this.form.tableMater = []
this.crud.notify('操作成功', CRUD.NOTIFICATION_TYPE.SUCCESS) this.crud.notify('操作成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
}) })
this.$emit('childEvent')
}, },
divStruct() { divStruct() {
if (this.currentSelection.length > 0 && this.$refs.dis_table.selection.length > 0) { if (this.currentSelection.length > 0 && this.$refs.dis_table.selection.length > 0) {

View File

@@ -66,7 +66,7 @@
:disabled="dis_flag" :disabled="dis_flag"
icon="el-icon-position" icon="el-icon-position"
size="mini" size="mini"
@click="divOpen1" @click="divOpen"
> >
分配 分配
</el-button> </el-button>
@@ -85,7 +85,6 @@
size="mini" size="mini"
@select="handleSelectionChange" @select="handleSelectionChange"
@selection-change="crud.selectionChangeHandler" @selection-change="crud.selectionChangeHandler"
@row-dblclick="handleRowDblClick"
> >
<el-table-column type="selection" /> <el-table-column type="selection" />
<el-table-column <el-table-column
@@ -218,22 +217,7 @@ export default {
this.query.status = tab.name === 'first' ? '99' : '0' this.query.status = tab.name === 'first' ? '99' : '0'
this.crud.toQuery() this.crud.toQuery()
}, },
// 表格双击事件 divOpen() {
handleRowDblClick(row, column, event) {
// 双击事件的处理逻辑
this.divOpen(row)
},
// 双击
divOpen(row) {
debugger
this.sale_order_name = row.sale_order_name
crudSubpackagerelation.queryContainerization({ 'sale_order_name': row.sale_order_name }).then(res => {
debugger
this.openParam = res.content
this.divShow = true
})
},
divOpen1() {
debugger debugger
this.sale_order_name = this.currentRow.sale_order_name this.sale_order_name = this.currentRow.sale_order_name
crudSubpackagerelation.queryContainerization({ 'sale_order_name': this.currentRow.sale_order_name }).then(res => { crudSubpackagerelation.queryContainerization({ 'sale_order_name': this.currentRow.sale_order_name }).then(res => {