lilei 2 anni fa
parent
commit
51893c7de9
1 ha cambiato i file con 6 aggiunte e 3 eliminazioni
  1. 6 3
      src/views/salesReturnManagement/billOfLading/detail.vue

+ 6 - 3
src/views/salesReturnManagement/billOfLading/detail.vue

@@ -89,7 +89,7 @@
           <a-row>
             <a-col :spna="24">
               <a-form-model-item style="margin-bottom:0" label="备注" prop="size" :label-col="{span:2}" :wrapper-col="{span:20}">
-                {{ form.remarks||'--' }}
+                <div style="word-break: break-all;line-height:normal">{{ form.remarks||'--' }}</div>
               </a-form-model-item>
             </a-col>
             <a-col :spna="24">
@@ -115,7 +115,7 @@
                 </a-table>
               </a-form-model-item>
             </a-col>
-            <a-col :spna="24" v-if="$hasPermissions('B_auditPickUp')">
+            <a-col :spna="24" v-if="$hasPermissions('B_auditPickUp')&&form.state != 'WAIT_SUBMIT'">
               <a-form-model-item label="审核进度" :label-col="{span:2}" :wrapper-col="{span:20}">
                 <div>以下信息来自钉钉</div>
                 <s-table
@@ -127,7 +127,7 @@
                   :data="loadData"
                   :scroll="{ y: 400 }"
                   :showPagination="false"
-                  :defaultLoadData="true"
+                  :defaultLoadData="false"
                   bordered>
                 </s-table>
               </a-form-model-item>
@@ -249,6 +249,9 @@ export default {
         if (res.status == 200) {
           const data = res.data
           this.form = Object.assign(this.form, data)
+          if (this.form.state != 'WAIT_SUBMIT') {
+            this.$refs.table.refresh()
+          }
         } else {
           this.$refs.ruleForm.resetFields()
         }