opt:印尼海亮优化
This commit is contained in:
@@ -519,7 +519,6 @@
|
||||
sub.net_weight_convert,
|
||||
sub.gross_weight_convert,
|
||||
sub.warranty_expire_date,
|
||||
replace(CONCAT( sub.thickness_request, '*', sub.width_standard ),'.0','') AS spec,
|
||||
sub.thickness,
|
||||
sub.box_weight,
|
||||
sub.length,
|
||||
@@ -686,7 +685,6 @@
|
||||
sub.actual_value,
|
||||
mst.remark,
|
||||
sub.container_name,
|
||||
replace(CONCAT( sub.thickness_request, '*', sub.width_standard ),'.0','') AS spec,
|
||||
CONCAT( sub.box_length,'*',sub.box_width,'*',sub.box_high) AS box_size
|
||||
FROM
|
||||
(
|
||||
|
||||
@@ -142,7 +142,6 @@ public class MaterialbaseServiceImpl extends ServiceImpl<MdMeMaterialBaseMapper,
|
||||
String currentUserId = SecurityUtils.getCurrentUserId();
|
||||
String nickName = SecurityUtils.getCurrentNickName();
|
||||
String now = DateUtil.now();
|
||||
|
||||
dto.setMaterial_id(IdUtil.getSnowflake(1, 1).nextId());
|
||||
dto.setCreate_id(currentUserId);
|
||||
dto.setCreate_name(nickName);
|
||||
@@ -234,7 +233,7 @@ public class MaterialbaseServiceImpl extends ServiceImpl<MdMeMaterialBaseMapper,
|
||||
}
|
||||
return newParentArray;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public List<JSONObject> getMaterialAllByCodes(List<String> materialCodes) {
|
||||
LambdaQueryWrapper<MdMeMaterialBase> lam = new LambdaQueryWrapper<>();
|
||||
|
||||
@@ -784,6 +784,7 @@
|
||||
LEFT JOIN PDM_BI_SubPackageRelation sub ON ivt.pcsn = sub.container_name AND sub.status = '2' AND attr.storagevehicle_code = sub.package_box_sn
|
||||
WHERE
|
||||
attr.is_delete = '0'
|
||||
AND ivt.canuse_qty <![CDATA[ <> ]]> '0'
|
||||
AND attr.is_used = '1'
|
||||
AND attr.storagevehicle_code = #{boxNo}
|
||||
</select>
|
||||
|
||||
@@ -84,6 +84,11 @@ public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept> impl
|
||||
|
||||
@Override
|
||||
public Page queryVo(DeptQuery query, PageQuery pageQuery) {
|
||||
if("true".equals(query.getIs_used())){
|
||||
query.setIs_used("1");
|
||||
} else {
|
||||
query.setIs_used("0");
|
||||
}
|
||||
if (query.getPid_is_null() == null) {
|
||||
if (query.getPid() == null) {
|
||||
query.setPid_is_null(true);
|
||||
|
||||
@@ -667,31 +667,32 @@ public class InBillQueryServiceImpl implements InBillQueryService {
|
||||
for (int i = 0; i < inBillPageVos.size(); i++) {
|
||||
InBillPageVo billPageVo = inBillPageVos.get(i);
|
||||
Map<String, Object> mp = new LinkedHashMap<>();
|
||||
mp.put("成品卷号 \nSub-roll number", billPageVo.getContainer_name());
|
||||
mp.put("入库日期\nWarehousing date", billPageVo.getConfirm_time());
|
||||
mp.put("装箱日期\nPacking date", billPageVo.getDate_of_production().replace("-", "/"));
|
||||
mp.put("客户名称\nCustomer name", billPageVo.getCustomer_description());
|
||||
mp.put("成品卷号", billPageVo.getContainer_name());
|
||||
mp.put("入库日期", billPageVo.getConfirm_time());
|
||||
mp.put("装箱日期", billPageVo.getDate_of_production().replace("-", "/"));
|
||||
mp.put("客户名称", billPageVo.getCust_name());
|
||||
try {
|
||||
mp.put("订单号\nPO number", billPageVo.getSale_order_name().substring(0, billPageVo.getSale_order_name().indexOf("-")));
|
||||
mp.put("订单号", billPageVo.getSale_order_name().substring(0, billPageVo.getSale_order_name().indexOf("-")));
|
||||
} catch (Exception e) {
|
||||
mp.put("订单号\nPO number", billPageVo.getSale_order_name());
|
||||
mp.put("订单号", billPageVo.getSale_order_name());
|
||||
}
|
||||
mp.put("批号\nBatch number", billPageVo.getCustomer_batch_number());
|
||||
mp.put("物料号\nMaterial number", billPageVo.getCustomer_material_code());
|
||||
mp.put("箱号\nBox number", billPageVo.getBox_no());
|
||||
mp.put("客户箱号/序列号\nCustomer Box number/Serial number", billPageVo.getBox_customer_sn() );
|
||||
mp.put("客户卷号\nCustomer Roll Number", billPageVo.getCustomer_roll_name());
|
||||
mp.put("客户要求厚度\n", billPageVo.getThickness_request());
|
||||
mp.put("客户要求幅宽\n", billPageVo.getWidth_standard());
|
||||
mp.put("规格\nSpec", billPageVo.getSpec());
|
||||
mp.put("子卷净重\nRoll net weight", NumberUtil.round(StrUtil.isEmpty(billPageVo.getNet_weight()) ? "0" : billPageVo.getNet_weight(), 1));
|
||||
mp.put("米数(长度)\nLength", NumberUtil.round(StrUtil.isEmpty(billPageVo.getLength()) ? "0" : billPageVo.getLength(), 1));
|
||||
mp.put("净重合计\nTotal net weight",billPageVo.getTotal_net_weight());
|
||||
mp.put("毛重合计\nTotal gross weight", NumberUtil.round(StrUtil.isEmpty(billPageVo.getBox_weight()) ? "0" : billPageVo.getBox_weight(), 1));
|
||||
mp.put("备注\n", billPageVo.getRoll_remark());
|
||||
mp.put("净重转换\nnet weight convert",billPageVo.getNet_weight_convert());
|
||||
mp.put("毛重转换\ngross weight convert",billPageVo.getGross_weight_convert());
|
||||
mp.put("质保截止日期\n",billPageVo.getWarranty_expire_date());
|
||||
mp.put("批号", billPageVo.getCustomer_batch_number());
|
||||
mp.put("物料号", billPageVo.getCustomer_material_code());
|
||||
mp.put("箱号", billPageVo.getBox_no());
|
||||
mp.put("客户箱号/序列号", billPageVo.getBox_customer_sn() );
|
||||
mp.put("客户卷号", billPageVo.getCustomer_roll_name());
|
||||
mp.put("客户要求厚度", billPageVo.getThickness_request());
|
||||
mp.put("客户要求幅宽", String.format("%.0f", Double.parseDouble(billPageVo.getWidth_standard())));
|
||||
//怎么取 现在还不明确
|
||||
mp.put("规格", billPageVo.getThickness_request());
|
||||
mp.put("子卷净重", NumberUtil.round(StrUtil.isEmpty(billPageVo.getNet_weight()) ? "0" : billPageVo.getNet_weight(), 1));
|
||||
mp.put("米数(长度)", NumberUtil.round(StrUtil.isEmpty(billPageVo.getLength()) ? "0" : billPageVo.getLength(), 1));
|
||||
mp.put("净重合计",billPageVo.getTotal_net_weight());
|
||||
mp.put("毛重合计", NumberUtil.round(StrUtil.isEmpty(billPageVo.getBox_weight()) ? "0" : billPageVo.getBox_weight(), 1));
|
||||
mp.put("备注", billPageVo.getRoll_remark());
|
||||
mp.put("净重转换",billPageVo.getNet_weight_convert());
|
||||
mp.put("毛重转换",billPageVo.getGross_weight_convert());
|
||||
mp.put("质保截止日期",billPageVo.getWarranty_expire_date());
|
||||
list.add(mp);
|
||||
}
|
||||
|
||||
|
||||
@@ -49,6 +49,26 @@ var config = {
|
||||
"mesErrorTitle": "MES Error"
|
||||
},
|
||||
"common": {
|
||||
"siteAlreadySet":"Site already set",
|
||||
"outboundAllocation":"Outbound Allocation",
|
||||
"allocateAll":"Allocate All",
|
||||
"cancelAll":"Cancel All",
|
||||
"autoAllocate":"Auto Allocate",
|
||||
"autoCancel":"Auto Cancel",
|
||||
"manualAllocate":"Manual Allocate",
|
||||
"oneClickSetting":"One-Click Setting",
|
||||
"allocationDetails":"Allocation Details",
|
||||
"outboundPoint":"Outbound Point",
|
||||
"setSite":"Set Site",
|
||||
"saveChanges":"Save Changes",
|
||||
"doNotShipOverdue":"Do not ship overdue items",
|
||||
"shipOverdue":"Ship overdue items",
|
||||
"isAbnormalOutbound":"Abnormal outbound",
|
||||
"allocationSuccessful":"Allocation successful",
|
||||
"pleaseSelectSiteFirst":"Please select a site first",
|
||||
"siteHasBeenSet":"Site has been set",
|
||||
"settingSuccessful":"Setting successful",
|
||||
"taskAlreadyGenerated":"Task has been generated",
|
||||
"warranty_expire_date":"warranty expire date",
|
||||
"spec": "Specification",
|
||||
"warehousing_time": "Warehousing Time",
|
||||
|
||||
@@ -48,6 +48,26 @@ var config = {
|
||||
"load_text5": "Hanya dapat mengunggah satu file excel!"
|
||||
},
|
||||
"common": {
|
||||
"siteAlreadySet":"Situs sudah diatur",
|
||||
"outboundAllocation":"Alokasi Pengeluaran",
|
||||
"allocateAll":"Alokasi Semua",
|
||||
"cancelAll":"Batalkan Semua",
|
||||
"autoAllocate":"Alokasi Otomatis",
|
||||
"autoCancel":"Pembatalan Otomatis",
|
||||
"manualAllocate":"Alokasi Manual",
|
||||
"oneClickSetting":"Pengaturan Satu Klik",
|
||||
"allocationDetails":"Detail Alokasi",
|
||||
"outboundPoint":"Titik Pengeluaran",
|
||||
"setSite":"Atur Situs",
|
||||
"saveChanges":"Simpan Perubahan",
|
||||
"doNotShipOverdue":"Jangan kirim yang terlambat",
|
||||
"shipOverdue":"Kirim yang terlambat",
|
||||
"isAbnormalOutbound":"Pengeluaran abnormal",
|
||||
"allocationSuccessful":"Alokasi berhasil",
|
||||
"pleaseSelectSiteFirst":"Silakan pilih situs terlebih dahulu",
|
||||
"siteHasBeenSet":"Situs telah diatur",
|
||||
"settingSuccessful":"Pengaturan berhasil",
|
||||
"taskAlreadyGenerated":"Tugas telah dibuat",
|
||||
"warranty_expire_date":"Tanggal Berakhir Garansi",
|
||||
"spec": "Spesifikasi",
|
||||
"warehousing_time": "Waktu Pemasukan Gudang",
|
||||
|
||||
@@ -93,6 +93,26 @@ var config = {
|
||||
"correspondingDeepLocationError": "对应的深货位错误!"
|
||||
},
|
||||
"common": {
|
||||
"siteAlreadySet":"站点已设置",
|
||||
"outboundAllocation":"出库分配",
|
||||
"allocateAll":"全部分配",
|
||||
"cancelAll":"全部取消",
|
||||
"autoAllocate":"自动分配",
|
||||
"autoCancel":"自动取消",
|
||||
"manualAllocate":"手工分配",
|
||||
"oneClickSetting":"一键设置",
|
||||
"allocationDetails":"分配明细",
|
||||
"outboundPoint":"出库点",
|
||||
"setSite":"设置站点",
|
||||
"saveChanges":"保存修改",
|
||||
"doNotShipOverdue":"不发超期",
|
||||
"shipOverdue":"发超期",
|
||||
"isAbnormalOutbound":"是否异常出库",
|
||||
"allocationSuccessful":"",
|
||||
"pleaseSelectSiteFirst":"请先选择站点",
|
||||
"siteHasBeenSet":"站点已设置",
|
||||
"settingSuccessful":"设置成功",
|
||||
"taskAlreadyGenerated":"任务已生成",
|
||||
"warranty_expire_date":"质保截止日期",
|
||||
"spec":"规格",
|
||||
"warehousing_time":"入库时间",
|
||||
|
||||
@@ -566,7 +566,7 @@ export default {
|
||||
this.loadingAlldiv = true
|
||||
this.mstrow.div_type = '1'
|
||||
checkoutbill.allDiv(this.mstrow).then(res => {
|
||||
this.crud.notify($t('common.allocationSuccessful'), CRUD.NOTIFICATION_TYPE.INFO)
|
||||
this.crud.notify(this.$t('common.allocationSuccessful'), CRUD.NOTIFICATION_TYPE.INFO)
|
||||
this.queryTableDtl()
|
||||
this.updataIsOverdue()
|
||||
this.loadingAlldiv = false
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item :label="$t('common.is_summary')">
|
||||
<!-- <el-form-item :label="$t('common.is_summary')">
|
||||
<el-select
|
||||
v-model="query.is_all"
|
||||
clearable
|
||||
@@ -291,7 +291,7 @@
|
||||
prop="box_weight"
|
||||
:label="$t('common.totalGrossWeight')"
|
||||
:formatter="crud.formatNum2"
|
||||
:min-width="flexWidth('box_weight',crud.data,$t('common.totalGrossWeight'))"
|
||||
:min-width="flexWidth('box_weight',crud.data,$t('common.totalGrossWeight'))"
|
||||
/>
|
||||
<el-table-column
|
||||
show-overflow-tooltip
|
||||
|
||||
Reference in New Issue
Block a user