Procházet zdrojové kódy

refactor: 移除表格挂起行点击事件和样式类相关代码

liujt před 7 měsíci
rodič
revize
acbedb501c

+ 0 - 2
src/views/bpm/handleTask/components/saleOrder/invoice/detailDialog.vue

@@ -123,13 +123,11 @@
       :needPage="false"
       :columns="columns"
       @columns-change="handleColumnChange"
-      @row-click="handleRowClick"
       :cache-key="cacheKeyUrl"
       :datasource="detailData.productList"
       row-key="id"
       show-summary
       :summary-method="getSummaries"
-      :row-class-name="tableRowClassName"
     >
       <template v-slot:stockLedger="scope">
         <el-popover placement="right" width="60%" trigger="hover">

+ 1 - 8
src/views/bpm/outgoingManagement/outbound.vue

@@ -1073,15 +1073,12 @@
           console.log(this.saleProductList, 'this.saleProductList33333');
           let pData = {
             type: '1',
-            deliveryOrderNo: this.form.docNo,
             builders: this.detailList.map((item) => {
               return {
                 categoryId:
                   item.categoryId || item.instanceId || item.productId,
                 num: item.demandQuantity || item.measurementCount,
                 warehouseId: this.bizType == 11 ? item.warehouseId : '',
-                batchNo: item.batchNo || '',
-                reversionBatchNo: item.isSuspend == 1 ? item.offsetDetail?.batchNo || '' : '',
               };
             })
           };
@@ -1136,13 +1133,10 @@
           console.log(this.saleProductList, 'this.saleProductList11111');
           let pData = {
             type: '1',
-            deliveryOrderNo: this.form.docNo,
             builders: this.saleProductList.map((item) => {
               return {
                 categoryId: item.productId || item.categoryId,
-                num: item.totalCount,
-                batchNo: item.batchNo || '',
-                reversionBatchNo: item.isSuspend == 1 ? item?.offsetDetail[0]?.batchNo || '' : '',
+                num: item.totalCount
                 // warehouseId: this.bizType == 3 ? item.warehouseId : ''
                 // batchNo: item.batchNo || '',
               };
@@ -1175,7 +1169,6 @@
           console.log(this.saleProductList, 'this.saleProductList22222');
           let pData = {
             type: '1',
-            // deliveryOrderNo: this.form.docNo,
             builders: this.form.productList.map((item) => {
               return {
                 categoryId: item.productId,

+ 0 - 6
src/views/bpm/stockManagement/storage.vue

@@ -169,8 +169,6 @@
               ref="productListTable"
               :data="productList"
               tooltip-effect="dark"
-              @row-click="handleRowClick"
-              :row-class-name="tableRowClassName"
             >
               <el-table-column
                 label="序号"
@@ -1995,10 +1993,6 @@
               return {
                 index: this.productList.length + index,
                 isSave: true,
-                isReversal: this.detailList.find((val) => val.categoryCode == item.code)
-                    ?.isReversal || item.isReversal || 0, // 是否挂起
-                suspendOrReverseDetail: this.detailList.find((val) => val.categoryCode == item.code)
-                    ?.suspendOrReverseDetail || item.suspendOrReverseDetail || null, // 挂起或反冲详情
                 categoryId: item.id, // 物品id
                 categoryName: item.name, // 物品名称
                 categoryCode: item.code, // 物品编码