Browse Source

RFQ 高度

java8
han\hanst 3 months ago
parent
commit
57985ce905
  1. 20
      src/views/modules/part/bom_create.vue

20
src/views/modules/part/bom_create.vue

@ -92,7 +92,7 @@
<div class="rq ">
<el-table
:data="subDetailList"
height="256px"
height="320px"
border
@selection-change="componentSelectionChange"
style="width:100%">
@ -3134,12 +3134,12 @@ export default {
//
packageSaveData () {
//
const hasEmptyQty = this.subDetailList.some(item =>
item.qtyPerAssembly === null ||
item.qtyPerAssembly === '' ||
const hasEmptyQty = this.subDetailList.some(item =>
item.qtyPerAssembly === null ||
item.qtyPerAssembly === '' ||
item.qtyPerAssembly === undefined
)
if (hasEmptyQty) {
this.$alert('单位用量不允许为空,请填写完整后再保存!', '验证失败', {
confirmButtonText: '确定',
@ -3147,7 +3147,7 @@ export default {
})
return
}
//
const allAHasValue = this.subDetailList.every(item => item.operationId !== null && item.operationId !== '')
if (!allAHasValue) {
@ -3915,11 +3915,11 @@ export default {
async batchUpdateComponentsSave() {
// loading
this.batchUpdateSaveLoading = true
let flag = true
//
const listLength = this.subDetailList.length
for (let i = 0; i < listLength; i++) {
//
let row = this.subDetailList[i]
@ -4036,7 +4036,7 @@ export default {
// loading
this.batchUpdateSaveLoading = false
if(flag) {
this.$message({
message: '批量修改并计算完成',
@ -4214,7 +4214,7 @@ export default {
padding: 15px 0px 0px 0px;
}
/deep/ .sub_detail-tab .el-tabs__content {
height: 280px;
height: 400px;
padding: 0px;
}
</style>
Loading…
Cancel
Save