|
@@ -46,14 +46,14 @@
|
|
|
<span style="padding-left: 20px">委托人(签名):</span>
|
|
|
<div style="flex: 1">
|
|
|
<input v-model="data.authorSign" />
|
|
|
- <div class="content-box left" style="border:none;">{{ data.authorSign }}</div>
|
|
|
+ <div class="content-box left" style="border: none">{{ data.authorSign }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="item" style="margin-top: 100px">
|
|
|
<span>受委托人(签名):</span>
|
|
|
<div style="flex: 1">
|
|
|
<input v-model="data.authorBySign" />
|
|
|
- <div class="content-box left" style="border:none;">{{ data.authorBySign }}</div>
|
|
|
+ <div class="content-box left" style="border: none">{{ data.authorBySign }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -61,9 +61,10 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
-import { reactive, ref, toRefs, onBeforeMount, onMounted } from "vue";
|
|
|
+import { reactive, ref, toRefs, onBeforeMount, onMounted, watch } from "vue";
|
|
|
import { tables } from "@/store/tables";
|
|
|
-import { tablesInfo, setData } from "../data";
|
|
|
+import { tablesInfo, setData, resetData } from "../data";
|
|
|
+import { bus } from "@/hook/useGraphic";
|
|
|
const props = defineProps({
|
|
|
downMode: { type: Boolean, default: false },
|
|
|
isDownloadShow: { type: Boolean, default: false },
|
|
@@ -76,6 +77,9 @@ const data = ref(null);
|
|
|
const checkOptions = (item, index) => {
|
|
|
item.check = item.options[index].id;
|
|
|
data.value[item.type].check = item.check;
|
|
|
+ if (item.type == "oneOptions") {
|
|
|
+ bus.emit("changeAuthorTwoCheck");
|
|
|
+ }
|
|
|
};
|
|
|
const checkData1 = ref({
|
|
|
check: 0,
|
|
@@ -121,16 +125,16 @@ onMounted(() => {
|
|
|
if (tablesInfo.authorTwo) {
|
|
|
data.value = tablesInfo.authorTwo;
|
|
|
}
|
|
|
- // if (tablesInfo.authorOne) {
|
|
|
- // console.error(tablesInfo);
|
|
|
- // data.value.oneOptions = tablesInfo.authorOne.options;
|
|
|
- // }
|
|
|
+ bus.on("changeAuthorOneCheck", (newData) => {
|
|
|
+ data.value.oneOptions.check = "";
|
|
|
+ });
|
|
|
});
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
|
.content-box {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
+ min-height: 28px;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|