aXin-0810 1 рік тому
батько
коміт
b456279d3a

+ 4 - 27
src/views/supply/engin/components/commerce_detail.vue

@@ -181,17 +181,9 @@
             show-summary
             :summary-method="$getSummaries"
           >
-            <el-table-column align="center" fixed label="序号" type="index" width="50" />
-            <el-table-column
-              align="left"
-              fixed
-              label="销售类型"
-              prop="saleTypeName"
-              min-width="100"
-              show-overflow-tooltip
-            />
+            <el-table-column align="center" label="序号" type="index" width="50" />
+            <el-table-column align="left" label="销售类型" prop="saleTypeName" min-width="100" show-overflow-tooltip />
             <el-table-column
-              fixed
               align="left"
               label="物料编码"
               prop="materialNumber"
@@ -199,29 +191,14 @@
               show-overflow-tooltip
             />
             <el-table-column
-              fixed
               align="left"
               label="产品编码"
               prop="materialOldNumber"
               min-width="120"
               show-overflow-tooltip
             />
-            <el-table-column
-              align="left"
-              fixed
-              label="产品名称"
-              prop="materialName"
-              min-width="160"
-              show-overflow-tooltip
-            />
-            <el-table-column
-              align="left"
-              fixed
-              label="规格型号"
-              prop="specification"
-              min-width="350"
-              show-overflow-tooltip
-            />
+            <el-table-column align="left" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip />
+            <el-table-column align="left" label="规格型号" prop="specification" min-width="350" show-overflow-tooltip />
             <el-table-column align="left" label="单位" prop="unit" min-width="100" show-overflow-tooltip />
             <el-table-column align="right" label="单价" prop="price" min-width="100" show-overflow-tooltip>
               <template slot-scope="scope">

+ 7 - 42
src/views/supply/engin/components/commerce_examine.vue

@@ -163,48 +163,13 @@
         show-summary
         :summary-method="$getSummaries"
       >
-        <el-table-column align="center" fixed label="序号" type="index" width="50" />
-        <el-table-column align="left" fixed label="引用记录" prop="useRefCount" min-width="100" show-overflow-tooltip />
-        <el-table-column
-          align="left"
-          fixed
-          label="销售类型"
-          prop="saleTypeName"
-          min-width="100"
-          show-overflow-tooltip
-        />
-        <el-table-column
-          align="left"
-          fixed
-          label="物料编码"
-          prop="materialNumber"
-          min-width="120"
-          show-overflow-tooltip
-        />
-        <el-table-column
-          align="left"
-          fixed
-          label="产品编码"
-          prop="materialOldNumber"
-          min-width="120"
-          show-overflow-tooltip
-        />
-        <el-table-column
-          align="left"
-          fixed
-          label="产品名称"
-          prop="materialName"
-          min-width="160"
-          show-overflow-tooltip
-        />
-        <el-table-column
-          align="left"
-          fixed
-          label="规格型号"
-          prop="specification"
-          min-width="350"
-          show-overflow-tooltip
-        />
+        <el-table-column align="center" label="序号" type="index" width="50" />
+        <el-table-column align="left" label="引用记录" prop="useRefCount" min-width="100" show-overflow-tooltip />
+        <el-table-column align="left" label="销售类型" prop="saleTypeName" min-width="100" show-overflow-tooltip />
+        <el-table-column align="left" label="物料编码" prop="materialNumber" min-width="120" show-overflow-tooltip />
+        <el-table-column align="left" label="产品编码" prop="materialOldNumber" min-width="120" show-overflow-tooltip />
+        <el-table-column align="left" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip />
+        <el-table-column align="left" label="规格型号" prop="specification" min-width="350" show-overflow-tooltip />
         <el-table-column align="left" label="单位" prop="unit" min-width="100" show-overflow-tooltip />
         <el-table-column align="right" label="单价" prop="price" min-width="100" show-overflow-tooltip>
           <template slot-scope="scope">

+ 5 - 34
src/views/supply/engin/components/commerce_form.vue

@@ -247,48 +247,19 @@
         @selection-change="handleSelectionChange"
       >
         <el-table-column align="center" fixed type="selection" width="55" />
-        <el-table-column align="center" fixed label="序号" type="index" width="50" />
+        <el-table-column align="center" label="序号" type="index" width="50" />
         <!--        <el-table-column align="center" label="引用记录" prop="useRefCount" min-width="160" show-overflow-tooltip></el-table-column>-->
+        <el-table-column align="center" label="销售类型" prop="saleTypeName" min-width="160" show-overflow-tooltip />
+        <el-table-column align="center" label="物料编码" prop="materialNumber" min-width="160" show-overflow-tooltip />
         <el-table-column
           align="center"
-          fixed
-          label="销售类型"
-          prop="saleTypeName"
-          min-width="160"
-          show-overflow-tooltip
-        />
-        <el-table-column
-          align="center"
-          fixed
-          label="物料编码"
-          prop="materialNumber"
-          min-width="160"
-          show-overflow-tooltip
-        />
-        <el-table-column
-          fixed
-          align="center"
           label="产品编码"
           prop="materialOldNumber"
           min-width="120"
           show-overflow-tooltip
         />
-        <el-table-column
-          align="center"
-          fixed
-          label="产品名称"
-          prop="materialName"
-          min-width="160"
-          show-overflow-tooltip
-        />
-        <el-table-column
-          align="center"
-          fixed
-          label="规格型号"
-          prop="specification"
-          min-width="300"
-          show-overflow-tooltip
-        >
+        <el-table-column align="center" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip />
+        <el-table-column align="center" label="规格型号" prop="specification" min-width="300" show-overflow-tooltip>
           <template slot-scope="scope">
             <el-input v-if="listItem" v-model="scope.row.specification" size="small" />
             <div v-else>{{ scope.row.specification }}</div>

+ 7 - 42
src/views/supply/engin/components/commerce_return.vue

@@ -146,48 +146,13 @@
         show-summary
         :summary-method="$getSummaries"
       >
-        <el-table-column align="center" fixed label="序号" type="index" width="50" />
-        <el-table-column align="left" fixed label="引用记录" prop="useRefCount" min-width="100" show-overflow-tooltip />
-        <el-table-column
-          align="left"
-          fixed
-          label="销售类型"
-          prop="saleTypeName"
-          min-width="100"
-          show-overflow-tooltip
-        />
-        <el-table-column
-          align="left"
-          fixed
-          label="物料编码"
-          prop="materialNumber"
-          min-width="120"
-          show-overflow-tooltip
-        />
-        <el-table-column
-          align="left"
-          fixed
-          label="产品编码"
-          prop="materialOldNumber"
-          min-width="120"
-          show-overflow-tooltip
-        />
-        <el-table-column
-          align="left"
-          fixed
-          label="产品名称"
-          prop="materialName"
-          min-width="160"
-          show-overflow-tooltip
-        />
-        <el-table-column
-          align="left"
-          fixed
-          label="规格型号"
-          prop="specification"
-          min-width="350"
-          show-overflow-tooltip
-        />
+        <el-table-column align="center" label="序号" type="index" width="50" />
+        <el-table-column align="left" label="引用记录" prop="useRefCount" min-width="100" show-overflow-tooltip />
+        <el-table-column align="left" label="销售类型" prop="saleTypeName" min-width="100" show-overflow-tooltip />
+        <el-table-column align="left" label="物料编码" prop="materialNumber" min-width="120" show-overflow-tooltip />
+        <el-table-column align="left" label="产品编码" prop="materialOldNumber" min-width="120" show-overflow-tooltip />
+        <el-table-column align="left" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip />
+        <el-table-column align="left" label="规格型号" prop="specification" min-width="350" show-overflow-tooltip />
         <el-table-column align="left" label="单位" prop="unit" min-width="100" show-overflow-tooltip />
         <el-table-column align="right" label="单价" prop="price" min-width="100" show-overflow-tooltip>
           <template slot-scope="scope">