lxf 1 年之前
父節點
當前提交
f35325b28b

+ 1 - 1
src/components/makeBOM/index.vue

@@ -203,7 +203,7 @@
         </div>
       </template>
     </byForm>
-    <div style="width: 100%; text-align: center; margin: 10px">
+    <div style="text-align: center; margin: 10px">
       <el-button v-if="props.detailStatus" @click="clickCancel()" size="large">关 闭</el-button>
       <el-button v-if="!props.detailStatus" @click="clickCancel()" size="large">取 消</el-button>
       <el-button type="primary" @click="submitForm()" v-if="!props.detailStatus" size="large" v-preReClick>确 定</el-button>

+ 1 - 1
src/components/makeGroupProduct/index.vue

@@ -199,7 +199,7 @@
         </div>
       </template>
     </byForm>
-    <div style="width: 100%; text-align: center; margin: 10px">
+    <div style="text-align: center; margin: 10px">
       <el-button v-if="props.detailStatus" @click="clickCancel()" size="large">关 闭</el-button>
       <el-button v-if="!props.detailStatus" @click="clickCancel()" size="large">取 消</el-button>
       <el-button type="primary" @click="submitForm()" v-if="!props.detailStatus" size="large" v-preReClick>确 定</el-button>

+ 1 - 1
src/components/makeProduct/index.vue

@@ -266,7 +266,7 @@
         </div>
       </template>
     </byForm>
-    <div style="width: 100%; text-align: center; margin: 10px">
+    <div style="text-align: center; margin: 10px">
       <el-button v-if="props.detailStatus" @click="clickCancel()" size="large">关 闭</el-button>
       <el-button v-if="!props.detailStatus" @click="clickCancel()" size="large">取 消</el-button>
       <el-button type="primary" @click="submitForm()" v-if="!props.detailStatus" size="large" v-preReClick>确 定</el-button>

+ 1 - 1
src/components/makeProduct/subsidiary/index.vue

@@ -178,7 +178,7 @@
         </div>
       </template>
     </byForm>
-    <div style="width: 100%; text-align: center; margin: 10px">
+    <div style="text-align: center; margin: 10px">
       <el-button v-if="props.detailStatus" @click="clickCancel()" size="large">关 闭</el-button>
       <el-button v-if="!props.detailStatus" @click="clickCancel()" size="large">取 消</el-button>
       <el-button type="primary" @click="submitForm()" v-if="!props.detailStatus" size="large" v-preReClick>确 定</el-button>

+ 1 - 1
src/views/group/order/already-removed/detail.vue

@@ -260,7 +260,7 @@
           </div>
         </template>
       </byForm>
-      <div style="width: 100%; text-align: center; margin: 10px">
+      <div style="text-align: center; margin: 10px">
         <el-button @click="clickCancel()" size="large">关 闭</el-button>
       </div>
     </el-card>

+ 1 - 1
src/views/group/order/management/detail.vue

@@ -316,7 +316,7 @@
           </div>
         </template>
       </byForm>
-      <div style="width: 100%; text-align: center; margin: 10px">
+      <div style="text-align: center; margin: 10px">
         <el-button @click="clickCancel()" size="large">关 闭</el-button>
       </div>
     </el-card>

+ 1 - 1
src/views/group/selling-price/charging-standard/addOrModify.vue

@@ -134,7 +134,7 @@
         </div>
       </template>
     </byForm>
-    <div style="width: 100%; text-align: center; margin: 10px">
+    <div style="text-align: center; margin: 10px">
       <el-button type="primary" @click="submitForm()" size="large" v-preReClick>保 存</el-button>
     </div>
   </el-card>

+ 1 - 1
src/views/production/operation/batching/demo.vue

@@ -88,7 +88,7 @@
           </div>
         </template>
       </byForm>
-      <div style="width: 100%; text-align: center; margin: 10px">
+      <div style="text-align: center; margin: 10px">
         <el-button @click="clickCancel()" size="large">取 消</el-button>
         <el-button type="primary" @click="submitForm()" size="large" v-preReClick>确 定</el-button>
       </div>

+ 30 - 28
src/views/production/operation/batching/index.vue

@@ -69,38 +69,40 @@
     </el-card>
 
     <el-dialog title="打印" v-if="openPrint" v-model="openPrint" width="1000px">
-      <div class="printBomList" id="printMe">
-        <div class="t">生产备料单</div>
-        <div class="time" style="text-align: right">
-          {{ printTime }}
+      <div style="height: calc(100vh - 174px); overflow-y: auto; overflow-x: hidden">
+        <div class="printBomList" id="printMe">
+          <div class="t">生产备料单</div>
+          <div class="time" style="text-align: right">
+            {{ printTime }}
+          </div>
+          <table border="1" cellspacing="0" class="table">
+            <thead>
+              <tr>
+                <td style="width: 6%; text-align: center">编号</td>
+                <td style="width: 18%">物料品号</td>
+                <td style="width: 38%">物料品名</td>
+                <td style="width: 18%">SKU品号</td>
+                <td style="width: 10%; text-align: center">数量小计</td>
+                <td style="width: 10%; text-align: center">数量总计</td>
+              </tr>
+            </thead>
+            <tbody v-for="(item, index) in sourceList.data" :key="index">
+              <tr v-for="(itemSKU, indexSKU) in item.skuInfoList" :key="indexSKU">
+                <td :rowspan="item.skuInfoList.length" v-if="indexSKU === 0" style="text-align: center">{{ index + 1 }}</td>
+                <td :rowspan="item.skuInfoList.length" v-if="indexSKU === 0">{{ item.bomSpecCode }}</td>
+                <td :rowspan="item.skuInfoList.length" v-if="indexSKU === 0">{{ item.bomSpecName }}</td>
+                <td>{{ itemSKU.skuSpecCode }}</td>
+                <td style="text-align: center">{{ itemSKU.quantity }}</td>
+                <td :rowspan="item.skuInfoList.length" v-if="indexSKU === 0" style="text-align: center">{{ item.totalQuantity }}</td>
+              </tr>
+            </tbody>
+          </table>
         </div>
-        <table border="1" cellspacing="0" class="table">
-          <thead>
-            <tr>
-              <td style="width: 6%; text-align: center">编号</td>
-              <td style="width: 18%">物料品号</td>
-              <td style="width: 38%">物料品名</td>
-              <td style="width: 18%">SKU品号</td>
-              <td style="width: 10%; text-align: center">数量小计</td>
-              <td style="width: 10%; text-align: center">数量总计</td>
-            </tr>
-          </thead>
-          <tbody v-for="(item, index) in sourceList.data" :key="index">
-            <tr v-for="(itemSKU, indexSKU) in item.skuInfoList" :key="indexSKU">
-              <td :rowspan="item.skuInfoList.length" v-if="indexSKU === 0" style="text-align: center">{{ index + 1 }}</td>
-              <td :rowspan="item.skuInfoList.length" v-if="indexSKU === 0">{{ item.bomSpecCode }}</td>
-              <td :rowspan="item.skuInfoList.length" v-if="indexSKU === 0">{{ item.bomSpecName }}</td>
-              <td>{{ itemSKU.skuSpecCode }}</td>
-              <td style="text-align: center">{{ itemSKU.quantity }}</td>
-              <td :rowspan="item.skuInfoList.length" v-if="indexSKU === 0" style="text-align: center">{{ item.totalQuantity }}</td>
-            </tr>
-          </tbody>
-        </table>
       </div>
-      <template #footer>
+      <div style="text-align: center; margin: 10px">
         <el-button @click="openPrint = false" size="large">取消</el-button>
         <el-button type="primary" v-print="printObj" size="large">打印</el-button>
-      </template>
+      </div>
     </el-dialog>
 
     <el-dialog title="快捷出库" v-if="openQuick" v-model="openQuick" width="90%">

+ 1 - 1
src/views/production/operation/batching/quick.vue

@@ -40,7 +40,7 @@
         </template>
       </byForm>
     </div>
-    <div style="width: 100%; text-align: center; margin: 10px">
+    <div style="text-align: center; margin: 10px">
       <el-button @click="clickCancel()" size="large">取 消</el-button>
       <el-button type="primary" @click="submitForm()" size="large" v-preReClick>确 定</el-button>
     </div>

+ 1 - 1
src/views/production/warehouse/check/add.vue

@@ -67,7 +67,7 @@
           </div>
         </template>
       </byForm>
-      <div style="width: 100%; text-align: center; margin: 10px">
+      <div style="text-align: center; margin: 10px">
         <el-button @click="clickCancel()" size="large">取 消</el-button>
         <el-button type="primary" @click="submitForm()" size="large" v-preReClick>确 定</el-button>
       </div>

+ 1 - 1
src/views/production/warehouse/outbound/add.vue

@@ -65,7 +65,7 @@
           </div>
         </template>
       </byForm>
-      <div style="width: 100%; text-align: center; margin: 10px">
+      <div style="text-align: center; margin: 10px">
         <el-button @click="clickCancel()" size="large">取 消</el-button>
         <el-button type="primary" @click="submitForm()" size="large" v-preReClick>确 定</el-button>
       </div>

+ 1 - 1
src/views/production/warehouse/putInStorage/add.vue

@@ -74,7 +74,7 @@
           </div>
         </template>
       </byForm>
-      <div style="width: 100%; text-align: center; margin: 10px">
+      <div style="text-align: center; margin: 10px">
         <el-button @click="clickCancel()" size="large">取 消</el-button>
         <el-button type="primary" @click="submitForm()" size="large" v-preReClick>确 定</el-button>
       </div>

+ 1 - 1
src/views/production/warehouse/transfer/index.vue

@@ -69,7 +69,7 @@
           </div>
         </template>
       </byForm>
-      <div style="width: 100%; text-align: center; margin: 10px">
+      <div style="text-align: center; margin: 10px">
         <el-button @click="clickCancel()" size="large">取 消</el-button>
         <el-button type="primary" @click="submitForm()" size="large" v-preReClick>确 定</el-button>
       </div>

+ 1 - 1
src/views/subsidiary/order/management/add.vue

@@ -322,7 +322,7 @@
           </div>
         </template>
       </byForm>
-      <div style="width: 100%; text-align: center; margin: 10px">
+      <div style="text-align: center; margin: 10px">
         <el-button @click="clickCancel()" v-if="route.query && route.query.detailId" size="large">关 闭</el-button>
         <el-button @click="clickCancel()" v-if="!(route.query && route.query.detailId)" size="large">取 消</el-button>
         <el-button @click="submitForm('0')" v-if="!(route.query && route.query.detailId)" size="large" v-preReClick>暂 存</el-button>

+ 1 - 1
src/views/subsidiary/order/management/design.vue

@@ -221,7 +221,7 @@
           </div>
         </template>
       </byForm>
-      <div style="width: 100%; text-align: center; margin: 10px">
+      <div style="text-align: center; margin: 10px">
         <el-button @click="clickCancel()" size="large">取 消</el-button>
         <el-button type="primary" @click="submitForm('20')" size="large" v-preReClick>确 定</el-button>
       </div>