| | |
| | | :data="tableDataPrint[0]" |
| | | border |
| | | class="tableDataPrint" |
| | | :header-cell-style="{ background: '#c0c0c0',textAlign:'center',color:'#000',borderColor:'#000',fontSize:'18px'}" |
| | | :cell-style="{textAlign: 'center',color:'#000',borderColor:'#000',fontSize:'18px'}" |
| | | :header-cell-style="{ background: '#c0c0c0',textAlign:'center',color:'#000',borderColor:'#000',fontSize:'18px',padding:'2px 0'}" |
| | | :cell-style="{textAlign: 'center',color:'#000',borderColor:'#000',fontSize:'18px',padding:'5px 0'}" |
| | | style="width: 100%;margin-top: 20px;text-align: center;border-color: #000" |
| | | > |
| | | <el-table-column |
| | |
| | | align="center" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | |
| | | <div :id="'qrCode'+row.seq" :ref="'qrCodeDiv'+row.seq" :key="'qrCodeDiv'+row.seq" class="tableColumn" /> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | :data="tableDataPrint[1]" |
| | | border |
| | | class="tableDataPrint" |
| | | :header-cell-style="{ background: '#c0c0c0',textAlign:'center',color:'#000',borderColor:'#000',fontSize:'18px'}" |
| | | :cell-style="{textAlign: 'center',color:'#000',borderColor:'#000',fontSize:'18px'}" |
| | | :header-cell-style="{ background: '#c0c0c0',textAlign:'center',color:'#000',borderColor:'#000',fontSize:'18px',padding:'2px 0'}" |
| | | :cell-style="{textAlign: 'center',color:'#000',borderColor:'#000',fontSize:'18px',padding:'5px 0'}" |
| | | style="width: 100%;margin-top: 20px;text-align: center;border-color: #000" |
| | | > |
| | | <el-table-column |
| | |
| | | |
| | | this.dialogForm.mesqtyinit = row.plan_qty |
| | | |
| | | this.dialogForm.paystartdate = row.plan_startdate |
| | | this.dialogForm.payenddate = row.plan_enddate |
| | | |
| | | const data = { |
| | | sourceid: this.dialogForm.sourceorderid, |
| | | sourcewo: this.dialogForm.sourceorder, |
| | |
| | | return this.$message.info('此工单的最大修改数值为:' + this.dialogForm.mesmaxqty) |
| | | } |
| | | |
| | | if (this.mesSetting.route && !this.dialogForm.routecode) { |
| | | return this.$message.error('请选择工艺路线!') |
| | | } |
| | | |
| | | const workListSub = [] |
| | | this.stepTableData.forEach((i, j) => { |
| | | workListSub.push( |
| | |
| | | wkshopcode: this.dialogForm.wkshopcode, |
| | | woqty: this.dialogForm.mesqty, // 工单数量 |
| | | deliverydate: this.dialogForm.deliverydate, // 交付时间 |
| | | paystartdate: this.dialogForm.paystartdate, |
| | | payenddate: this.dialogForm.payenddate, |
| | | data_sources: this.dialogForm.data_sources, // 数据来源 |
| | | isstep: workListSub.length > 0 ? 'Y' : 'N', // |
| | | difference: this.dialogForm.mesqty - this.dialogForm.mesqtyinit, // 数据差值 |
| | |
| | | if (size === 'big') { |
| | | new QRCode(this.$refs['qrCodeDiv0' + seq], { |
| | | text: text, |
| | | width: size === 'big' ? 90 : 60, |
| | | height: size === 'big' ? 90 : 60, |
| | | width: size === 'big' ? 90 : 45, |
| | | height: size === 'big' ? 90 : 45, |
| | | // colorDark: '#333333', // 二维码颜色 |
| | | colorDark: '#000', // 二维码颜色 |
| | | colorLight: '#ffffff', // 二维码背景色 |
| | |
| | | } else { |
| | | new QRCode(this.$refs['qrCodeDiv' + seq], { |
| | | text: text, |
| | | width: size === 'big' ? 90 : 60, |
| | | height: size === 'big' ? 90 : 60, |
| | | width: size === 'big' ? 90 : 45, |
| | | height: size === 'big' ? 90 : 45, |
| | | // colorDark: '#333333', // 二维码颜色 |
| | | colorDark: '#000', // 二维码颜色 |
| | | colorLight: '#ffffff', // 二维码背景色 |
| | |
| | | } |
| | | |
| | | .formContent { |
| | | width: 300px; |
| | | //width: 330px; |
| | | width: calc(50% - 10px); |
| | | display:flex; |
| | | |
| | | ::v-deep .el-form-item__label { |
| | | float: left; |
| | | } |
| | | |
| | | ::v-deep .el-form-item__content { |
| | | //float: left; |
| | | width: 240px; |
| | | } |
| | | } |
| | | |
| | | </style> |