jiangping
2023-10-26 ea87c908fb6cdfc3e227a584a53e6730efb8262a
minipro_standard/pages_adjust/pages/newTransfer/newTransfer.vue
@@ -31,12 +31,12 @@
         <template v-if="view.MaterialList.length > 0">
            <view class="zk_wl_item" v-for="(item, i) in view.MaterialList" :key="i">
               <image class="shanchu" src="@/static/chuku_ic_delete@2x.png" mode="widthFix" @click="dele(i)"></image>
               <text class="material-title">{{item.materialName}}|{{item.materialCode}}</text>
               <text class="material-att">
                  <text class="green" v-if="item.qualityType === '0'" decode>合格<text class="c6" decode>{{ division }}</text></text>
                  <text class="yellow" v-if="item.qualityType === '1'" decode>不良<text class="c6" decode>{{ division }}</text></text>
                  <text class="red" v-if="item.qualityType === '2'" decode>报废<text class="c6" decode>{{ division }}</text></text>
                  <text decode>{{item.procedureName ? item.procedureName : '-'}}{{division}}</text>
               <text>{{item.materialName}}|{{item.materialCode}}</text>
               <text>
                  <text class="green" v-if="item.qualityType === '0'">合格&nbsp;|</text>
                  <text class="yellow" v-if="item.qualityType === '1'">不良&nbsp;|</text>
                  <text class="red" v-if="item.qualityType === '2'">报废&nbsp;|</text>
                  <text>{{item.procedureName ? item.procedureName : '-'}}&nbsp;|&nbsp;</text>
                  <text>{{item.batch ? item.batch : '-'}}</text>
               </text>
               <view class="zk_wl_item_num">
@@ -87,7 +87,6 @@
      },
      data() {
         return {
            division: '&nbsp;/&nbsp;',
            data: {
               type: '',
               outUserId: '',
@@ -212,7 +211,6 @@
            }).then(res => {
               if (res.code === 200) {
                  uni.showToast({ title: '创建成功!', icon: 'success', duration: 2000 });
                  this.$store.dispatch('getUpcomingNum')
                  setTimeout(() => {
                     uni.navigateBack({ delta: 1 });
                  }, 2000)
@@ -272,11 +270,13 @@
            &:last-child {
               border: none !important;
            }
            text {
               font-size: 30rpx;
               font-weight: 400;
               color: #222222;
            }
            .zk_list_item_n {
               display: flex;
               align-items: center;
@@ -344,7 +344,7 @@
               display: flex;
               align-items: center;
               justify-content: space-between;
               margin-top: 10rpx;
               margin-top: 30rpx;
               
               .zk_wl_item_input {
                  display: flex;
@@ -358,8 +358,7 @@
               }
               text {
                  height: 42rpx;
                  font-size: 30rpx;
                  font-size: 26rpx;
                  font-family: PingFangSC-Regular, PingFang SC;
                  font-weight: 400;
                  color: #333333;
@@ -382,25 +381,31 @@
                  color: #999999;
               }
            }
            .material-title {
               height: 42rpx;
               font-size: 30rpx;
               font-weight: 500;
               color: #222222;
               margin-bottom: 10rpx;
            }
            .material-att {
               font-size: 28rpx;
               font-weight: 400;
               color: #333333;
            }
            text {
               &:nth-child(1) {
                  font-size: 24rpx;
                  font-size: 30rpx;
                  font-weight: 500;
                  color: #222222;
                  margin-bottom: 24rpx;
               }
               &:nth-child(2) {
                  font-size: 24rpx;
                  font-weight: 400;
                  color: #666666;
                  margin-bottom: 30rpx;
                  text {
                     font-size: 24rpx;
                  }
               }
               &:nth-child(3) {
                  font-size: 28rpx;
                  font-weight: 400;
                  color: #333333;
               }
            }
         }
      }