chenrui 2 ماه پیش
والد
کامیت
9cf5637e70

+ 1 - 1
src/views/salesManagement/pushOrderManagement/list.vue

@@ -182,7 +182,7 @@
         <commonModal
           modalTit="销售单详情"
           bodyPadding="10px"
-          width="70%"
+          width="75%"
           :showFooter="false"
           :openModal="showDetailModal"
           @cancel="closeDetailModal">

+ 1 - 1
src/views/salesManagement/salesQueryNew/comps/detailProductList.vue

@@ -240,7 +240,7 @@ export default {
       }
       this.colspanNums = this.colspanNums + 2
       arr = arr.concat([
-        { title: '单位', field: 'productOrigUnit', key: 'g', width: 80, align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--' } },
+        { title: '单位', field: 'productOrigUnit', key: 'g', width: 70, align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--' } },
         { title: '销售数量', field: 'qty', width: 80, key: 'h', align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return numsFormat(row[column.field]) } }
       ])
 

+ 1 - 1
src/views/salesManagement/salesQueryNew/comps/productList.vue

@@ -150,7 +150,7 @@
       :rowKey="(record) => record.id"
       :columns="columns"
       :data="loadData"
-      :row-selection="{ columnWidth: 40, getCheckboxProps: record => ({ props: { disabled: record.promotionFlag == 'GIFT'&&!!record.salesPromoDetailParentSn } }) }"
+      :row-selection="{ columnWidth: '4%', getCheckboxProps: record => ({ props: { disabled: record.promotionFlag == 'GIFT'&&!!record.salesPromoDetailParentSn } }) }"
       @rowSelection="rowSelectionFun"
       :defaultLoadData="false"
       :pageSize="10"

+ 1 - 1
src/views/salesManagement/salesQueryNew/comps/productNormalList.vue

@@ -99,7 +99,7 @@
       :rowKey="(record) => record.id"
       :columns="columns"
       :data="loadData"
-      :row-selection="{ columnWidth: 40 }"
+      :row-selection="{ columnWidth: '4%' }"
       @rowSelection="rowSelectionFun"
       :pageSize="showTotal?10:30"
       :defaultLoadData="false"

+ 4 - 4
src/views/salesManagement/salesQueryNew/detailAll.vue

@@ -362,14 +362,14 @@ export default {
       arr.push({ title: '已下推数', dataIndex: 'pushedQty', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
       arr.push({ title: '已取消数', dataIndex: 'cancelQty', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
       if (this.isAveragePrice) {
-        arr.push({ title: '单重(kg)', dataIndex: 'weight', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
-        arr.push({ title: '合计重量(kg)', dataIndex: 'totalWeight', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
+        arr.push({ title: '单重(kg)', dataIndex: 'weight', width: '7%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
+        arr.push({ title: '合计重量(kg)', dataIndex: 'totalWeight', width: '9%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
       }
       if (this.$hasPermissions(this.pageTypeAuth + '_costPrice') && this.isAveragePrice) {
-        arr.push({ title: '平均成本公斤单价', dataIndex: 'weightAvgCost', width: '9%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
+        arr.push({ title: '平均成本公斤单价', dataIndex: 'weightAvgCost', width: '10%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
       }
       if (this.$hasPermissions(this.pageTypeAuth + '_salesPrice') && this.isAveragePrice) {
-        arr.push({ title: '平均售价公斤单价', dataIndex: 'weightAvgPrice', width: '9%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
+        arr.push({ title: '平均售价公斤单价', dataIndex: 'weightAvgPrice', width: '10%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
       }
       return arr
     }