|
@@ -28,6 +28,12 @@
|
|
|
v-if="detailedShow && detailedObj"
|
|
v-if="detailedShow && detailedObj"
|
|
|
:detailedObj="detailedObj"
|
|
:detailedObj="detailedObj"
|
|
|
></detailed>
|
|
></detailed>
|
|
|
|
|
+
|
|
|
|
|
+ <selfDetailed
|
|
|
|
|
+ @detailedClose="detailedClose"
|
|
|
|
|
+ v-if="selfDetailedShow && detailedObj"
|
|
|
|
|
+ :detailedObj="detailedObj"
|
|
|
|
|
+ ></selfDetailed>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -36,11 +42,13 @@
|
|
|
import tableColumnsMixin from '@/mixins/tableColumnsMixin';
|
|
import tableColumnsMixin from '@/mixins/tableColumnsMixin';
|
|
|
import { batchRecordPage } from '@/api/pickorder/index';
|
|
import { batchRecordPage } from '@/api/pickorder/index';
|
|
|
import detailed from '@/views/produce/components/picking/detailed.vue';
|
|
import detailed from '@/views/produce/components/picking/detailed.vue';
|
|
|
|
|
+ import selfDetailed from '@/views/pick/pickApply/components/selfDetailed.vue';
|
|
|
|
|
+
|
|
|
import { getDetails } from '@/api/pick/pickApply';
|
|
import { getDetails } from '@/api/pick/pickApply';
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
mixins: [dictMixins, tableColumnsMixin],
|
|
mixins: [dictMixins, tableColumnsMixin],
|
|
|
- components: { detailed },
|
|
|
|
|
|
|
+ components: { detailed, selfDetailed },
|
|
|
props: {
|
|
props: {
|
|
|
tableQuery: {
|
|
tableQuery: {
|
|
|
type: Object,
|
|
type: Object,
|
|
@@ -184,11 +192,16 @@
|
|
|
this.detailedObj = JSON.stringify(res);
|
|
this.detailedObj = JSON.stringify(res);
|
|
|
|
|
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
- this.detailedShow = true;
|
|
|
|
|
|
|
+ if (this.detailedObj.type == 1) {
|
|
|
|
|
+ this.selfDetailedShow = true;
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.detailedShow = true;
|
|
|
|
|
+ }
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
detailedClose() {
|
|
detailedClose() {
|
|
|
this.detailedShow = false;
|
|
this.detailedShow = false;
|
|
|
|
|
+ this.selfDetailedShow = false;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|