Browse Source

bug修复

chenrui 4 years ago
parent
commit
564cd27d31

+ 1 - 1
src/views/allocationManagement/chainTransferIn/list.vue

@@ -164,7 +164,7 @@ export default {
       loadData: parameter => {
       loadData: parameter => {
         this.disabled = true
         this.disabled = true
         if (this.tableHeight == 0) {
         if (this.tableHeight == 0) {
-          this.tableHeight = window.innerHeight - 220
+          this.tableHeight = window.innerHeight - 80
         }
         }
         // 入库时间
         // 入库时间
         if (this.time && this.time.length > 0) {
         if (this.time && this.time.length > 0) {

+ 1 - 1
src/views/allocationManagement/chainTransferOut/list.vue

@@ -179,7 +179,7 @@ export default {
       loadData: parameter => {
       loadData: parameter => {
         this.disabled = true
         this.disabled = true
         if (this.tableHeight == 0) {
         if (this.tableHeight == 0) {
-          this.tableHeight = window.innerHeight - 275
+          this.tableHeight = window.innerHeight - 380
         }
         }
         // 创建时间
         // 创建时间
         if (this.createDate && this.createDate.length > 0) {
         if (this.createDate && this.createDate.length > 0) {

+ 3 - 3
src/views/inventoryManagement/inventoryQuery/detailModal.vue

@@ -21,7 +21,7 @@
       :rowKey="(record) => record.id"
       :rowKey="(record) => record.id"
       :columns="columns"
       :columns="columns"
       :data="loadData"
       :data="loadData"
-      :scroll="{ x: 1420 }"
+      :scroll="{ x: 1580 }"
       bordered>
       bordered>
       <!-- 库存数量 -->
       <!-- 库存数量 -->
       <template slot="currentQty" slot-scope="text, record">
       <template slot="currentQty" slot-scope="text, record">
@@ -62,9 +62,9 @@ export default {
       // 表头
       // 表头
       columns: [
       columns: [
         { title: '序号', dataIndex: 'no', width: 80, align: 'center', fixed: 'left' },
         { title: '序号', dataIndex: 'no', width: 80, align: 'center', fixed: 'left' },
-        { title: '产品编码', dataIndex: 'productCode', width: 140, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品编码', dataIndex: 'productCode', width: 220, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品名称', dataIndex: 'productName', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
         { title: '产品名称', dataIndex: 'productName', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
-        { title: '原厂编码', dataIndex: 'productOrigCode', width: 140, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '原厂编码', dataIndex: 'productOrigCode', width: 220, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '入库时间', dataIndex: 'putTime', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '入库时间', dataIndex: 'putTime', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '仓库', dataIndex: 'warehouseName', width: 140, align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
         { title: '仓库', dataIndex: 'warehouseName', width: 140, align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
         { title: '仓位', dataIndex: 'warehouseLocationName', width: 140, align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
         { title: '仓位', dataIndex: 'warehouseLocationName', width: 140, align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },

+ 2 - 2
src/views/inventoryManagement/inventoryQuery/list.vue

@@ -38,7 +38,7 @@
               <a-form-item label="产品分类">
               <a-form-item label="产品分类">
                 <a-cascader
                 <a-cascader
                   :options="typeData"
                   :options="typeData"
-				  expand-trigger="hover"
+                  expand-trigger="hover"
                   :field-names="{ label: 'productTypeName', value: 'productTypeSn', children: 'children' }"
                   :field-names="{ label: 'productTypeName', value: 'productTypeSn', children: 'children' }"
                   placeholder="请选择产品分类"
                   placeholder="请选择产品分类"
                   allowClear
                   allowClear
@@ -154,7 +154,7 @@ export default {
       loadData: parameter => {
       loadData: parameter => {
         this.disabled = true
         this.disabled = true
         if (this.tableHeight == 0) {
         if (this.tableHeight == 0) {
-          this.tableHeight = window.innerHeight - 340
+          this.tableHeight = window.innerHeight - 370
         }
         }
         return stockList(Object.assign(parameter, this.queryParam)).then(res => {
         return stockList(Object.assign(parameter, this.queryParam)).then(res => {
           const data = res.data
           const data = res.data