| | |
| | | <template slot-scope="{row, column }"> |
| | | <el-checkbox v-model="checked" v-if="item.type == 'checkbox'"></el-checkbox> |
| | | <div :style="item.style"> |
| | | <span v-if="column.property.includes('日期')">{{ parseTime(row[column.property], '{y}-{m}-{d}') }}</span> |
| | | <span v-if="column.property.includes('日期')">{{ parseTime(row[column.property], '{y}-{m}-{d} {h}:{i}:{s}') }}</span> |
| | | <el-button type="text" @click="handleEdit(row, OperationType = 2)" |
| | | v-else-if="column.property == '单据号'">{{ |
| | | row.单据号 |
| | |
| | | created() { |
| | | // this.fetchData() |
| | | if(this.openPage && this.HOrgID){ |
| | | this.queryParams.HStockOrgID = this.HOrgID |
| | | this.queryParams.HStockOrgID = this.HOrgID |
| | | } |
| | | this.riqiChange() |
| | | this.getList(); |
| | |
| | | const num = parseInt(value) |
| | | if (isNaN(num)) return '请输入有效的数字!' |
| | | if (num.toString() !== value) return '托数不能为小数!' |
| | | if (num <= 0) return '托数必须大于0!' |
| | | if (num <0) return '托数必须大于0!' |
| | | return true |
| | | } |
| | | }).then(({ value }) => { |