liuzhihui 2 lat temu
rodzic
commit
e6656cc78d

+ 24 - 55
CallCenterWeb.UI/RMYY/src/views/comDispatch/components/dispatchdetail.vue

@@ -79,8 +79,8 @@
79 79
               <tr v-if="
80 80
                   orderDetailData.PSInfo && orderDetailData.PSInfo.length > 0
81 81
                 ">
82
-                <th>配送信息:</th>
83
-                <td colspan="5">
82
+                <th :rowspan="orderDetailData.PSInfo.length + 1">配送信息:</th>
83
+                <!-- <td colspan="5">
84 84
                   <span style="display: inline-block;margin-right: 20px;"
85 85
                     v-for="(item, index) in orderDetailData.PSInfo" :key="index+0" v-if="item.F_ToDept">{{ $store.getters.deptmap[parseInt(item.F_ToDept)] &&
86 86
                     $store.getters.deptmap[parseInt(item.F_ToDept)].text}}-{{item.F_DicName}}({{item.F_Number}})<span
@@ -97,9 +97,9 @@
97 97
                     v-for="(item, index) in orderDetailData.PSInfo" :key="index+0"
98 98
                     v-if="!item.F_ToDept&&!item.F_IsBorrow">{{ item.F_DicName }}({{item.F_Number}})<span
99 99
                       v-if="index!=orderDetailData.PSInfo.length-1">,</span></span>
100
-                </td>
100
+                </td> -->
101 101
               </tr>
102
-              <!-- <tr v-for="(item, index) in orderDetailData.PSInfo" :key="index+0">
102
+              <tr v-for="(item, index) in orderDetailData.PSInfo" :key="index+0">
103 103
                 <th v-if="item.F_ToDept">送达科室:</th>
104 104
                 <th v-if="item.F_ToDept">
105 105
                   {{
@@ -110,72 +110,43 @@
110 110
                 <th v-if="item.F_ToDept">物品名称:</th>
111 111
                 <td v-if="item.F_ToDept">
112 112
                   <span>{{ item.F_DicName }}</span>
113
-                  <span v-if="item.F_IsBorrow == 1">(借</span>
114
-                  <span v-if="item.F_IsBorrow == 2">(还</span>
115
-                  <span v-if="item.F_IsBorrow">{{ item.F_Number }})</span>
116
-                  <span v-if="!item.F_IsBorrow">({{ item.F_Number }})</span>
113
+                  <span v-if="item.F_IsBorrow == 1">(借)</span>
114
+                  <span v-if="item.F_IsBorrow == 2">(还)</span>
115
+                  <span>({{item.F_Number}})</span>
117 116
                 </td>
118 117
                 <th v-if="!item.F_ToDept">物品名称:</th>
119 118
                 <td v-if="!item.F_ToDept">
120 119
                   <span>{{ item.F_DicName }}</span>
121
-                  <span v-if="item.F_IsBorrow == 1">(借</span>
122
-                  <span v-if="item.F_IsBorrow == 2">(还</span>
123
-                  <span v-if="item.F_IsBorrow">{{ item.F_Number }})</span>
124
-                  <span v-if="!item.F_IsBorrow">({{ item.F_Number }})</span>
125
-                </td> -->
               <!-- <th>-</th>
126
-                <td>-</td> -->
127
-              <!-- <th v-if="!item.F_ToDept">数量:</th>
120
+                  <span v-if="item.F_IsBorrow == 1">(借)</span>
121
+                  <span v-if="item.F_IsBorrow == 2">(还)</span>
122
+                </td>
123
+                <th v-if="!item.F_ToDept">数量:</th>
128 124
                 <td v-if="!item.F_ToDept">
129 125
                   {{ item.F_Number
130 126
                   }}
131
-                  <span v-if="item.F_PaidInQuantity != null"
132
-                    >(实收数量:{{ item.F_PaidInQuantity }})</span
133
-                  >
134
-                </td> -->
135
-              <!-- <th>-</th> -->
127
+                  <span v-if="item.F_PaidInQuantity != null">(实收数量:{{ item.F_PaidInQuantity }})</span>
128
+                </td>
129
+                <th>-</th>
136 130
               </tr>
137 131
               <tr v-if="
138 132
                   orderDetailData.SDInfo && orderDetailData.SDInfo.length > 0
139 133
                 ">
140
-                <!-- <th :rowspan="orderDetailData.SDInfo.length + 1">
141
-                  异常配送信息:
142
-                </th> -->
143
-                <th>
144
-                  异常配送信息:
145
-                </th>
146
-                <td colspan="5">
147
-                  <span style="display: inline-block;margin-right: 20px;"
148
-                    v-for="(item, index) in orderDetailData.SDInfo" :key="index+11" v-if="item.F_ToDept">{{ $store.getters.deptmap[parseInt(item.F_ToDept)] &&
149
-                    $store.getters.deptmap[parseInt(item.F_ToDept)].text}}-{{item.F_DicName}}({{item.F_Number}})<span
150
-                      v-if="index!=orderDetailData.SDInfo.length-1">,</span></span>
151
-                  <span style="display: inline-block;margin-right: 20px;"
152
-                    v-for="(item, index) in orderDetailData.SDInfo" :key="index+11"
153
-                    v-if="item.F_IsBorrow==1">{{ item.F_DicName }}(借{{item.F_Number}})<span
154
-                      v-if="index!=orderDetailData.SDInfo.length-1">,</span></span>
155
-                  <span style="display: inline-block;margin-right: 20px;"
156
-                    v-for="(item, index) in orderDetailData.SDInfo" :key="index+11"
157
-                    v-if="item.F_IsBorrow==2">{{ item.F_DicName }}(还{{item.F_Number}})<span
158
-                      v-if="index!=orderDetailData.SDInfo.length-1">,</span></span>
159
-                  <span style="display: inline-block;margin-right: 20px;"
160
-                    v-for="(item, index) in orderDetailData.SDInfo" :key="index+11"
161
-                    v-if="!item.F_ToDept&&!item.F_IsBorrow">{{ item.F_DicName }}({{item.F_Number}})<span
162
-                      v-if="index!=orderDetailData.SDInfo.length-1">,</span></span>
163
-                </td>
134
+                <th :rowspan="orderDetailData.SDInfo.length + 1">异常配送信息:</th>
164 135
               </tr>
165
-              <!-- <tr v-for="(item, index) in orderDetailData.SDInfo" :key="index+11">
136
+              <tr v-for="(item, index) in orderDetailData.SDInfo" :key="index+0">
166 137
                 <th v-if="item.F_ToDept">送达科室:</th>
167 138
                 <th v-if="item.F_ToDept">
168 139
                   {{
169
-                    $store.getters.deptmap[parseInt(item.F_ToDept)] &&
170
-                    $store.getters.deptmap[parseInt(item.F_ToDept)].text
171
-                  }}
140
+                      $store.getters.deptmap[parseInt(item.F_ToDept)] &&
141
+                      $store.getters.deptmap[parseInt(item.F_ToDept)].text
142
+                    }}
172 143
                 </th>
173 144
                 <th v-if="item.F_ToDept">物品名称:</th>
174 145
                 <td v-if="item.F_ToDept">
175 146
                   <span>{{ item.F_DicName }}</span>
176 147
                   <span v-if="item.F_IsBorrow == 1">(借)</span>
177 148
                   <span v-if="item.F_IsBorrow == 2">(还)</span>
178
-                  <span>({{ item.F_Number }})</span>
149
+                  <span>({{item.F_Number}})</span>
179 150
                 </td>
180 151
                 <th v-if="!item.F_ToDept">物品名称:</th>
181 152
                 <td v-if="!item.F_ToDept">
@@ -184,15 +155,13 @@
184 155
                   <span v-if="item.F_IsBorrow == 2">(还)</span>
185 156
                 </td>
186 157
                 <th v-if="!item.F_ToDept">数量:</th>
187
-
188 158
                 <td v-if="!item.F_ToDept">
189 159
                   {{ item.F_Number
190
-                  }}<span v-if="item.F_PaidInQuantity != null"
191
-                    >(实收数量:{{ item.F_PaidInQuantity }})</span
192
-                  >
160
+                    }}
161
+                  <span v-if="item.F_PaidInQuantity != null">(实收数量:{{ item.F_PaidInQuantity }}</span>
193 162
                 </td>
194
-                <th v-if="item.F_ReceiveUser">{{ item.F_ReceiveUser }}</th>
195
-              </tr> -->
163
+                <th>-</th>
164
+              </tr>
196 165
               <tr v-if="orderDetailData.F_Recipient">
197 166
                 <th>是否异常:</th>
198 167
                 <td colspan="5">

+ 1 - 0
CallCenterWeb.UI/RMYYAPP/pages/myTask/comDispatch/applicantList/applicantList.vue

@@ -32,6 +32,7 @@
32 32
 								</view>
33 33
 								<view class="uni-note">工单内容:{{item.F_Content}}</view>
34 34
 								<view class="uni-note">申请时间:{{item.F_CreateTime}}</view>
35
+								<view class="uni-note">申请科室:{{$mHelper.findParents(departList, item.F_ApplicationDept)}}</view>
35 36
 								<view class="uni-note">科室位置:{{item.F_Location}}</view>
36 37
 							</view>
37 38
 							<view class="textState">{{ item.StateName}}</view>