Browse Source

森语-事故处理单

jbb 2 years ago
parent
commit
f679a26be1

+ 28 - 19
src/views/oa/modules/IncidentTicketModal.vue

@@ -244,31 +244,45 @@
           </a-col>
           </a-row>
           <a-row :gutter="24">
-            <a-col :span="10">
+            <a-col :span="12">
             <a-form-model-item label="财务添加附件" prop="accessory2" class="ff">
               <j-upload  v-model="accessory2"  ></j-upload>
               <!-- <a-input v-model="formState.accessory2"  placeholder="请输入"></a-input> -->
             </a-form-model-item>
           </a-col>
-          <a-col :span="8">
-            <a-form-model-item label="U8订单备注" prop="orderRemarks">
-              <a-input maxlength="200" v-model="formState.orderRemarks"    placeholder="请输入" ></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="6">
+          
+          
+          </a-row>
+          <a-row :gutter="24">
+            <a-col :span="12">
             <a-form-model-item label="通知人" prop="Noticer">
               <a-input v-model="formState.Noticer"  placeholder="请输入"></a-input>
             </a-form-model-item>
           </a-col>
+          <a-col :span="12">
+            <a-form-model-item label="通知时间" prop="Noticer">
+              <a-input v-model="formState.createTime"  placeholder="请输入" readOnly></a-input>
+            </a-form-model-item>
+          </a-col>
           </a-row>
           <a-row :gutter="24">
-            <a-col :span="10" >
+            <a-col :span="6" >
             <a-form-model-item label="填报人" prop="informant">
               <a-input v-model="formState.informant"   placeholder="请输入" readOnly></a-input>
             </a-form-model-item>
             
           </a-col>
-          <a-col :span="8">
+          <a-col :span="6" >
+            <a-form-model-item label="部门" prop="department">
+              <a-input v-model="formState.department"   placeholder="请输入" readOnly></a-input>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="6">
+            <a-form-model-item label="U8订单备注" prop="orderRemarks">
+              <a-input maxlength="200" v-model="formState.orderRemarks"    placeholder="请输入" ></a-input>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="6">
             <a-form-model-item label="U8开票日期" prop="orderRemarks">
                 <a-date-picker
                   placeholder="请选择"
@@ -277,13 +291,7 @@
                   v-model="formState.invoicingDate"
                 />
             </a-form-model-item>
-          </a-col>
-          <a-col :span="6" >
-            <a-form-model-item label="部门" prop="department">
-              <a-input v-model="formState.department"   placeholder="请输入" readOnly></a-input>
-            </a-form-model-item>
-          </a-col>
-          
+          </a-col>    
           </a-row>
          </a-form-model>
           <!-- <j-editable-table
@@ -395,7 +403,7 @@
             // title: '汇率',
             align: "center",
             dataIndex: 'exchangeRate',
-            width: '10%',
+            width: '7%',
             scopedSlots: { customRender: 'exchangeRate' },
             slots:{title:'exchangeRateTitle'},
           },
@@ -403,7 +411,7 @@
             // title: '实际事故金额',
             align: "center",
             dataIndex: 'practicalSum',
-            width: '7%',
+            width: '11%',
             scopedSlots: { customRender: 'practicalSum' },
             slots:{title:'practicalSumTitle'},
 
@@ -419,7 +427,7 @@
             title: '账套号',
             align: "center",
             dataIndex: 'zhanghaoId',
-            width: '9%',
+            width: '8%',
             scopedSlots: { customRender: 'zhanghaoId' },
             // slots:{title:'zhanghaoIdTitle'},
 
@@ -520,6 +528,7 @@
               }
             })
             this.formState.Noticer = noticeList.toString()
+            this.formState.createTime = moment(res.result[0].createTime).format('YYYY-MM-DD')
             console.log(this.formState.Noticer)
             this.$forceUpdate()
           }

+ 24 - 11
src/views/oa/modules/IncidentTicketModalDetail.vue

@@ -230,29 +230,34 @@
           </a-col>          
           </a-row>
           <a-row :gutter="24">
-            <a-col :span="10" >
+            <a-col :span="12" >
             <a-form-model-item label="财务添加附件" prop="accessory2" class="ff ">
               <j-upload  v-model="accessory2"  ></j-upload>
             </a-form-model-item>
           </a-col>
-          <a-col :span="8">
-            <a-form-model-item label="U8订单备注" prop="orderRemarks">
-              <a-input v-model="formState.orderRemarks"    placeholder="请输入" readOnly></a-input>
-            </a-form-model-item>
-          </a-col>
-          <a-col :span="6">
+          
+         
+          </a-row>
+          <a-row :gutter="24">
+            <a-col :span="12">
             <a-form-model-item label="通知人" prop="Noticer">
               <a-input v-model="formState.Noticer"  placeholder="请输入" ></a-input>
             </a-form-model-item>
           </a-col>
+          <a-col :span="12">
+            <a-form-model-item label="通知时间" prop="Noticer">
+              <a-input v-model="formState.createTime"  placeholder="请输入" readOnly></a-input>
+            </a-form-model-item>
+          </a-col>
           </a-row>
           <a-row :gutter="24">
-            <a-col :span="10" >
-            <a-form-model-item label="填报人" prop="informant">
-              <a-input v-model="formState.informant"   placeholder="请输入" readOnly ></a-input>
+            
+          <a-col :span="6">
+            <a-form-model-item label="U8订单备注" prop="orderRemarks">
+              <a-input v-model="formState.orderRemarks"    placeholder="请输入" readOnly></a-input>
             </a-form-model-item>
           </a-col>
-          <a-col :span="8">
+          <a-col :span="6">
             <a-form-model-item label="U8开票日期" prop="orderRemarks">
                 <a-date-picker
                   placeholder="请选择"
@@ -263,11 +268,18 @@
                 />
             </a-form-model-item>
           </a-col>
+
+          <a-col :span="6" >
+            <a-form-model-item label="填报人" prop="informant">
+              <a-input v-model="formState.informant"   placeholder="请输入" readOnly ></a-input>
+            </a-form-model-item>
+          </a-col>
           <a-col :span="6" >
             <a-form-model-item label="部门" prop="department">
               <a-input v-model="formState.department"   placeholder="请输入" readOnly></a-input>
             </a-form-model-item>
           </a-col>
+          
           </a-row>
         </a-form-model>
 
@@ -748,6 +760,7 @@
               
             })
             this.formState.Noticer = noticeList.toString()
+            this.formState.createTime = moment(res.result[0].createTime).format('YYYY-MM-DD')
             this.$forceUpdate()
           }
         })