修改自动开单(新料、改配)加库存等级查询、排序
This commit is contained in:
@@ -47,4 +47,10 @@ public class ReturnOutBillController {
|
|||||||
public ResponseEntity<Object> queryBillDtl(@RequestParam Map whereJson, Pageable page){
|
public ResponseEntity<Object> queryBillDtl(@RequestParam Map whereJson, Pageable page){
|
||||||
return new ResponseEntity<>(returnOutBillService.queryBillDtl(whereJson,page), HttpStatus.OK);
|
return new ResponseEntity<>(returnOutBillService.queryBillDtl(whereJson,page), HttpStatus.OK);
|
||||||
}
|
}
|
||||||
|
@GetMapping("/queryWashDtl")
|
||||||
|
@Log("查询软废库存")
|
||||||
|
@ApiOperation("查询软废库存")
|
||||||
|
public ResponseEntity<Object> queryWashDtl(@RequestParam Map whereJson, Pageable page){
|
||||||
|
return new ResponseEntity<>(returnOutBillService.queryWashDtl(whereJson,page), HttpStatus.OK);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,4 +30,12 @@ public interface ReturnOutBillService {
|
|||||||
* @return Map<String, Object>
|
* @return Map<String, Object>
|
||||||
*/
|
*/
|
||||||
Map<String, Object> queryBillDtl(Map whereJson, Pageable page);
|
Map<String, Object> queryBillDtl(Map whereJson, Pageable page);
|
||||||
|
/**
|
||||||
|
* 查询数据分页
|
||||||
|
*
|
||||||
|
* @param whereJson 条件
|
||||||
|
* @param page 分页参数
|
||||||
|
* @return Map<String, Object>
|
||||||
|
*/
|
||||||
|
Map<String, Object> queryWashDtl(Map whereJson, Pageable page);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ import com.alibaba.fastjson.JSONObject;
|
|||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.nl.utils.SpringContextHolder;
|
import org.nl.utils.SpringContextHolder;
|
||||||
|
import org.nl.wms.basedata.master.constant.MaterOptTypeEnum;
|
||||||
import org.nl.wms.basedata.master.service.ClassstandardService;
|
import org.nl.wms.basedata.master.service.ClassstandardService;
|
||||||
import org.nl.wms.st.core.service.ReturnOutBillService;
|
import org.nl.wms.st.core.service.ReturnOutBillService;
|
||||||
import org.nl.wql.WQL;
|
import org.nl.wql.WQL;
|
||||||
@@ -161,4 +162,19 @@ public class ReturnOutBillServiceImpl implements ReturnOutBillService {
|
|||||||
return jo;
|
return jo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Map<String, Object> queryWashDtl(Map whereJson, Pageable page) {
|
||||||
|
HashMap<String, String> map = new HashMap<>(whereJson);
|
||||||
|
if (StrUtil.isNotEmpty(map.get("search"))) {
|
||||||
|
map.put("search", "%" + map.get("search") + "%");
|
||||||
|
}
|
||||||
|
if (StrUtil.isNotEmpty(map.get("pcsn"))) {
|
||||||
|
map.put("pcsn", "%" + map.get("pcsn") + "%");
|
||||||
|
}
|
||||||
|
map.put("flag", "4");
|
||||||
|
map.put("material_ids", MaterOptTypeEnum.RF.getClass_idStr());
|
||||||
|
JSONObject jo = WQL.getWO("QST_IVT_RETURNOUTBILL").addParamMap(map).pageQuery(WqlUtil.getHttpContext(page), "mb.material_id desc");
|
||||||
|
return jo;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,9 +23,11 @@
|
|||||||
输入.mater_type TYPEAS f_string
|
输入.mater_type TYPEAS f_string
|
||||||
输入.query_type TYPEAS s_string
|
输入.query_type TYPEAS s_string
|
||||||
输入.searchid TYPEAS s_string
|
输入.searchid TYPEAS s_string
|
||||||
|
输入.is_active TYPEAS s_string
|
||||||
输入.bucketunique TYPEAS s_string
|
输入.bucketunique TYPEAS s_string
|
||||||
输入.pcsn TYPEAS s_string
|
输入.pcsn TYPEAS s_string
|
||||||
输入.storagevehicle_code TYPEAS s_string
|
输入.storagevehicle_code TYPEAS s_string
|
||||||
|
输入.material_ids TYPEAS f_string
|
||||||
[临时表]
|
[临时表]
|
||||||
--这边列出来的临时表就会在运行期动态创建
|
--这边列出来的临时表就会在运行期动态创建
|
||||||
|
|
||||||
@@ -216,3 +218,55 @@
|
|||||||
ENDSELECT
|
ENDSELECT
|
||||||
ENDPAGEQUERY
|
ENDPAGEQUERY
|
||||||
ENDIF
|
ENDIF
|
||||||
|
|
||||||
|
IF 输入.flag = "4"
|
||||||
|
PAGEQUERY
|
||||||
|
SELECT
|
||||||
|
structivt.*,
|
||||||
|
mb.material_name,
|
||||||
|
mb.material_code,
|
||||||
|
'' AS remark
|
||||||
|
FROM
|
||||||
|
(
|
||||||
|
SELECT
|
||||||
|
SUM( ivt.canuse_qty ) AS plan_qty,
|
||||||
|
SUM( ivt.ivt_qty ) AS sum_qty,
|
||||||
|
ivt.qty_unit_id,
|
||||||
|
ivt.qty_unit_name,
|
||||||
|
ivt.material_id,
|
||||||
|
ivt.pcsn,
|
||||||
|
ivt.is_active,
|
||||||
|
ivt.ivt_level,
|
||||||
|
ivt.quality_scode
|
||||||
|
FROM
|
||||||
|
st_ivt_structivt ivt
|
||||||
|
GROUP BY
|
||||||
|
ivt.material_id,
|
||||||
|
ivt.pcsn,
|
||||||
|
ivt.is_active,
|
||||||
|
ivt.ivt_level,
|
||||||
|
ivt.quality_scode,
|
||||||
|
ivt.qty_unit_id,
|
||||||
|
ivt.qty_unit_name
|
||||||
|
) structivt
|
||||||
|
LEFT JOIN md_me_materialbase mb ON mb.material_id = structivt.material_id
|
||||||
|
WHERE
|
||||||
|
1 = 1
|
||||||
|
AND structivt.plan_qty > 0
|
||||||
|
OPTION 输入.search <> ""
|
||||||
|
(mb.material_code like 输入.search
|
||||||
|
OR
|
||||||
|
mb.material_name like 输入.search)
|
||||||
|
ENDOPTION
|
||||||
|
OPTION 输入.pcsn <> ""
|
||||||
|
structivt.pcsn like 输入.pcsn
|
||||||
|
ENDOPTION
|
||||||
|
OPTION 输入.is_active <> ""
|
||||||
|
structivt.is_active = 输入.is_active
|
||||||
|
ENDOPTION
|
||||||
|
OPTION 输入.material_ids <> ""
|
||||||
|
mb.material_type_id in 输入.material_ids
|
||||||
|
ENDOPTION
|
||||||
|
ENDSELECT
|
||||||
|
ENDPAGEQUERY
|
||||||
|
ENDIF
|
||||||
|
|||||||
@@ -108,6 +108,16 @@
|
|||||||
<span v-if="crud.status.cu > 0" class="crud-opts-right2">
|
<span v-if="crud.status.cu > 0" class="crud-opts-right2">
|
||||||
<!--左侧插槽-->
|
<!--左侧插槽-->
|
||||||
<slot name="left" />
|
<slot name="left" />
|
||||||
|
<el-button
|
||||||
|
slot="left"
|
||||||
|
class="filter-item"
|
||||||
|
type="primary"
|
||||||
|
icon="el-icon-plus"
|
||||||
|
size="mini"
|
||||||
|
@click="queryDtl()"
|
||||||
|
>
|
||||||
|
添加库存物料
|
||||||
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
slot="left"
|
slot="left"
|
||||||
class="filter-item"
|
class="filter-item"
|
||||||
@@ -140,7 +150,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="material_name" label="物料名称" align="center" min-width="150px" show-overflow-tooltip />
|
<el-table-column prop="material_name" label="物料名称" align="center" min-width="150px" show-overflow-tooltip />
|
||||||
<el-table-column show-overflow-tooltip prop="pcsn" label="批次号" align="center">
|
<el-table-column show-overflow-tooltip prop="pcsn" width="120" label="批次号" align="center">
|
||||||
<template scope="scope">
|
<template scope="scope">
|
||||||
<el-input v-show="!scope.row.edit" v-model="scope.row.pcsn" size="mini" />
|
<el-input v-show="!scope.row.edit" v-model="scope.row.pcsn" size="mini" />
|
||||||
<span v-show="scope.row.edit">{{ scope.row.pcsn }}</span>
|
<span v-show="scope.row.edit">{{ scope.row.pcsn }}</span>
|
||||||
@@ -218,6 +228,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
<AddDtl :dialog-show.sync="dtlShow" @tableChanged="tableChanged" />
|
||||||
<MaterDialog :dialog-show.sync="materShow" :mater-opt-code.sync="materType" @tableChanged2="tableChanged2" />
|
<MaterDialog :dialog-show.sync="materShow" :mater-opt-code.sync="materType" @tableChanged2="tableChanged2" />
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
@@ -225,6 +236,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import CRUD, { crud, form } from '@crud/crud'
|
import CRUD, { crud, form } from '@crud/crud'
|
||||||
import MaterDialog from '@/views/wms/pub/MaterDialog'
|
import MaterDialog from '@/views/wms/pub/MaterDialog'
|
||||||
|
import AddDtl from '@/views/wms/st/core/outbill/wastewashoutbill/AddDtl'
|
||||||
import checkoutbill from '@/api/wms/st/core/outbill/checkoutbill'
|
import checkoutbill from '@/api/wms/st/core/outbill/checkoutbill'
|
||||||
import crudStorattr from '@/api/wms/basedata/st/storattr'
|
import crudStorattr from '@/api/wms/basedata/st/storattr'
|
||||||
import crudRawAssist from '@/api/wms/st/core/inbill/rawassist'
|
import crudRawAssist from '@/api/wms/st/core/inbill/rawassist'
|
||||||
@@ -245,7 +257,7 @@ const defaultForm = {
|
|||||||
}
|
}
|
||||||
export default {
|
export default {
|
||||||
name: 'AddDialog',
|
name: 'AddDialog',
|
||||||
components: { MaterDialog },
|
components: { AddDtl, MaterDialog },
|
||||||
mixins: [crud(), form(defaultForm)],
|
mixins: [crud(), form(defaultForm)],
|
||||||
props: {
|
props: {
|
||||||
dialogShow: {
|
dialogShow: {
|
||||||
@@ -260,6 +272,7 @@ export default {
|
|||||||
materType: '',
|
materType: '',
|
||||||
materShow: false,
|
materShow: false,
|
||||||
flagnow: false,
|
flagnow: false,
|
||||||
|
dtlShow: false,
|
||||||
nowrow: {},
|
nowrow: {},
|
||||||
nowindex: '',
|
nowindex: '',
|
||||||
storlist: [],
|
storlist: [],
|
||||||
@@ -354,6 +367,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
tableChanged(rows) {
|
tableChanged(rows) {
|
||||||
|
// 插入第一条
|
||||||
const tablemap = new Map()
|
const tablemap = new Map()
|
||||||
rows.forEach((item) => {
|
rows.forEach((item) => {
|
||||||
if (this.form.tableData.length !== 0) {
|
if (this.form.tableData.length !== 0) {
|
||||||
@@ -364,18 +378,12 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!this.flagnow) {
|
if (!this.flagnow) {
|
||||||
item.edit = true
|
item.edit = false
|
||||||
item.quality_scode = '02'
|
|
||||||
item.ivt_level = '01'
|
|
||||||
item.is_active = '0'
|
|
||||||
item.bill_status = '10'
|
item.bill_status = '10'
|
||||||
tablemap.set(item.material_id, item)
|
tablemap.set(item.material_id, item)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
item.edit = true
|
item.edit = false
|
||||||
item.quality_scode = '02'
|
|
||||||
item.ivt_level = '01'
|
|
||||||
item.is_active = '0'
|
|
||||||
item.bill_status = '10'
|
item.bill_status = '10'
|
||||||
tablemap.set(item.material_id, item)
|
tablemap.set(item.material_id, item)
|
||||||
}
|
}
|
||||||
@@ -385,6 +393,13 @@ export default {
|
|||||||
}
|
}
|
||||||
this.form.detail_count = this.form.tableData.length
|
this.form.detail_count = this.form.tableData.length
|
||||||
},
|
},
|
||||||
|
async queryDtl() {
|
||||||
|
if (this.form.bill_type === '') {
|
||||||
|
this.crud.notify('请选择业务类型!', CRUD.NOTIFICATION_TYPE.INFO)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this.dtlShow = true
|
||||||
|
},
|
||||||
tableChanged2(row) {
|
tableChanged2(row) {
|
||||||
for (let i = 0; i < this.form.tableData.length; i++) {
|
for (let i = 0; i < this.form.tableData.length; i++) {
|
||||||
if (this.form.tableData[i].material_id === row.material_id) {
|
if (this.form.tableData[i].material_id === row.material_id) {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
title="到货单物料选择"
|
title="库存物料选择"
|
||||||
append-to-body
|
append-to-body
|
||||||
:visible.sync="dialogVisible"
|
:visible.sync="dialogVisible"
|
||||||
destroy-on-close
|
destroy-on-close
|
||||||
@@ -12,40 +12,6 @@
|
|||||||
<!--工具栏-->
|
<!--工具栏-->
|
||||||
<div class="head-container">
|
<div class="head-container">
|
||||||
<!-- 搜索 -->
|
<!-- 搜索 -->
|
||||||
<el-input
|
|
||||||
v-model="query.receive_code"
|
|
||||||
clearable
|
|
||||||
size="mini"
|
|
||||||
placeholder="订单编号"
|
|
||||||
style="width: 200px;"
|
|
||||||
class="filter-item"
|
|
||||||
@keyup.enter.native="crud.toQuery"
|
|
||||||
/>
|
|
||||||
<el-input
|
|
||||||
v-model="query.source_bill_code"
|
|
||||||
clearable
|
|
||||||
size="mini"
|
|
||||||
placeholder="到货单号"
|
|
||||||
style="width: 200px;"
|
|
||||||
class="filter-item"
|
|
||||||
@keyup.enter.native="crud.toQuery"
|
|
||||||
/>
|
|
||||||
<date-range-picker v-model="query.createTime" class="date-item" />
|
|
||||||
<el-select
|
|
||||||
v-model="query.status"
|
|
||||||
clearable
|
|
||||||
size="mini"
|
|
||||||
placeholder="单据状态"
|
|
||||||
class="filter-item"
|
|
||||||
style="width: 230px;"
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in receiveStatusList"
|
|
||||||
:key="item.code"
|
|
||||||
:label="item.name"
|
|
||||||
:value="item.code"
|
|
||||||
/>
|
|
||||||
</el-select>
|
|
||||||
<el-input
|
<el-input
|
||||||
v-model="query.search"
|
v-model="query.search"
|
||||||
clearable
|
clearable
|
||||||
@@ -55,6 +21,30 @@
|
|||||||
class="filter-item"
|
class="filter-item"
|
||||||
@keyup.enter.native="crud.toQuery"
|
@keyup.enter.native="crud.toQuery"
|
||||||
/>
|
/>
|
||||||
|
<el-input
|
||||||
|
v-model="query.pcsn"
|
||||||
|
clearable
|
||||||
|
size="mini"
|
||||||
|
placeholder="批次号"
|
||||||
|
style="width: 200px;"
|
||||||
|
class="filter-item"
|
||||||
|
@keyup.enter.native="crud.toQuery"
|
||||||
|
/>
|
||||||
|
<el-select
|
||||||
|
v-model="query.is_active"
|
||||||
|
clearable
|
||||||
|
size="mini"
|
||||||
|
placeholder="是否可用"
|
||||||
|
class="filter-item"
|
||||||
|
@change="crud.toQuery"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item in dict.is_usable"
|
||||||
|
:key="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
:value="item.value"
|
||||||
|
/>
|
||||||
|
</el-select>
|
||||||
<rrOperation />
|
<rrOperation />
|
||||||
</div>
|
</div>
|
||||||
<!--表格渲染-->
|
<!--表格渲染-->
|
||||||
@@ -67,19 +57,15 @@
|
|||||||
:header-cell-style="{background:'#f5f7fa',color:'#606266'}"
|
:header-cell-style="{background:'#f5f7fa',color:'#606266'}"
|
||||||
>
|
>
|
||||||
<el-table-column type="selection" width="55" />
|
<el-table-column type="selection" width="55" />
|
||||||
<el-table-column show-overflow-tooltip prop="receive_code" width="150" label="订单编号" />
|
|
||||||
<el-table-column show-overflow-tooltip prop="base_bill_code" width="150" label="到货单号" />
|
|
||||||
<el-table-column show-overflow-tooltip prop="source_name" label="供应商" />
|
|
||||||
<el-table-column show-overflow-tooltip prop="material_code" width="150" label="物料编码" />
|
<el-table-column show-overflow-tooltip prop="material_code" width="150" label="物料编码" />
|
||||||
<el-table-column show-overflow-tooltip prop="material_name" label="物料名称" />
|
<el-table-column show-overflow-tooltip prop="material_name" label="物料名称" />
|
||||||
<el-table-column show-overflow-tooltip prop="pcsn" label="批次" />
|
<el-table-column show-overflow-tooltip prop="pcsn" label="批次" />
|
||||||
<el-table-column show-overflow-tooltip prop="receive_qty" :formatter="crud.formatNum3" width="120" label="到货重量" />
|
<el-table-column prop="quality_scode" label="品质类型" align="center" width="110px" :formatter="quality_scodeFormat" />
|
||||||
<el-table-column show-overflow-tooltip prop="instor_qty" :formatter="crud.formatNum3" label="入库重量" />
|
<el-table-column prop="ivt_level" label="库存等级" align="center" width="100px" :formatter="ivt_levelFormat" />
|
||||||
<el-table-column show-overflow-tooltip prop="plan_qty" label="检测重量" />
|
<el-table-column prop="is_active" label="是否可用" align="center" width="110px" :formatter="is_activeFormat" />
|
||||||
|
<el-table-column show-overflow-tooltip prop="sum_qty" :formatter="crud.formatNum3" width="120" label="库存重量" />
|
||||||
|
<el-table-column show-overflow-tooltip prop="plan_qty" :formatter="crud.formatNum3" label="可用重量" />
|
||||||
<el-table-column show-overflow-tooltip prop="qty_unit_name" label="重量单位" />
|
<el-table-column show-overflow-tooltip prop="qty_unit_name" label="重量单位" />
|
||||||
<el-table-column show-overflow-tooltip prop="status" label="状态" :formatter="stateFormat" />
|
|
||||||
<el-table-column show-overflow-tooltip prop="input_optname" label="创建人" />
|
|
||||||
<el-table-column show-overflow-tooltip prop="receive_date" width="120" label="到货日期" />
|
|
||||||
</el-table>
|
</el-table>
|
||||||
<!--分页组件-->
|
<!--分页组件-->
|
||||||
<pagination />
|
<pagination />
|
||||||
@@ -95,15 +81,13 @@
|
|||||||
import CRUD, { header, presenter } from '@crud/crud'
|
import CRUD, { header, presenter } from '@crud/crud'
|
||||||
import rrOperation from '@crud/RR.operation'
|
import rrOperation from '@crud/RR.operation'
|
||||||
import pagination from '@crud/Pagination'
|
import pagination from '@crud/Pagination'
|
||||||
import DateRangePicker from '@/components/DateRangePicker/index'
|
|
||||||
import crudReceivemst from '@/api/wms/pcs/receivemst'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'AddDtl',
|
name: 'AddDtl',
|
||||||
components: { rrOperation, pagination, DateRangePicker },
|
components: { rrOperation, pagination },
|
||||||
cruds() {
|
cruds() {
|
||||||
return CRUD({ title: '用户', url: 'api/returnoutbill/addDtl',
|
return CRUD({ title: '用户', url: 'api/returnoutbill/queryWashDtl',
|
||||||
query: { receive_code: '', source_bill_code: '', status: '', search: '', mater_type: '' },
|
query: { pcsn: '', search: '', is_active: '' },
|
||||||
optShow: {
|
optShow: {
|
||||||
add: false,
|
add: false,
|
||||||
edit: false,
|
edit: false,
|
||||||
@@ -112,21 +96,17 @@ export default {
|
|||||||
download: false
|
download: false
|
||||||
}})
|
}})
|
||||||
},
|
},
|
||||||
|
dicts: [ 'ST_QUALITY_SCODE', 'ST_IVT_LEVEL', 'is_usable'],
|
||||||
mixins: [presenter(), header()],
|
mixins: [presenter(), header()],
|
||||||
props: {
|
props: {
|
||||||
dialogShow: {
|
dialogShow: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
|
||||||
openParam: {
|
|
||||||
type: String
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
dialogVisible: false,
|
dialogVisible: false,
|
||||||
receiveStatusList: [],
|
|
||||||
opendtlParam: '',
|
|
||||||
rows: []
|
rows: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -135,36 +115,26 @@ export default {
|
|||||||
handler(newValue, oldValue) {
|
handler(newValue, oldValue) {
|
||||||
this.dialogVisible = newValue
|
this.dialogVisible = newValue
|
||||||
}
|
}
|
||||||
},
|
|
||||||
openParam: {
|
|
||||||
handler(newValue, oldValue) {
|
|
||||||
this.opendtlParam = newValue
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
crudReceivemst.getStatus().then(res => {
|
|
||||||
this.receiveStatusList = res
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
[CRUD.HOOK.beforeRefresh]() {
|
|
||||||
this.crud.query.mater_type = this.opendtlParam
|
|
||||||
},
|
|
||||||
close() {
|
close() {
|
||||||
this.crud.resetQuery(false)
|
this.crud.resetQuery(false)
|
||||||
this.$emit('update:dialogShow', false)
|
this.$emit('update:dialogShow', false)
|
||||||
},
|
},
|
||||||
open() {
|
open() {
|
||||||
this.crud.query.mater_type = this.opendtlParam
|
|
||||||
this.crud.toQuery()
|
this.crud.toQuery()
|
||||||
},
|
},
|
||||||
stateFormat(row, column) {
|
quality_scodeFormat(row) {
|
||||||
for (const item of this.receiveStatusList) {
|
return this.dict.label.ST_QUALITY_SCODE[row.quality_scode]
|
||||||
if (item.code === row.status) {
|
},
|
||||||
return item.name
|
ivt_levelFormat(row) {
|
||||||
}
|
return this.dict.label.ST_IVT_LEVEL[row.ivt_level]
|
||||||
}
|
},
|
||||||
|
is_activeFormat(row) {
|
||||||
|
return this.dict.label.is_usable[row.is_active]
|
||||||
},
|
},
|
||||||
submit() {
|
submit() {
|
||||||
this.rows = this.$refs.multipleTable.selection
|
this.rows = this.$refs.multipleTable.selection
|
||||||
|
|||||||
Reference in New Issue
Block a user