Explorar el Código

装箱单日期更改

jbb hace 2 años
padre
commit
37298a3916

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

@@ -406,12 +406,17 @@ export default {
   },
   methods: {
     //分页查询
-    getSpltList() {
+    getSpltList() { 
      var that = this;
       this.$nextTick(() => {
         spltList(this.queryParam).then(res => {
           if (res.success) {
             that.clothesListData = res.result.records;
+            that.clothesListData.map(item => {
+              var str =item.hod
+              var n=str.split(" ");
+              item.hod = n[0]
+        })
             that.pagination = {
               total: res.result.total,
               current: res.result.current,

+ 5 - 0
src/views/packing-list/packinglist-clothes/clothesAddDrawer.vue

@@ -536,6 +536,11 @@ export default {
             }
           this.dynamicColumns(data.sizeTables)
           this.clothesAddData = data.syPackingListTailoringItemList
+          this.clothesAddData.map(item =>{
+              var str =item.hod
+              var n=str.split(" ");
+              item.hod = n[0]
+            })
           }else {
             this.$message.error(res.message);
           }

+ 5 - 0
src/views/packing-list/packinglist-clothes/referencePrePacklist.vue

@@ -284,6 +284,11 @@ export default {
         orderSpltList(this.queryParam).then(res => {
           if (res.success) {
             this.advancePackingListData = res.result.records;
+            this.advancePackingListData.map(item =>{
+              var str =item.preDeliveryDate
+              var n=str.split(" ");
+              item.preDeliveryDate = n[0]
+            })
             this.pagination = {
               total: res.result.total,
               current: res.result.current,