操作员和计算运费接口参数调整

This commit is contained in:
wuteng 2025-07-15 18:34:00 +08:00
parent bc3158555a
commit 7dd5f71575
2 changed files with 44 additions and 38 deletions

View File

@ -96,43 +96,43 @@
</view>
</view>
<buns-edit-sheet percentHeight="40" :title="costModal.item.feeName" v-model:show="costModal.show" v-model:value="costModal.item" v-slot="tempObject" @onSure="handleCostItemSure" :okCloseModal="false">
<view v-if="costModal.show">
<tpx-select v-model:value="tempObject.value.currency" :list="costRateList"
@onChange="handleCurrencyChange" mode="drop"
>
<u-row custom-style="gap: 20rpx;margin-top:10rpx;" justify="between">
<text class="font-26 label-text">币种</text>
<tpx-text-dic :value="tempObject.value.currency" :list="costRateList"></tpx-text-dic>
</u-row>
</tpx-select>
<u-row custom-style="gap: 20rpx;margin-top:30rpx;">
<u-row custom-style="flex: 1">
<text class="font-26 label-text">首重费</text>
<tpx-input v-model:value="tempObject.value.initialWeightFee" _digit="4" :isWhite="true"
custom-style="width: 120rpx;height: 46rpx;" :suffix="tempObject.value.currency"></tpx-input>
</u-row>
<u-row custom-style="flex: 1">
<text class="font-26 label-text">续重单价</text>
<tpx-input v-model:value="tempObject.value.addWeightPrice" _digit="4" :isWhite="true"
custom-style="width: 120rpx;height: 46rpx;" :suffix="tempObject.value.currency"></tpx-input>
</u-row>
</u-row>
<u-row style="margin-top:30rpx;" justify="between">
<u-row custom-style="width:300rpx;">
<text class="label-text">应收</text>
<tpx-input v-model:value="tempObject.value.fee" _digit="4" :isWhite="true" custom-style="width: 120rpx;height: 46rpx;"
:suffix="tempObject.value.currency"></tpx-input>
</u-row>
<u-row custom-style="width:300rpx;">
<text :class="`font-26 label-text label-text-required `">实收</text>
<tpx-input v-model:value="tempObject.value.realFee" _digit="4" :isWhite="true" custom-style="width: 120rpx;height: 46rpx;"
:suffix="tempObject.value.currency"></tpx-input>
</u-row>
</u-row>
<view class="mt-30">
<tpx-input v-model:value="tempObject.value.remark" placeholder="费用描述" isWhite="true"></tpx-input>
</view>
<buns-edit-sheet percentHeight="40" :title="costModal.item.feeName" v-model:show="costModal.show" v-model:value="costModal.item" v-slot="tempObject" @onSure="handleCostItemSure" :okCloseModal="false">
<view v-if="costModal.show">
<tpx-select v-model:value="tempObject.value.currency" :list="costRateList"
@onChange="handleCurrencyChange" mode="drop"
>
<u-row custom-style="gap: 20rpx;margin-top:10rpx;" justify="between">
<text class="font-26 label-text">币种</text>
<tpx-text-dic :value="tempObject.value.currency" :list="costRateList"></tpx-text-dic>
</u-row>
</tpx-select>
<u-row custom-style="gap: 20rpx;margin-top:30rpx;">
<u-row custom-style="flex: 1">
<text class="font-26 label-text">首重费</text>
<tpx-input v-model:value="tempObject.value.initialWeightFee" _digit="4" :isWhite="true"
custom-style="width: 120rpx;height: 46rpx;" :suffix="tempObject.value.currency"></tpx-input>
</u-row>
<u-row custom-style="flex: 1">
<text class="font-26 label-text">续重单价</text>
<tpx-input v-model:value="tempObject.value.addWeightPrice" _digit="4" :isWhite="true"
custom-style="width: 120rpx;height: 46rpx;" :suffix="tempObject.value.currency"></tpx-input>
</u-row>
</u-row>
<u-row style="margin-top:30rpx;" justify="between">
<u-row custom-style="width:300rpx;">
<text class="label-text">应收</text>
<tpx-input v-model:value="tempObject.value.fee" _digit="4" :isWhite="true" custom-style="width: 120rpx;height: 46rpx;"
:suffix="tempObject.value.currency"></tpx-input>
</u-row>
<u-row custom-style="width:300rpx;">
<text :class="`font-26 label-text label-text-required `">实收</text>
<tpx-input v-model:value="tempObject.value.realFee" _digit="4" :isWhite="true" custom-style="width: 120rpx;height: 46rpx;"
:suffix="tempObject.value.currency"></tpx-input>
</u-row>
</u-row>
<view class="mt-30">
<tpx-input v-model:value="tempObject.value.remark" placeholder="费用描述" isWhite="true"></tpx-input>
</view>
</view>
</buns-edit-sheet>
</template>
@ -170,6 +170,7 @@
sendSiteCode: this.$store.getters.userInfo.ownerSiteCode,
dispatchUnderlingSiteCode: info.dispatchUnderlingSiteCode,
custNo: info.custNo,
startSiteCode: info.startSiteCode,
}
return param
}

View File

@ -93,7 +93,7 @@
</view>
<view v-show="submitParam.pickupMethod == 1" class="yunf-input-item">
<tpx-select v-model:value="submitParam.operateEmployeeCode" v-model:resObject="caozuoRes" v-model:text="submitParam.operateEmployeeName" :getListFun="getOpStaffList" :transKeyVal="{valKey: 'empCode',titleKey: 'empName'}" placeholder="请选择操作员">
<tpx-select v-model:value="submitParam.operateEmployeeCode" v-model:resObject="caozuoRes" v-model:text="submitParam.operateEmployeeName" :getListFun="getOpStaffList" :transKeyVal="{valKey: 'empCode',titleKey: 'empName'}" :searchParam="operateEmployeeSearchParam" placeholder="请选择操作员">
<tpx-text-item label="操作员" :value="submitParam.operateEmployeeName"></tpx-text-item>
</tpx-select>
</view>
@ -364,6 +364,11 @@
sendSiteCode: this.submitParam.sendSiteCode,
}
},
operateEmployeeSearchParam(){
return {
ownerSiteCode: this.submitParam.startSiteCode,
}
}
},
data() {
return this.getDefaultData()