| | |
| | | <el-form-item v-show="isExpandForm" label="创建人员" style=" display: flex;"> |
| | | <el-input v-model="form.creatuser" style="width: 200px" placeholder="请输入" /> |
| | | </el-form-item> |
| | | <el-form-item v-show="isExpandForm" label="预计开工时间" label-width="100px" style=" line-height: 40px;;display: flex;font-size: 14px;"> |
| | | <el-form-item v-show="isExpandForm" label="预计开工时间" label-width="100px" style="display: flex;font-size: 14px;align-items: center"> |
| | | <el-date-picker |
| | | v-model="form.paystartdate" |
| | | type="daterange" |
| | |
| | | <!-- :picker-options="expireTimeOption"--> |
| | | |
| | | </el-form-item> |
| | | <el-form-item v-show="isExpandForm" label="预计完工时间" label-width="100px" style=" display: flex;font-size: 14px;"> |
| | | <el-form-item v-show="isExpandForm" label="预计完工时间" label-width="100px" style=" display: flex;font-size: 14px;align-items: center"> |
| | | <el-date-picker |
| | | v-model="form.payenddate" |
| | | type="daterange" |
| | |
| | | :header-cell-style="this.$headerCellStyle" |
| | | :cell-style="this.$cellStyle" |
| | | @sort-change="sortChange" |
| | | @row-click="rowClick" |
| | | > |
| | | <!-- <el-table-column--> |
| | | <!-- type="selection"--> |
| | |
| | | v-model="radioSelectedId" |
| | | :label="row.id" |
| | | style="color: transparent;padding-left: 10px;" |
| | | @change.native="getCurrentRow(row.id)" |
| | | /> |
| | | <!-- @change.native="getCurrentRow(row.id)"--> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | label="产品名称" |
| | | sortable="custom" |
| | | min-width="150" |
| | | show-tooltip-when-overflow |
| | | /> |
| | | <el-table-column |
| | | prop="partspec" |
| | | label="产品规格" |
| | | sortable="custom" |
| | | show-tooltip-when-overflow |
| | | min-width="110" |
| | | > |
| | | <template slot-scope="{row}"> |
| | |
| | | <span slot="footer" class="dialog-footer"> |
| | | <div class="footerButton"> |
| | | <el-button @click="dialogVisibleCancel">取 消</el-button> |
| | | <el-button type="primary" :disabled="sendButtonIsDisabled" @click="dialogVisibleConfirm">下 达</el-button> |
| | | <el-button |
| | | type="primary" |
| | | :loading="$store.state.app.buttonIsDisabled" |
| | | :disabled="$store.state.app.buttonIsDisabled" |
| | | @click="dialogVisibleConfirm" |
| | | >下 达</el-button> |
| | | </div> |
| | | </span> |
| | | </el-dialog> |
| | |
| | | getCurrentRow(id) { |
| | | this.radioSelectedId = id |
| | | }, |
| | | rowClick(row) { |
| | | this.radioSelectedId = row.id |
| | | }, |
| | | // 订单关闭 |
| | | async orderClose() { |
| | | if (this.radioSelectedId.length < 1) { |
| | |
| | | this.dialogForm.ordernum = '' |
| | | this.dialogForm.relse_qty = '' |
| | | |
| | | this.sendButtonIsDisabled = false |
| | | this.$refs.dialogForm.clearValidate() |
| | | }, |
| | | // 对话框取消 |
| | |
| | | return this.$message.info('下单数量超出可下单数的范围!') |
| | | } |
| | | |
| | | console.log(this.dialogForm.ordernum < this.dialogForm.markqty) |
| | | if (this.dialogForm.ordernum < 1 || this.dialogForm.ordernum > this.dialogForm.markqty) { |
| | | return this.$message.info('下单单数超出可下单单数的范围!') |
| | | } |
| | | |
| | | this.$refs.dialogForm.validate(valid => { |
| | | if (valid) { |
| | | this.$store.state.app.buttonIsDisabled = true |
| | | const data = { |
| | | 'erporderid': this.dialogForm.erporderid, |
| | | // 'erporderstus': this.dialogForm.erporderstus, |
| | |
| | | 'ordernum': this.dialogForm.ordernum, |
| | | 'relse_qty': this.dialogForm.relse_qty |
| | | } |
| | | this.sendButtonIsDisabled = true |
| | | MarkSaveErpOrder(data).then(res => { |
| | | if (res.code === '200') { |
| | | this.$message.success('下达成功!') |
| | | this.dialogVisible = false |
| | | this.$message.success('下达成功!') |
| | | this.getErpOrderSearch() |
| | | this.$store.state.app.buttonIsDisabled = false |
| | | } else { |
| | | this.$message.error('下达失败!') |
| | | } |
| | |
| | | height: 100% !important; |
| | | } |
| | | } |
| | | |
| | | </style> |
| | | <style> |
| | | .el-table .custom-row { |
| | | background: #f8f8fa; |
| | | } |
| | | </style> |
| | | <style> |
| | | .osloading{ |
| | | font-size: 40px; |
| | | font-size: 26px !important; |
| | | } |
| | | |
| | | .el-loading-text{ |
| | | font-size: 26px !important; |
| | | } |
| | | </style> |
| | | |