liuhairui 1 éve
szülő
commit
31cce21396
1 módosított fájl, 4 hozzáadás és 1 törlés
  1. 4 1
      src/view/job/processSheet/processSheet.vue

+ 4 - 1
src/view/job/processSheet/processSheet.vue

@@ -157,7 +157,8 @@
 	const selectedPeijian = ref([])
 	const datas = ref([])
 	const propertyChange = () => {
-		if(workData.value.Gd_gdbh.length!==7){
+		if(workData.value.Gd_gdbh.length<7){
+      console.log("没到七位")
 			shuang.value=false
 			selectedPaper.value=[]
 			selectedPeijian.value=[]
@@ -171,8 +172,10 @@
 			department.value=null
 			return false;
 		}else{
+      console.log("到了七位")
       const getDocument = async() => {
         const getDocumentDatas = await getDocumentData({order:workData.value.Gd_gdbh})
+        console.log(getDocumentDatas)
         if (getDocumentDatas.code === 0) {
           workData.value.version=getDocumentDatas.data.paper[0].产品版本号;
           workData.value.peijian=getDocumentDatas.data.paper;