Zimo před 6 dny
rodič
revize
8246a637c7
1 změnil soubory, kde provedl 5 přidání a 7 odebrání
  1. 5 7
      pages/recordFilling/detail.vue

+ 5 - 7
pages/recordFilling/detail.vue

@@ -69,9 +69,7 @@
               :inputBorder="false"
               :clearable="true"
               :styles="{ disableColor: '#fff' }"
-              :value="`${sum.totalRunTime} ${
-                sum.modelAttr ? (sum.modelAttr.includes('Time') ? 'h' : '') : ''
-              }`"
+              :value="`${sum.totalRunTime} ${sum.modelAttr ? (sum.modelAttr.includes('Time') ? 'h' : '') : ''}`"
               :disabled="true"></uni-easyinput>
           </view>
         </view>
@@ -81,7 +79,9 @@
           v-for="nosum in item.nonSumList.filter(
             nosum =>
               !keys.includes(nosum.description) &&
-              nosum.description !== 'productionStatus'
+              (companyName === 'ry'
+                ? attrItem.description !== 'productionStatus'
+                : true)
           )">
           <!-- isCollection为1,提示:以下数值取自PLC,如有不符请修改 -->
           <uni-notice-bar
@@ -1475,9 +1475,7 @@ const onSubmit = async () => {
     const exceededInfo = rdThresholdExceededItems.value
       .map(
         (item, index) =>
-          `${index + 1}. ${item.deviceCode} ${item.itemName}不能超过${
-            item.maxValue
-          },当前值为${item.currentValue}`
+          `${index + 1}. ${item.deviceCode} ${item.itemName}不能超过${item.maxValue},当前值为${item.currentValue}`
       )
       .join("\n");