diff --git a/yxt-as-ui/src/views/maintenanceReceive/index.vue b/yxt-as-ui/src/views/maintenanceReceive/index.vue index 5e0f7c1187..b0e83ca924 100644 --- a/yxt-as-ui/src/views/maintenanceReceive/index.vue +++ b/yxt-as-ui/src/views/maintenanceReceive/index.vue @@ -15,10 +15,10 @@ - + - + - + - + diff --git a/yxt-as-ui/src/views/maintenanceReceive/maintenanceReturnBound.vue b/yxt-as-ui/src/views/maintenanceReceive/maintenanceReturnBound.vue index 0bbb3e7ecb..2453e0b0a3 100644 --- a/yxt-as-ui/src/views/maintenanceReceive/maintenanceReturnBound.vue +++ b/yxt-as-ui/src/views/maintenanceReceive/maintenanceReturnBound.vue @@ -217,7 +217,7 @@ - + diff --git a/yxt-as-ui/src/views/storage/deliveryNotice/index.vue b/yxt-as-ui/src/views/storage/deliveryNotice/index.vue index ddf7649e81..2fd539826e 100644 --- a/yxt-as-ui/src/views/storage/deliveryNotice/index.vue +++ b/yxt-as-ui/src/views/storage/deliveryNotice/index.vue @@ -483,7 +483,7 @@ } if (this.selectionList[0].busTypeValue == '采购入库' && - this.selectionList[0].manufactorBillNo != '') { + this.selectionList[0].manufactorBillNo == '') { this.$message({ type: 'warning', message: "厂家订单号不能为空", diff --git a/yxt-as-ui/src/views/storage/maintenanceInOrOutBound/index.vue b/yxt-as-ui/src/views/storage/maintenanceInOrOutBound/index.vue index 562e3fc180..4aeca2e277 100644 --- a/yxt-as-ui/src/views/storage/maintenanceInOrOutBound/index.vue +++ b/yxt-as-ui/src/views/storage/maintenanceInOrOutBound/index.vue @@ -234,31 +234,31 @@ toBuild() { // if (this.sids.length > 0) { - const loading = this.$loading({ - lock: true, - text: 'Loading', - spinner: 'el-icon-loading', - background: 'rgba(0, 0, 0, 0.7)' - }) + const loading = this.$loading({ + lock: true, + text: 'Loading', + spinner: 'el-icon-loading', + background: 'rgba(0, 0, 0, 0.7)' + }) - req.exportExcel(this.queryParams.params).then((resp) => { - loading.close() - const blob = new Blob([resp], { - type: 'application/vnd.ms-excel' - }) - const fileName = '旧件出入库记录' + '.xls' - const elink = document.createElement('a') - elink.download = fileName - elink.style.display = 'nonde' - elink.href = URL.createObjectURL(blob) - document.body.appendChild(elink) - elink.click() - URL.revokeObjectURL(elink.href) - document.body.removeChild(elink) - }).catch(() => { - loading.close() + req.exportExcel(this.queryParams.params).then((resp) => { + loading.close() + const blob = new Blob([resp], { + type: 'application/vnd.ms-excel' }) + const fileName = '旧件出入库记录' + '.xls' + const elink = document.createElement('a') + elink.download = fileName + elink.style.display = 'nonde' + elink.href = URL.createObjectURL(blob) + document.body.appendChild(elink) + elink.click() + URL.revokeObjectURL(elink.href) + document.body.removeChild(elink) + }).catch(() => { + loading.close() + }) // } else { // this.$message({ // type: "warning", diff --git a/yxt-as-ui/src/views/storage/outStorage/outStorageAdd.vue b/yxt-as-ui/src/views/storage/outStorage/outStorageAdd.vue index 3d2a424dcd..e65ac6e34f 100644 --- a/yxt-as-ui/src/views/storage/outStorage/outStorageAdd.vue +++ b/yxt-as-ui/src/views/storage/outStorage/outStorageAdd.vue @@ -240,9 +240,9 @@ // } // }) // }, - // commodityDelete(index) { - // this.formobj.detailsList.splice(index, 1) - // }, + commodityDelete(index) { + this.formobj.detailsList.splice(index, 1) + }, // commodityCurrentChange(value, row) { // console.log("commodityCurrentChange》》》》", value) // console.log("commodityCurrentChange》》》》", row)