| | |
| | | label="" |
| | | @input="inputStart" |
| | | label-width="0" |
| | | label-position="right" |
| | | prop="fallingSilkBucketOne" |
| | | :rules="[ |
| | | { |
| | | required: ruleForm.isfallingSilkBucketOne, |
| | | message: '请填写', |
| | | trigger: 'change', |
| | | }, |
| | | ]" |
| | | class='margin_right_10px select-width-input' |
| | | > |
| | | <el-input |
| | | v-model="ruleForm.fallingSilkBucketOne" |
| | | size="small" |
| | | class="d-b-c-input" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-checkbox |
| | |
| | | label="" |
| | | @input="inputStart" |
| | | label-width="0" |
| | | :rules="[ |
| | | { |
| | | required: ruleForm.isfallingSilkBucketTwo, |
| | | message: '请填写', |
| | | trigger: 'change', |
| | | }, |
| | | ]" |
| | | prop="fallingSilkBucketTwo" |
| | | class='margin_right_10px select-width-input' |
| | | > |
| | |
| | | <el-form-item |
| | | label="" |
| | | @input="inputStart" |
| | | label-width="0" |
| | | label-width="" |
| | | :rules="[ |
| | | { |
| | | required: ruleForm.isfallingSilkBucketThree, |
| | | message: '请填写', |
| | | trigger: 'change', |
| | | }, |
| | | ]" |
| | | prop="fallingSilkBucketThree" |
| | | class='margin_right_10px select-width-input' |
| | | > |
| | |
| | | if(this.tableDataCircles[j].carNumber==this.tableData[i].carNumber){ |
| | | let circle=this.tableDataCircles[j].circle |
| | | let pieceNumberList=this.tableDataCircles[j].pieceNumbers||[] |
| | | this.tableData[i]['allYield'+circle]=this.tableDataCircles[j]['allYield'+circle] |
| | | this.tableData[i]['oneYield'+circle]=this.tableDataCircles[j]['oneYield'+circle] |
| | | this.tableData[i]['reelingdiscount'+circle]=this.tableDataCircles[j]['reelingdiscount'+circle] |
| | | this.tableData[i]['allYield'+circle]=this.tableDataCircles[j]['allYield'] |
| | | this.tableData[i]['oneYield'+circle]=this.tableDataCircles[j]['oneYield'] |
| | | this.tableData[i]['reelingdiscount'+circle]=this.tableDataCircles[j]['reelingdiscount'] |
| | | if(pieceNumberList.length>0){ |
| | | for(let k in pieceNumberList){ |
| | | this.tableData[i]['pieceNumber'+circle+pieceNumberList[k].pieceNumber] |
| | | this.tableData[i]['pieceNumber'+circle+pieceNumberList[k].pieceNumber]=pieceNumberList[k].value |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | console.log(this.tableData,'==this.tableData') |
| | | this.ruleForm.carNumber=this.tableData.length>0?this.tableData[0].carNumber:'' |
| | | }, |
| | | // 表格的计算问题 |
| | |
| | | }) |
| | | this.$set(this.tableData[i],'isBlue',true) |
| | | this.$set(this.tableData[i],'pieceNumber'+form.pieceNumber+form.pieces,form.netWeight) |
| | | this.tableShow=false; |
| | | this.$nextTick(()=>{ |
| | | this.tableShow=true; |
| | | this.$forceUpdate(); |
| | | }) |
| | | break; |
| | | } |
| | | } |
| | |
| | | circles.push(listItems3) |
| | | items.push(listItems4) |
| | | } |
| | | console.log(circles,'circles') |
| | | let params = { |
| | | ...form, |
| | | circles: circles, |
| | |
| | | .select-width { |
| | | width: calc(100% - 20px); |
| | | .select-width-input{ |
| | | width:calc(100% - 200px);float:left; |
| | | width:150px; |
| | | float:left; |
| | | } |
| | | } |
| | | .body-top { |
| | |
| | | .c-n { |
| | | cursor: no-drop; |
| | | } |
| | | |
| | | ::v-deep { |
| | | } |
| | | </style> |
| | | </style> |