소스 검색

领料打印更改

qinhb 2 달 전
부모
커밋
dd251600a0
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 2
      src/views/plan/requisition/exportInfo.vue
  2. 0 1
      src/views/plan/requisition/index.vue

+ 3 - 2
src/views/plan/requisition/exportInfo.vue

@@ -70,8 +70,9 @@ const router = useRouter();
 onMounted(() => {
   getTableData();
 });
-watch(props.excelRow, () => {
-  console.log(excelRow.value, "watch");
+watch(()=>props.excelRow, () => {  getTableData();
+},{
+  deep:true
 });
 </script>
 <style>

+ 0 - 1
src/views/plan/requisition/index.vue

@@ -43,7 +43,6 @@
         >
         <el-button
           type="primary"
-          v-if="row.state === '8'"
           link
           size="small"
           @click="openDialog1(row)"