diff --git a/src/components/Template/StepComponents/JcbComp.vue b/src/components/Template/StepComponents/JcbComp.vue index 9237439..a5f8adc 100644 --- a/src/components/Template/StepComponents/JcbComp.vue +++ b/src/components/Template/StepComponents/JcbComp.vue @@ -34,13 +34,21 @@ export default { type: String, default: '', }, + item:{ + type: Object, + default: () => { }, + } }, data() { return { }; }, + mounted() { + console.log(this.prefixKey,"prefixKey") + }, computed: { jcbColumns() { + const { buttonName = "取出" } = this.item; return [ { label: '处理批', @@ -58,7 +66,7 @@ export default { bodyDisabled: true, bodyFillType: "actFill", bodySubType: "button", - bodySubButtonName: "取出", + bodySubButtonName: buttonName, bodySubKey: "timeClick", bodySubFillType: "actFill", }, diff --git a/src/components/Template/StepComponents/jcb/jzks.vue b/src/components/Template/StepComponents/jcb/jzks.vue index c03f4a9..1c29f62 100644 --- a/src/components/Template/StepComponents/jcb/jzks.vue +++ b/src/components/Template/StepComponents/jcb/jzks.vue @@ -1,7 +1,7 @@