This commit is contained in:
2022-11-25 11:12:31 +08:00
2 changed files with 10 additions and 4 deletions

View File

@@ -93,7 +93,6 @@
clearable clearable
multiple multiple
reserveKeyword reserveKeyword
@change="change"
placeholder="请选择" placeholder="请选择"
style="width: 370px;" style="width: 370px;"
> >
@@ -156,7 +155,7 @@
ref="table" ref="table"
v-loading="crud.loading" v-loading="crud.loading"
:data="crud.data" :data="crud.data"
fit="false" fit="fit"
size="medium" size="medium"
style="width: 100%;" style="width: 100%;"
@selection-change="crud.selectionChangeHandler" @selection-change="crud.selectionChangeHandler"
@@ -259,6 +258,7 @@ export default {
}, },
data() { data() {
return { return {
fit: false,
routePlanList: [], routePlanList: [],
deviceList: [], deviceList: [],
deviceType: [ deviceType: [
@@ -308,6 +308,12 @@ export default {
[CRUD.HOOK.beforeRefresh]() { [CRUD.HOOK.beforeRefresh]() {
return true return true
}, },
// 钩子在获取表格数据之前执行false 则代表不获取数据
[CRUD.HOOK.beforeToEdit](data) {
this.form.device_code = Array.of(data.form.device_code.split('').join(''))
this.form.next_device_code = Array.of(data.form.next_device_code.split('').join(''))
return true
},
// 改变状态 // 改变状态
changeEnabled(data) { changeEnabled(data) {
var msg = '停用' var msg = '停用'

View File

@@ -66,10 +66,10 @@ public class PrintServiceImpl implements PrintService {
//规格 //规格
String width = box_jo.getString("width"); String width = box_jo.getString("width");
//批号 //批号
String pcsn = ""; String pcsn = box_jo.getString("date_of_production");
//入库日期 //入库日期
String date_of_FG_inbound = box_jo.getString("date_of_FG_inbound"); String date_of_FG_inbound = box_jo.getString("date_of_fg_inbound");
//毛重 //毛重
String box_weight = box_jo.getString("box_weight"); String box_weight = box_jo.getString("box_weight");
//生产日期 //生产日期