Explorar el Código

装箱单-成衣-详情-增加推送成功单据/失败信息

jbb hace 2 años
padre
commit
bf60da8f6c

+ 3 - 1
src/views/packing-list/clothes-list.vue

@@ -825,8 +825,10 @@ export default {
                 totalPrice:editData.totalPrice,
                 depositaryReceiptNo:editData.depositaryReceiptNo,
                 total:editData.total,
+                recordingError:editData.recordingError 
             };
-             this.$refs.detailsClothesDrawer.accessory = (editData.accessory!=='' && editData.accessory) ? (editData.accessory.split(",")) :''
+            this.$refs.detailsClothesDrawer.accessory = (editData.accessory!=='' && editData.accessory) ? (editData.accessory.split(",")) :[]
+             this.$refs.detailsClothesDrawer.recordingCode = (editData.recordingCode!=='' && editData.recordingCode) ? (editData.recordingCode.split(";")) :[]
             this.$refs.detailsClothesDrawer.clothesAddData = editData.syPackingListTailoringItemList
              for (var i=0; i<res.result.syPackingListTailoringItemList.length;i++){
                  var row = res.result.syPackingListTailoringItemList[i];

+ 21 - 2
src/views/packing-list/packinglist-clothes/detailsClothesDrawer.vue

@@ -138,7 +138,8 @@
             </j-vxe-table>
           </a-form-model>
         </a-spin>
-        <a-col :span="12">
+        <a-row>
+          <a-col :span="12">
             <a-form-model-item label="附件"  prop="accessory">
               <ul v-for="(item, index) in accessory" :key="index" >
                 <li>
@@ -148,7 +149,23 @@
                 
               </ul>
             </a-form-model-item>
-          </a-col>
+        </a-col>
+        </a-row>
+        
+        <a-row :gutter="24">
+          <a-col :span="12">
+            <a-form-model-item label="推送成功单据"  prop="accessory">
+              <ul v-for="(item, index) in recordingCode" :key="index" >
+                <li>{{ item }} </li>
+              </ul>
+            </a-form-model-item>
+        </a-col>
+        <a-col :span="12">
+            <a-form-model-item label="失败信息"  prop="accessory">
+              <span>{{ clothesAdd.recordingError }}</span>
+            </a-form-model-item>
+        </a-col>
+        </a-row>
       </a-card>
     </a-drawer>
   </div>
@@ -179,6 +196,8 @@ export default {
           // btn: []
         },
         accessory:[],
+        recordingCode:[],
+        // recordingError:[],
       // 表头
       clothesAddColumns: [
        {