Browse Source

提交陆运,修改avue-crud组件

caojunjie 3 năm trước cách đây
mục cha
commit
786f280c72

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
public/cdn/avue/2.8.18/avue.min.js


+ 1 - 1
src/views/basicData/factoryInformation/factoryInformation/detailsPageEdit.vue

@@ -934,7 +934,7 @@ export default {
               });
               this.$router.$avueRouter.closeTag();
               this.$router.push({
-                path: "/basicData/customerInformation/index",
+                path: "/basicData/factoryInformation/factoryInformation/index",
                 query: {}
               });
             }

+ 12 - 2
src/views/landTransportation/placeAnOrder/detailPage.vue

@@ -174,6 +174,9 @@
                  @resetColumn="resetColumnBox"
                  @saveColumn="saveColumnBox"
                  @row-del="rowDel">
+        <template slot="headerSerial" slot-scope="{column}">
+          <el-button type="primary" icon="el-icon-circle-plus-outline" circle size="small" @click="$refs.crudBox.rowCellAdd()"></el-button>
+        </template>
         <template slot="ctnTypeHeader" slot-scope="{column}">
           {{ column.label }}<span style="color:#F56C6C">*</span>
         </template>
@@ -840,9 +843,11 @@ export default {
         refreshBtn: false,
         addBtnText: '录入信息',
         index: true,
+        indexWidth:52,
+        indexSlot: true,
         cellBtn: true,
         addBtn: false,
-        addRowBtn: true,
+        addRowBtn: false,
         showSummary: true,
         summaryText: "合计",
         sumColumnList: [
@@ -886,6 +891,7 @@ export default {
           prop: 'ctnType',
           type: 'select',
           width: 100,
+          index:1,
           dicUrl: "/api/blade-system/dict-biz/dictionary?code=boxType",
           props: {
             label: "dictValue",
@@ -897,6 +903,7 @@ export default {
           prop: 'ctnQuantity',
           controls: false,
           precision: 0,
+          index:2,
           width: 100,
           maxRows: 999,
           minRows: 1,
@@ -907,6 +914,7 @@ export default {
           prop: 'landWeight',
           controls: false,
           width: 200,
+          index:3,
           precision: 2,
           type: 'number'
         }, {
@@ -915,11 +923,13 @@ export default {
           prop: 'landAmountD',
           controls: false,
           width: 200,
+          index:4,
           precision: 2,
           type: 'number'
         }, {
           label: '备注',
           cell: true,
+          index:5,
           prop: 'remarks'
         }]
       },
@@ -1493,7 +1503,7 @@ export default {
     },
     //选择地址客户带出地址
     withAddress(row, scope) {
-      console.log(row)
+      this.tableData[scope.$index].address = ''
       if (!scope.row.key) scope.row.key = 0
       this.tableData[scope.$index].corpName = row.cname
       if (row.attn){

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác