船期
This commit is contained in:
@ -82,7 +82,7 @@
|
||||
<a-row>
|
||||
<a-col :span="8">
|
||||
<a-form-item label="接收站" name="staName">
|
||||
<a-input-search v-model:value="formState.staName" :disabled="isDisable" placeholder="请选择接收站" readonly @search="onSearchDownLoad('up', index)"/>
|
||||
<a-input-search v-model:value="formState.staName" :disabled="isDisable" placeholder="请选择接收站" readonly @search="onSearchStation"/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24">
|
||||
@ -203,7 +203,7 @@
|
||||
<deptUserModal @register="register" @success="handleSuccess"/>
|
||||
<deptListModal @register="registerDept" @success="handleSuccessDept" />
|
||||
<contractFactListModal @register="registerContractFact" @success="handleSuccessContractFact" />
|
||||
<downloadPointModal @register="registerDownLoad" @success="handleSuccessDownLoad"/>
|
||||
<lngStationModal @register="registerStation" @success="handleSuccessStation"/>
|
||||
<supplierListModal @register="registerSupplier" @success="handleSuccessSupplier" selectType="radio" />
|
||||
</a-spin>
|
||||
</template>
|
||||
@ -234,7 +234,7 @@
|
||||
import correlationApproList from '/@/components/common/correlationApproList.vue';
|
||||
import correlationContractFactList from '/@/components/common/correlationContractFactList.vue';
|
||||
import contractFactListModal from '/@/components/common/contractFactListModal.vue';
|
||||
import downloadPointModal from '/@/components/common/downloadPointModal.vue';
|
||||
import lngStationModal from '/@/components/common/lngStationModal.vue';
|
||||
import supplierListModal from '/@/components/common/supplierListModal.vue';
|
||||
import { getAllCurrency } from '/@/api/contract/ContractFact';
|
||||
import { useUserStore } from '/@/store/modules/user';
|
||||
@ -280,7 +280,7 @@
|
||||
const [register, { openModal:openModal}] = useModal();
|
||||
const [registerDept, { openModal:openModalDept}] = useModal();
|
||||
const [registerContractFact, { openModal:openModalContractFact}] = useModal();
|
||||
const [registerDownLoad, { openModal:openModalDownLoad}] = useModal();
|
||||
const [registerStation, { openModal:openModalStation}] = useModal();
|
||||
const [registerSupplier, { openModal:openModalSupplier}] = useModal();
|
||||
const rules= reactive({
|
||||
kNo: [{ required: true, message: "该项为必填项", trigger: 'change' }],
|
||||
@ -507,8 +507,8 @@
|
||||
const onContract = (val)=> {
|
||||
openModalContractFact(true,{isUpdate: false})
|
||||
}
|
||||
const onSearchDownLoad = (val, index)=> {
|
||||
openModalDownLoad(true,{isUpdate: false, type: val})
|
||||
const onSearchStation = (val)=> {
|
||||
openModalStation(true,{isUpdate: false})
|
||||
}
|
||||
|
||||
const addProc = () => {
|
||||
@ -587,7 +587,7 @@
|
||||
formState.cpCode = formState.cpCode ? formState.cpCode : (res?.lngContractFactCpList || [])[0]?.cpCode
|
||||
}
|
||||
}
|
||||
const handleSuccessDownLoad = (val) => {
|
||||
const handleSuccessStation = (val) => {
|
||||
formState.lngContractProcList[0].staCode = val[0].code
|
||||
formState.lngContractProcList[0].staName = val[0].fullName
|
||||
formState.staName = val[0].fullName
|
||||
|
||||
Reference in New Issue
Block a user