| | |
| | | <template> |
| | | <win-sm :title="setting.title" @close="close" :width="'800px'"> |
| | | <win-sm :title="`${setting.title}盘点`" @close="close" :width="'800px'"> |
| | | <el-form ref="ruleForm" :model="formData" :rules="rules" class="demo-ruleForm" label-width="100px"> |
| | | <el-form-item label="盘点单名" prop="businessFormName"> |
| | | <el-input |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | loading:true, |
| | | checkAll: false, |
| | | checkedList: [], |
| | | warehouseOptions: [], // 仓库列表 |
| | |
| | | ...mapGetters(['userInfo']), |
| | | }, |
| | | created() { |
| | | if (this.setting.info) { |
| | | // this.formData = Object.assign({}, JSON.parse(this.setting.info)); |
| | | if (this.setting.id) { |
| | | this.formData = Object.assign({}, JSON.parse(this.setting.info)); |
| | | this.$set(this.formData,'operatorUserId',this.formData.operatorId) |
| | | this.$set(this.formData,'monitorUserId',this.formData.operatorId2) |
| | | this.$set(this.formData,'remark',this.formData.beiz1) |
| | | } else { |
| | | this.formData.businessFormName = formatDate(new Date(), 'yyyy年MM月份盘点'); |
| | | } |