|
@@ -1321,12 +1321,12 @@ const copyNodeClick = async () => {
|
|
|
classify = arr.join(',')
|
|
|
}
|
|
|
//isSameNode 是否同节点 1=同节点,0=跨节点
|
|
|
- if(table.length>0){
|
|
|
- table.forEach((ele)=>{
|
|
|
- if(ele.primaryKeyId===formCopyNodeModel.value.primaryKeyId){
|
|
|
- ele.isSameNode =1
|
|
|
- }else{
|
|
|
- ele.isSameNode =0
|
|
|
+ if (table.length > 0) {
|
|
|
+ table.forEach((ele) => {
|
|
|
+ if (ele.primaryKeyId === formCopyNodeModel.value.primaryKeyId) {
|
|
|
+ ele.isSameNode = 1
|
|
|
+ } else {
|
|
|
+ ele.isSameNode = 0
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -1699,7 +1699,7 @@ const tableFormSaveClick = async () => {
|
|
|
setFormRegExpJson(FormRegExpJson)
|
|
|
} else if (FormData.length > 0) {
|
|
|
tableFormSaveLoading.value = true
|
|
|
- console.log(FormData, 'FormData')
|
|
|
+ console.log('FormData', FormData)
|
|
|
const {error, code} = await wbsApi.saveExcelBussData({
|
|
|
dataInfo: {orderList: FormData}
|
|
|
})
|
|
@@ -1710,7 +1710,6 @@ const tableFormSaveClick = async () => {
|
|
|
getTableDataAll()
|
|
|
}
|
|
|
} else {
|
|
|
- //http://testcandao.hcxxy.com/bug-view-819.html
|
|
|
await bussPdfsClick()
|
|
|
}
|
|
|
}
|
|
@@ -1753,7 +1752,6 @@ const setFormRegExpJson = (FormRegExpJson) => {
|
|
|
const bussPdfsLoading = ref(false)
|
|
|
const bussPdfsClick = async () => {
|
|
|
const info = nodeDataInfo.value;
|
|
|
- console.log(info, 'info')
|
|
|
bussPdfsLoading.value = true
|
|
|
const {error, code, data} = await wbsApi.getBussPdfs({
|
|
|
nodeId: info?.primaryKeyId || '',
|