linwenxin 8 miesięcy temu
rodzic
commit
6f1aa07fa6

+ 7 - 2
src/views/workOrder/workOrderPool/detailModule/workOrderInfo/mixins/pandanxinxi.js

@@ -70,7 +70,8 @@ export default {
     pandanxinxi() {
       return [
         {
-          isShow: !this?.orderInfo?.isThreeOrder && this.formOptions.websitId.isShow,
+          isShow:
+            !this?.orderInfo?.isThreeOrder && this.formOptions.websitId.isShow && this.formOptions.websitId.isEdit,
           name: 'el-select',
           options: this.websitList,
           md: 8,
@@ -103,7 +104,11 @@ export default {
           }
         },
         {
-          isShow: !!this?.orderInfo?.isThreeOrder && this.formOptions.websitId.isShow,
+          isShow: !(
+            !this?.orderInfo?.isThreeOrder &&
+            this.formOptions.websitId.isShow &&
+            this.formOptions.websitId.isEdit
+          ),
           name: 'slot-component',
           md: 8,
           attributes: { disabled: true, placeholder: '请输入' },