| | |
| | | <el-input |
| | | v-model="ruleForm.fallingSilkBucketThree" |
| | | size="small" |
| | | class="d-b-c-input" |
| | | ></el-input> |
| | | class="d-b-c-input"></el-input> |
| | | </el-form-item> |
| | | <el-checkbox |
| | | v-model="ruleForm.selectThree" |
| | |
| | | <el-form-item label="总产量" prop="total"> |
| | | <div style="display: flex"> |
| | | <el-input |
| | | v-model.number="ruleForm.total" |
| | | :value="getTotal.toFixed(2)" |
| | | size="small" |
| | | disabled |
| | | ></el-input> |
| | | <span class='margin_left_5px'>kg</span> |
| | | </div> |
| | |
| | | prop="pieceNumber11" |
| | | label="1" |
| | | width="60" |
| | | align="center" |
| | | > |
| | | |
| | | align="center"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="pieceNumber12" |
| | |
| | | prop="pieceNumber13" |
| | | label="3" |
| | | width="60" |
| | | align="center" |
| | | > |
| | | align="center"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="pieceNumber14" |
| | | label="4" |
| | | width="60" |
| | | align="center" |
| | | > |
| | | align="center"> |
| | | </el-table-column> |
| | | </el-table-column> |
| | | <el-table-column label="第二回" align="center"> |
| | |
| | | prop="oneYield1" |
| | | label="一回台产" |
| | | width="60" |
| | | align="center" |
| | | > |
| | | <template slot-scope="scope"> |
| | | {{(ruleForm.record&&ruleForm.record!=0&&scope.row.allYield1)?(scope.row.allYield1/ruleForm.record).toFixed(2):''}} |
| | | </template> |
| | | align="center"> |
| | | <template slot-scope="scope"> |
| | | {{(ruleForm.record&&ruleForm.record!=0&&scope.row.allYield1)?(scope.row.allYield1/ruleForm.record).toFixed(2):''}} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="reelingdiscount1" |
| | |
| | | props: {}, |
| | | mixins: [], |
| | | components: { addProductDialog }, |
| | | computed: {}, |
| | | computed: { |
| | | getTotal(){ |
| | | let total=0; |
| | | this.tableData.forEach(item=>{ |
| | | total+=parseFloat(this.getOneYield(item)); |
| | | }); |
| | | return total; |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | | isDeviceConnectStatus: true, |
| | |
| | | twoBack: "", |
| | | threeBack: "", |
| | | theorySilkAmount: "", |
| | | total: "", |
| | | total: 0, |
| | | hourYield: "", |
| | | }; |
| | | if (this.productRegisterNumber) { |