|
@@ -545,7 +545,7 @@
|
|
|
:wrapperCol="wrapperCol"
|
|
:wrapperCol="wrapperCol"
|
|
|
prop="orderInfo.contractTeamProtocolId"
|
|
prop="orderInfo.contractTeamProtocolId"
|
|
|
>
|
|
>
|
|
|
- <span style="color:red;cursor: pointer;">{{ model.orderInfo.contractTeamProtocolName }}</span>
|
|
|
|
|
|
|
+ <span style="color:red;cursor: pointer;" @click="showAgreementUnitTable(model.orderInfo.contractTeamId)">{{ model.orderInfo.contractTeamProtocolName }}</span>
|
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
@@ -888,6 +888,7 @@
|
|
|
</a-modal>
|
|
</a-modal>
|
|
|
<member-card-modal ref="modalMemberCardInfo"></member-card-modal>
|
|
<member-card-modal ref="modalMemberCardInfo"></member-card-modal>
|
|
|
<agreement-unit-modal ref="modalAgreementUnitInfo"></agreement-unit-modal>
|
|
<agreement-unit-modal ref="modalAgreementUnitInfo"></agreement-unit-modal>
|
|
|
|
|
+<agreement-unit-modal-table ref="modalAgreementUnitTable" @ok="modalAgreementUnitTableOk"></agreement-unit-modal-table>
|
|
|
</a-spin>
|
|
</a-spin>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -899,6 +900,7 @@ import EditableCell from "./EditableCell.vue";
|
|
|
import SelectRoomFormModal from "./SelectRoomFormModal.vue";
|
|
import SelectRoomFormModal from "./SelectRoomFormModal.vue";
|
|
|
import MemberCardModal from "./MemberCardModal";
|
|
import MemberCardModal from "./MemberCardModal";
|
|
|
import AgreementUnitModal from "./AgreementUnitModal";
|
|
import AgreementUnitModal from "./AgreementUnitModal";
|
|
|
|
|
+import AgreementUnitModalTable from "./AgreementUnitModalTable";
|
|
|
const columns = [
|
|
const columns = [
|
|
|
// {
|
|
// {
|
|
|
// title: "",
|
|
// title: "",
|
|
@@ -977,6 +979,7 @@ export default {
|
|
|
SelectRoomFormModal,
|
|
SelectRoomFormModal,
|
|
|
MemberCardModal,
|
|
MemberCardModal,
|
|
|
AgreementUnitModal,
|
|
AgreementUnitModal,
|
|
|
|
|
+ AgreementUnitModalTable,
|
|
|
},
|
|
},
|
|
|
props: {
|
|
props: {
|
|
|
//表单禁用
|
|
//表单禁用
|
|
@@ -1024,6 +1027,7 @@ export default {
|
|
|
breakfastNum: 0,
|
|
breakfastNum: 0,
|
|
|
vipCustomerId: "",
|
|
vipCustomerId: "",
|
|
|
customerType: 1,
|
|
customerType: 1,
|
|
|
|
|
+ contractTeamProtocolName: "",
|
|
|
},
|
|
},
|
|
|
roomIds: [],
|
|
roomIds: [],
|
|
|
livingRoomDayPrices: [],
|
|
livingRoomDayPrices: [],
|
|
@@ -1339,6 +1343,9 @@ export default {
|
|
|
// this.getcesRoomLayout();
|
|
// this.getcesRoomLayout();
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ modalAgreementUnitTableOk(e) {
|
|
|
|
|
+ this.model.orderInfo.contractTeamProtocolName = e.name;
|
|
|
|
|
+ },
|
|
|
contractTeamIdChange(e) {
|
|
contractTeamIdChange(e) {
|
|
|
this.model.orderInfo.contractTeamId = e;
|
|
this.model.orderInfo.contractTeamId = e;
|
|
|
getAction("/business/busMarketAgreementCustomer/list", {
|
|
getAction("/business/busMarketAgreementCustomer/list", {
|
|
@@ -1365,6 +1372,11 @@ export default {
|
|
|
this.$refs.modalAgreementUnitInfo.title = "协议单位信息";
|
|
this.$refs.modalAgreementUnitInfo.title = "协议单位信息";
|
|
|
this.$refs.modalAgreementUnitInfo.disableSubmit = true;
|
|
this.$refs.modalAgreementUnitInfo.disableSubmit = true;
|
|
|
},
|
|
},
|
|
|
|
|
+ showAgreementUnitTable(agreementId) {
|
|
|
|
|
+ this.$refs.modalAgreementUnitTable.add(agreementId);
|
|
|
|
|
+ this.$refs.modalAgreementUnitTable.title = "选择协议";
|
|
|
|
|
+ this.$refs.modalAgreementUnitTable.disableSubmit = true;
|
|
|
|
|
+ },
|
|
|
//批量调价
|
|
//批量调价
|
|
|
batchPrice(e) {
|
|
batchPrice(e) {
|
|
|
console.log(e);
|
|
console.log(e);
|