|
|
@@ -45,6 +45,7 @@
|
|
|
type="datetime"
|
|
|
format="yyyy-MM-dd HH:mm:ss"
|
|
|
placeholder="请选择"
|
|
|
+ :disabled="formData.dateType==2"
|
|
|
></el-date-picker
|
|
|
></el-form-item>
|
|
|
</div>
|
|
|
@@ -255,7 +256,7 @@
|
|
|
<el-descriptions-item label="规格">{{
|
|
|
boatMsg.specification
|
|
|
}}</el-descriptions-item>
|
|
|
- <el-descriptions-item label="槽数"></el-descriptions-item>
|
|
|
+ <el-descriptions-item label="槽数">{{slotNum}}</el-descriptions-item>
|
|
|
<el-descriptions-item label="数量"
|
|
|
><el-input
|
|
|
placeholder="请输入"
|
|
|
@@ -283,7 +284,7 @@
|
|
|
import equipmentDailog from '@/components/EquipmentDailog/report-equipment';
|
|
|
import materialDialog from '../materialDialog.vue';
|
|
|
import catogaryDialog from '../catogaryDialog.vue';
|
|
|
- import { reportCount } from '@/api/produceOrder';
|
|
|
+ import { reportCount , getSoltNum } from '@/api/produceOrder';
|
|
|
import dayjs from 'dayjs';
|
|
|
export default {
|
|
|
components: {
|
|
|
@@ -296,6 +297,10 @@
|
|
|
infoData: {
|
|
|
type: Object,
|
|
|
default: () => ({})
|
|
|
+ },
|
|
|
+ formData: {
|
|
|
+ type: Object,
|
|
|
+ default: () => ({})
|
|
|
},
|
|
|
taskInfo: {
|
|
|
type: Object,
|
|
|
@@ -362,7 +367,8 @@
|
|
|
num: ''
|
|
|
}
|
|
|
},
|
|
|
- batchList: []
|
|
|
+ batchList: [],
|
|
|
+ slotNum:''
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
|
@@ -373,6 +379,14 @@
|
|
|
this.getReportCount();
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+ formData: {
|
|
|
+ immediate: true,
|
|
|
+ handler () {
|
|
|
+ if (this.formData.dateType==2) {
|
|
|
+ this.$set(this.workReport,'executeTime',this.formData.appointTime);
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
infoData: {
|
|
|
immediate: true,
|
|
|
@@ -403,6 +417,11 @@
|
|
|
methods: {
|
|
|
getCategory (id, memo) {
|
|
|
this.$refs.catogaryDialogRef.open(id, this[memo], (res) => {
|
|
|
+ if(id=='8'){
|
|
|
+ getSoltNum(res.id).then(r=>{
|
|
|
+ this.slotNum = r.slotNum
|
|
|
+ })
|
|
|
+ }
|
|
|
this[memo].rootCategoryLevelId = res.categoryLevelId;
|
|
|
this[memo].code = res.code;
|
|
|
this[memo].name = res.name;
|