| | |
| | | <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) { |
| | |
| | | v-model="form.workshopObj" |
| | | placeholder="请选择" |
| | | class="select-width" |
| | | @change="getGroupNumber('workshopObj')" |
| | | > |
| | | @change="getGroupNumber('workshopObj')"> |
| | | <el-option |
| | | v-for="item in nameList" |
| | | :key="item.ID" |
| | | :label="item.name" |
| | | :value="{ value: item.number, label: item.name }" |
| | | > |
| | | :value="{ value: item.number, label: item.name }"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | |
| | | v-for="item in workshopGroupList" |
| | | :key="item" |
| | | :label="item" |
| | | :value="item" |
| | | > |
| | | :value="item"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="2" style="margin: 0 auto; text-align: center" |
| | | >-</el-col |
| | | > |
| | | <el-col :span="2" style="margin: 0 auto; text-align: center">-</el-col> |
| | | <el-col :span="11"> |
| | | <el-form-item |
| | | label="" |
| | |
| | | </el-row> |
| | | </el-form-item> |
| | | <el-form-item label="车号" prop="position" class="form-item"> |
| | | <el-input v-model.number="form.position" placeholder="请输入"> |
| | | <el-input disabled v-model.number="form.position" placeholder="请输入车号"> |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | // 产品列表输入 |
| | | inputContent(val, prop, row) { |
| | | this.productId = row.productId; |
| | | this.form.position=row.position; |
| | | this.tableData.map((item) => { |
| | | if (item.productId === row.productId) { |
| | | item[prop] = val; |
| | |
| | | return path.join(__dirname, dir) |
| | | } |
| | | |
| | | const serverPath='http://192.168.0.101:8008'; |
| | | // 设置不参与构建的库 |
| | | const externals = {} |
| | | const externals = {}; |
| | | module.exports = { |
| | | publicPath, |
| | | lintOnSave: false, |
| | |
| | | // target: "http://192.168.20.118:8889", // http://192.168.20.119:8002 http://fai365.com:30150/ |
| | | // target: "http://192.168.20.120:8008", |
| | | // target: "http://192.168.20.120:8004", |
| | | target: "http://192.168.20.119:8008", // http://192.168.20.119:8004 http://fai365.com:30150/ |
| | | |
| | | target: serverPath, // http://192.168.20.119:8004 http://fai365.com:30150/ |
| | | ws: true, |
| | | changeOrigin: true |
| | | } |