Browse Source

修改提示

zhangafei 2 weeks ago
parent
commit
9066505aa7
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/billet/operator/components/printCarInfo.vue

+ 3 - 3
src/views/billet/operator/components/printCarInfo.vue

@@ -32,7 +32,7 @@
             :loading="btnLoading"
             @click="updateCcmNo"
           >
-            修改#{{ info.ccmNo }}
+            变更#{{ info.ccmNo == '5' ? '6' : '5' }}
           </a-button>
         </div>
         <div class="flex-1" style="text-align: center; font-size: 16px">{{ dayjs(info.arrivalTime).format('YYYY 年 MM 月 DD 日 HH 时 mm 分') }}</div>
@@ -279,14 +279,14 @@
             h('span', null, `是否将`),
             h('span', { style: { fontSize: '18px', color: '#d48806' } }, `${props.info.ccmNo}#机 `),
             h('span', null, ` 改为 `),
-            h('span', { style: { fontSize: '18px', color: '#3b5999' } }, ` ${props.info.ccmNo === '5' ? ' 6 ' : ' 5 '}#机`),
+            h('span', { style: { fontSize: '18px', color: '#3b5999' } }, ` ${props.info.ccmNo == '5' ? ' 6 ' : ' 5 '}#机`),
             h('span', null, `?`),
           ]);
         },
         okText: '确认',
         cancelText: '取消',
         onOk: () => {
-          return edit({ ...props.info, ccmNo: props.info.ccmNo === '5' ? '6' : '5' }).then(() => {
+          return edit({ ...props.info, ccmNo: props.info.ccmNo == '5' ? '6' : '5' }).then(() => {
             emits('refresh');
           });
         },