guoyujia vor 2 Monaten
Ursprung
Commit
02c821c6d7

+ 2 - 4
src/views/business/batchCertificate/DialogFurnaceNoInfo.vue

@@ -128,10 +128,8 @@ function handleMultipleSelected() {
   close();
 }
 
-function handleSingleSelected(row) {
-  if (singleSelected.value) {
-    singleSelected.value(details.value, row);
-  }
+function handleSingleSelected(data) {
+  emit('singleChoice', data)
   close();
 }
 

+ 4 - 4
src/views/business/batchCertificate/index.vue

@@ -56,10 +56,10 @@
                 </el-input>
               </template>
             </el-table-column>
-            <el-table-column label="包装线号" prop="certificate.packageLineNo" align="center" width="130" >
+            <el-table-column label="包装线号" prop="certificate.packageLineNo" align="center" width="110" >
               <template #default="scope">
                 <el-input readonly :disabled="scope.row.certificate.generateTime != null" v-model="scope.row.certificate.packageLineNo" placeholder=""
-                  style="width: 120px">
+                  style="width: 100px">
                   <template #append>
                     <el-button :disabled="scope.row.certificate.generateTime != null" icon="Search"
                       @click="showLineChoiceDialog(scope.row)"></el-button>
@@ -67,10 +67,10 @@
                 </el-input>
               </template>
             </el-table-column>
-            <el-table-column label="包装箱号" prop="certificate.packageNo" align="center" width="110" >
+            <el-table-column label="包装箱号" prop="certificate.packageNo" align="center" width="130" >
               <template #default="scope">
                 <el-input readonly :disabled="scope.row.certificate.generateTime != null" v-model="scope.row.certificate.packageNo" placeholder=""
-                  style="width:100px">
+                  style="width:120px">
                   <template #append>
                     <el-button :disabled="scope.row.certificate.generateTime != null" icon="Search"
                       @click="showPackageChoiceDialog(scope.row)"></el-button>