#
whycq
2024-10-29 f166bfa6b3f17349905b5c98881b4b6224a9a35b
#
2个文件已修改
30 ■■■■■ 已修改文件
pages/pakin/confirmPakin.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/pakin/repairPakin.vue 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/pakin/confirmPakin.vue
@@ -312,10 +312,10 @@
                        if (key.startsWith('卷号')) roll.rollNo = item[key];
                        else if (key.startsWith('箱号')) roll.boxNo = item[key];
                        else if (key.startsWith('规格')) roll.specs = item[key];
                        else if (key.startsWith('长度')) roll.length = item[key].split(' ')[0];
                        else if (key.startsWith('净重')) roll.netWeight = item[key].split(' ')[0];
                        else if (key.startsWith('毛重')) roll.grossWeight = item[key].split(' ')[0];
                        else if (key.startsWith('接头')) roll.splices = item[key].split(' ')[0];
                        else if (key.startsWith('长度')) roll.length = item[key].replace(/[^0-9]/ig, "");
                        else if (key.startsWith('净重')) roll.netWeight = item[key].replace(/[^0-9]/ig, "");
                        else if (key.startsWith('毛重')) roll.grossWeight = item[key].replace(/[^0-9]/ig, "");
                        else if (key.startsWith('接头')) roll.splices = item[key].replace(/[^0-9]/ig, "");
                        else if (key.startsWith('分切时间')) roll.fqTime = item[key];
                    })
                    let newObj = {...nedata,...roll}
@@ -788,7 +788,7 @@
    @import url('../../static/css/wms.css/wms.css');
    .list:first-child {
        margin-top: 340rpx;
        margin-top: 370rpx;
    }
    .code {
        width: 100%;
@@ -832,7 +832,7 @@
        width: 100%;
        background-color: white;
        position: fixed;
        margin-top: 230rpx;
        margin-top: 260rpx;
        z-index: 9;
        /* border-top: 1px solid #DCDFE6; */
        text-align: center;
pages/pakin/repairPakin.vue
@@ -276,10 +276,10 @@
                            if (key.startsWith('卷号')) roll[index].rollNo = value;
                            else if (key.startsWith('箱号')) roll[index].boxNo = value;
                            else if (key.startsWith('规格')) roll[index].specs = value;
                            else if (key.startsWith('长度')) roll[index].length = value.split(' ')[0];
                            else if (key.startsWith('净重')) roll[index].netWeight = value.split(' ')[0];
                            else if (key.startsWith('毛重')) roll[index].grossWeight = value.split(' ')[0];
                            else if (key.startsWith('接头')) roll[index].splices = value.split(' ')[0];
                            else if (key.startsWith('长度')) roll[index].length = value.replace(/[^0-9]/ig, "");
                            else if (key.startsWith('净重')) roll[index].netWeight = value.replace(/[^0-9]/ig, "");
                            else if (key.startsWith('毛重')) roll[index].grossWeight = value.replace(/[^0-9]/ig, "");
                            else if (key.startsWith('接头')) roll[index].splices = value.replace(/[^0-9]/ig, "");
                            else if (key.startsWith('分切时间')) roll[index].fqTime = value;
                
                            // 如果有所有参数,则将其推入 rolls 数组
@@ -677,8 +677,14 @@
    
    .picker {
      padding: 10px;
      background-color: #fff;
      text-align: center;
      height: 40rpx;
      width: 40rpx;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #5fbf8e;
      color: #FFF;
      border-radius: 50%;
    }
    .desc {
        min-height: 40rpx;