Procházet zdrojové kódy

Merge remote-tracking branch 'origin/qingban' into qingban

jxq před 1 týdnem
rodič
revize
944bd5088d

+ 1 - 0
src/views/base/apply/index.vue

@@ -47,6 +47,7 @@
     :title="dialog.title"
     :title="dialog.title"
     width="80%"
     width="80%"
     @close="dialog.visible = false"
     @close="dialog.visible = false"
+    :destroy-on-close="true"
   >
   >
     <Apply
     <Apply
       :rowData="rowData"
       :rowData="rowData"

+ 1 - 0
src/views/base/craftManagement/route/index.vue

@@ -149,6 +149,7 @@
           link
           link
           icon="el-icon-copy-document"
           icon="el-icon-copy-document"
           @click="bindProcessPop(row)"
           @click="bindProcessPop(row)"
+          v-if="row.flowState != '3'"
           >绑定</el-button
           >绑定</el-button
         >
         >
       </template>
       </template>

+ 1 - 1
src/views/base/craftManagement/routeCommon/index.vue

@@ -83,7 +83,7 @@
         >删除</el-button
         >删除</el-button
         >
         >
 
 
-        <el-button link icon="el-icon-copy-document" @click="bindProcess(row)"
+        <el-button link icon="el-icon-copy-document" @click="bindProcess(row)" v-if="row.flowState != '3'"
           >绑定</el-button
           >绑定</el-button
         >
         >
                 <el-button
                 <el-button

+ 1 - 1
src/views/plan/filtersheet/index.vue

@@ -151,7 +151,7 @@
       width="950px"
       width="950px"
       @close="dialog1.visible = false"
       @close="dialog1.visible = false"
     >
     >
-      <work-order-page @order-info="materialInfo1" />
+      <work-order-page @order-info="materialInfo1" :queryType="99"/>
     </el-dialog>
     </el-dialog>
     <el-dialog
     <el-dialog
       v-model="workOderShow"
       v-model="workOderShow"

+ 2 - 2
src/views/pro/traceability/components/materialsCom.vue

@@ -158,8 +158,8 @@ option.value = Object.assign(option.value, {
       display: false,
       display: false,
     },
     },
     {
     {
-      label: "替换批次号",
-      prop: "replaceBatchNo",
+      label: "批次号",
+      prop: "oldBatchNo",
       display: false,
       display: false,
     },
     },
     {
     {

+ 8 - 0
src/views/quality/reject/index.vue

@@ -21,6 +21,8 @@
         <el-button  link  @click="showSeq(row.seqNoList)">
         <el-button  link  @click="showSeq(row.seqNoList)">
           查看管号
           查看管号
         </el-button>
         </el-button>
+        <el-button type="danger" link v-if="row.state == '0' || row.state == '2' || row.state == '-1'"  @click="deleteRecord(row)"
+        >删除</el-button>
         <el-button
         <el-button
             link
             link
             icon="el-icon-copy-document"
             icon="el-icon-copy-document"
@@ -41,6 +43,7 @@
         <el-button  link @click="toShow(row)">
         <el-button  link @click="toShow(row)">
           查看
           查看
         </el-button>
         </el-button>
+
       </template>
       </template>
     </avue-crud>
     </avue-crud>
     <div v-else>
     <div v-else>
@@ -84,6 +87,11 @@ const toShow = (row) => {
   tableData.value = setJson(row);
   tableData.value = setJson(row);
   showState.value = true;
   showState.value = true;
 };
 };
+
+const deleteRecord = (row, index, done) => {
+  deleteRow(row, index, done);
+  dataList();
+};
 const showSeqList =ref([]);
 const showSeqList =ref([]);
 const tableData = ref();
 const tableData = ref();
 const proccessKey = ref(false);
 const proccessKey = ref(false);

+ 22 - 5
src/views/quality/reverseTraceability/index.vue

@@ -56,7 +56,24 @@ option.value = Object.assign(option.value, {
     {
     {
       label: "批次号",
       label: "批次号",
       prop: "batchNo",
       prop: "batchNo",
-      hide: true,
+      formatter: (val) => {
+        if (val.batchNo == "0") {
+          return '';
+        }else{
+          return val.batchNo;
+        }
+      },
+    },
+    {
+      label: "原批次号",
+      prop: "oldBatchNo",
+      formatter: (val) => {
+        if (val.odlBatchNo == "0") {
+          return '';
+        }else{
+          return val.oldBatchNo;
+        }
+      },
     },
     },
     {
     {
       label: "物料名称",
       label: "物料名称",
@@ -74,7 +91,7 @@ option.value = Object.assign(option.value, {
       search: true,
       search: true,
     },
     },
 
 
-    {
+   /* {
       label: "物料序列号",
       label: "物料序列号",
       prop: "itemSeq",
       prop: "itemSeq",
     },
     },
@@ -82,7 +99,7 @@ option.value = Object.assign(option.value, {
       label: "旧序列号",
       label: "旧序列号",
       prop: "oldSeq",
       prop: "oldSeq",
       hide: true,
       hide: true,
-    },
+    },*/
     {
     {
       label: "工序id",
       label: "工序id",
       prop: "operationId",
       prop: "operationId",
@@ -111,10 +128,10 @@ option.value = Object.assign(option.value, {
       label: "录入数量",
       label: "录入数量",
       prop: "num",
       prop: "num",
     },
     },
-    {
+    /*{
       label: "排序号",
       label: "排序号",
       prop: "sortNum",
       prop: "sortNum",
-    },
+    },*/
     {
     {
       label: "采集人",
       label: "采集人",
       prop: "trackBy",
       prop: "trackBy",

+ 2 - 2
src/views/quality/rework/index.vue

@@ -67,14 +67,14 @@
             size="small"
             size="small"
           >返工完成</el-button
           >返工完成</el-button
         >-->
         >-->
-        <el-button
+<!--        <el-button
             link
             link
           v-if="row.state === 1"
           v-if="row.state === 1"
           @click="handle(row, index, 3)"
           @click="handle(row, index, 3)"
           type="primary"
           type="primary"
             size="small"
             size="small"
         >返工完成</el-button
         >返工完成</el-button
-        >
+        >-->
 
 
         <el-button
         <el-button
           @click="document(row)"
           @click="document(row)"