|
|
@@ -25,401 +25,377 @@
|
|
|
<form method="POST" id="waybillForm" action='{{url("transport/waybill/".$waybill->id)}}'>
|
|
|
@csrf
|
|
|
@method('PUT')
|
|
|
- <div class="form-group row">
|
|
|
- <label for="type" class="col-2 col-form-label text-right text-secondary">运单类型</label>
|
|
|
- <div class="col-8">
|
|
|
- <div class="h5 mb-3 col-8">
|
|
|
- <button type="button" @click="waybill.type='专线'" class="btn" :class="waybill.type=='专线'?'btn-primary':'btn-outline-primary'">专线</button>
|
|
|
- <button type="button" @click="waybill.type='直发车'" class="btn ml-2" :class="waybill.type!='专线'?'btn-primary':'btn-outline-primary'">直发车</button>
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-6">
|
|
|
+ {{--编辑区--}}
|
|
|
+ <div class="form-group row">
|
|
|
+ <label for="type" class="col-2 col-form-label text-right text-secondary">运单类型</label>
|
|
|
+ <div class="col-8">
|
|
|
+ <div class="h5 mb-3 col-8">
|
|
|
+ <button type="button" @click="waybill.type='专线'" class="btn" :class="waybill.type=='专线'?'btn-primary':'btn-outline-primary'">专线</button>
|
|
|
+ <button type="button" @click="waybill.type='直发车'" class="btn ml-2" :class="waybill.type!='专线'?'btn-primary':'btn-outline-primary'">直发车</button>
|
|
|
+ </div>
|
|
|
+ <input name="type" id="type" :value="waybill.type" hidden>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <input name="type" id="type" :value="waybill.type" hidden>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form-group row">
|
|
|
- <label for="waybill_number" class="col-2 col-form-label text-right text-secondary">运单号</label>
|
|
|
- <div class="col-8">
|
|
|
- <input id="waybill_number" type="text" class="form-control" disabled="disabled" :value="waybill.waybill_number" >
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form-group row">
|
|
|
- <label class="col-2 col-form-label text-right text-secondary">货主</label>
|
|
|
- <div class="col-8">
|
|
|
- <input type="text" class="form-control" disabled="disabled" :value="waybill.owner_name" >
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form-group row">
|
|
|
- <label class="col-2 col-form-label text-right text-secondary">WMS单号</label>
|
|
|
- <div class="col-8">
|
|
|
- <input type="text" class="form-control" disabled="disabled" :value="waybill.wms_bill_number" >
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div id="origination">
|
|
|
- <div class="col-8" style="margin-left: 15%" id="btn" hidden>
|
|
|
- <button type="button" class="btn btn-outline-primary btn-sm" @click="waybill.origination='上海市松江区泗砖仓'" style="transform: scale(0.9)">松江泗砖仓</button>
|
|
|
- <button type="button" class="btn btn-outline-primary btn-sm" @click="waybill.origination='上海市松江区九干仓'" style="transform: scale(0.9)">松江九干仓</button>
|
|
|
- <button type="button" class="btn btn-outline-primary btn-sm" @click="waybill.origination='上海市嘉定区武乡仓'" style="transform: scale(0.9)">嘉定武乡仓</button>
|
|
|
- </div>
|
|
|
- <div class="form-group row">
|
|
|
- <label class="col-2 col-form-label text-right text-secondary" for="origination_seek">始发地</label>
|
|
|
- <div class="col-8">
|
|
|
- <input type="text" class="form-control @error('origination') is-invalid @enderror"
|
|
|
- id="origination_seek" name="origination" disabled="disabled" v-model="waybill.origination">
|
|
|
- </div>
|
|
|
- @error('origination')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
- <strong>{{ $message }}</strong>
|
|
|
- </span>
|
|
|
- @enderror
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form-group row">
|
|
|
- <label class="col-2 col-form-label text-right text-secondary" for="destination_seek">目的地</label>
|
|
|
- <div class="col-8">
|
|
|
- <input id="destination_seek" type="text" class="form-control" disabled="disabled" :value="waybill.destination" >
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form-group row">
|
|
|
- <label class="col-2 col-form-label text-right text-secondary">收件人</label>
|
|
|
- <div class="col-8">
|
|
|
- <input type="text" class="form-control" disabled="disabled" :value="waybill.recipient" >
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form-group row">
|
|
|
- <label class="col-2 col-form-label text-right text-secondary">收件人电话</label>
|
|
|
- <div class="col-8">
|
|
|
- <input type="text" class="form-control" disabled="disabled" :value="waybill.recipient_mobile" >
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form-group row" id="ordering_remark">
|
|
|
- <label class="col-2 col-form-label text-right text-secondary">下单备注</label>
|
|
|
- <div class="col-8">
|
|
|
- <textarea class="form-control" disabled="disabled" >@{{waybill.ordering_remark}}</textarea>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- {{--编辑区--}}
|
|
|
- <div class="form-group row">
|
|
|
- <label for="other_charge_remark" class="col-2 col-form-label text-right text-muted">其他收费备注</label>
|
|
|
- <div class="col-8">
|
|
|
- <input type="text" class="form-control" id="other_charge_remark"
|
|
|
- name="other_charge_remark" autocomplete="off" value="@if(old('other_charge_remark')){{ old('other_charge_remark') }}@else{{$waybill->other_charge_remark}}@endif" >
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form-group row">
|
|
|
- <label for="charge" class="col-2 col-form-label text-right text-secondary">运输收费(元)</label>
|
|
|
- <div class="col-3">
|
|
|
- <input type="number" step="0.01" min="0" class="form-control @error('charge') is-invalid @enderror"
|
|
|
- id="charge" name="charge" v-model="waybill.charge" >
|
|
|
- </div>
|
|
|
- <label for="other_charge" class="col-2 col-form-label text-right text-muted">其他收费(元)</label>
|
|
|
- <div class="col-3">
|
|
|
- <input id="other_charge" type="number" step="0.01" class="form-control @error('other_charge') is-invalid @enderror"
|
|
|
- name="other_charge" autocomplete="off" value="@if(old('other_charge')){{ old('other_charge') }}@else{{$waybill->other_charge}}@endif" >
|
|
|
- </div>
|
|
|
- @error('charge')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
- <strong>{{ $message }}</strong>
|
|
|
- </span>
|
|
|
- @enderror
|
|
|
- @error('other_charge')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
- <strong>{{ $message }}</strong>
|
|
|
- </span>
|
|
|
- @enderror
|
|
|
- </div>
|
|
|
-
|
|
|
- <div class="form-group row" style="margin-bottom: 20px">
|
|
|
- <label for="logistic_id" class="col-2 col-form-label text-right text-primary">承运商 *</label>
|
|
|
- <div class="col-3" style="position: relative">
|
|
|
- <select class="form-control @error('logistic_id') is-invalid @enderror" id="logistic_id" style="width: 30%; " name="logistic_id"
|
|
|
- :class="errors['logistic_id'] ? 'is-invalid' :''" v-model="waybill.logistic_id">
|
|
|
- <option v-for="logistic in logistics" :value="logistic.id">@{{logistic.name}}</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- <label for="carrier_bill" class="col-2 col-form-label text-right">承运商单号</label>
|
|
|
- <div class="col-3">
|
|
|
- <input type="text" class="form-control @error('carrier_bill') is-invalid @enderror"
|
|
|
- name="carrier_bill" autocomplete="off" v-model="waybill.carrier_bill" id="carrier_bill">
|
|
|
- </div>
|
|
|
- <div v-if="errors['logistic_id'] && errors['logistic_id'].length>0" class="invalid-feedback" role="alert" style="position: relative">
|
|
|
- <strong class="">@{{ errors['logistic_id'][0] }}</strong>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div v-if="waybill.logistic_id == 14 || waybill.logistic_id == 15 || waybill.logistic_id == 28 || waybill.logistic_id == 29">
|
|
|
- <div class="form-group row">
|
|
|
- <label for="" class="col-2 col-form-label text-right text-primary">货物名称 *</label>
|
|
|
- <div class="col-2">
|
|
|
- <input type="text" class="form-control @error('cargo_name') is-invalid @enderror "
|
|
|
- :class="errors['cargo_name'] ? 'is-invalid' :''"
|
|
|
- name="cargo_name" autocomplete="off" v-model="waybill.cargo_name" id="cargo_name">
|
|
|
- @error('cargo_name')
|
|
|
+ <div class="form-group row">
|
|
|
+ <label for="charge" class="col-2 col-form-label text-right text-secondary">运输收费(元)</label>
|
|
|
+ <div class="col-3">
|
|
|
+ <input type="number" step="0.01" min="0" class="form-control @error('charge') is-invalid @enderror"
|
|
|
+ id="charge" name="charge" v-model="waybill.charge" >
|
|
|
+ </div>
|
|
|
+ <label for="mileage" class="col-2 col-form-label text-right text-muted">里程数</label>
|
|
|
+ <div class="input-group col-4">
|
|
|
+ <input type="number" step="0.01" class="form-control @error('mileage') is-invalid @enderror"
|
|
|
+ name="mileage" autocomplete="off" v-model="waybill.mileage" id="mileage" >
|
|
|
+ <div class="input-group-append">
|
|
|
+ <span class="input-group-text">KM</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ @error('charge')
|
|
|
<span class="invalid-feedback" role="alert">
|
|
|
<strong>{{ $message }}</strong>
|
|
|
</span>
|
|
|
@enderror
|
|
|
</div>
|
|
|
- <label for="" class="col-2 col-form-label text-right text-primary">总包裹数(件) *</label>
|
|
|
- <div class="col-2">
|
|
|
- <input type="number" class="form-control @error('total_number') is-invalid @enderror "
|
|
|
- :class="errors['total_number'] ? 'is-invalid' :''"
|
|
|
- name="total_number" autocomplete="off" v-model="waybill.total_number" id="total_number">
|
|
|
- @error('total_number')
|
|
|
+ <div class="form-group row">
|
|
|
+ <label for="other_charge" class="col-2 col-form-label text-right text-muted">其他收费(元)</label>
|
|
|
+ <div class="col-3">
|
|
|
+ <input id="other_charge" type="number" step="0.01" class="form-control @error('other_charge') is-invalid @enderror"
|
|
|
+ name="other_charge" autocomplete="off" value="@if(old('other_charge')){{ old('other_charge') }}@else{{$waybill->other_charge}}@endif" >
|
|
|
+ </div>
|
|
|
+ <label for="other_charge_remark" class="col-2 col-form-label text-right text-muted">其他收费备注</label>
|
|
|
+ <div class="col-4">
|
|
|
+ <input type="text" class="form-control" id="other_charge_remark"
|
|
|
+ name="other_charge_remark" autocomplete="off" value="@if(old('other_charge_remark')){{ old('other_charge_remark') }}@else{{$waybill->other_charge_remark}}@endif" >
|
|
|
+ </div>
|
|
|
+ @error('other_charge')
|
|
|
<span class="invalid-feedback" role="alert">
|
|
|
<strong>{{ $message }}</strong>
|
|
|
</span>
|
|
|
@enderror
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="form-group row">
|
|
|
- <label for="" class="col-2 col-form-label text-right text-primary">总重量(kg) *</label>
|
|
|
- <div class="col-2">
|
|
|
- <input type="number" class="form-control @error('total_weight') is-invalid @enderror "
|
|
|
- :class="errors['total_weight'] ? 'is-invalid' :''"
|
|
|
- name="total_weight" autocomplete="off" v-model="waybill.total_weight" id="total_weight">
|
|
|
- @error('total_weight')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
- <strong>{{ $message }}</strong>
|
|
|
- </span>
|
|
|
- @enderror
|
|
|
- </div>
|
|
|
- <label for="" class="col-2 col-form-label text-right text-primary">送货方式 *</label>
|
|
|
- <div class="col-6">
|
|
|
- <select class="form-control col-4 @error('deliveryType_id') is-invalid @enderror" name="deliveryType_id"
|
|
|
- :class="errors['deliveryType_id'] ? 'is-invalid' :''"
|
|
|
- style="width: 30%;" v-model="waybill.deliveryType_id" id="deliveryType_id">
|
|
|
- <option v-for="deliveryType in deliveryTypes" :value="deliveryType.id">@{{ deliveryType.name }}</option>
|
|
|
- </select>
|
|
|
- @error('deliveryType_id')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
- <strong>{{ $message }}</strong>
|
|
|
- </span>
|
|
|
- @enderror
|
|
|
+ <div class="form-group row" style="margin-bottom: 20px">
|
|
|
+ <label for="logistic_id" class="col-2 col-form-label text-right text-primary">承运商 *</label>
|
|
|
+ <div class="col-3" style="position: relative">
|
|
|
+ <select class="form-control @error('logistic_id') is-invalid @enderror" id="logistic_id" name="logistic_id"
|
|
|
+ :class="errors['logistic_id'] ? 'is-invalid' :''" v-model="waybill.logistic_id">
|
|
|
+ <option v-for="logistic in logistics" :value="logistic.id">@{{logistic.name}}</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <label for="carrier_bill" class="col-2 col-form-label text-right">承运商单号</label>
|
|
|
+ <div class="col-4">
|
|
|
+ <input type="text" class="form-control @error('carrier_bill') is-invalid @enderror"
|
|
|
+ name="carrier_bill" autocomplete="off" v-model="waybill.carrier_bill" id="carrier_bill">
|
|
|
+ </div>
|
|
|
+ <div v-if="errors['logistic_id'] && errors['logistic_id'].length>0" class="invalid-feedback" role="alert" style="position: relative">
|
|
|
+ <strong class="">@{{ errors['logistic_id'][0] }}</strong>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div v-if="waybill.type=='专线'">
|
|
|
- <div class="form-group row">
|
|
|
- <label for="origination_city_id" class="col-2 col-form-label text-right text-primary">始发市 *</label>
|
|
|
- <div class="col-8 form-inline">
|
|
|
- <select class="form-control @error('origination_city_id') is-invalid @enderror" name="origination_city_id"
|
|
|
- :class="errors['origination_city_id'] ? 'is-invalid' :''" style="width: 30%; " v-model="waybill.origination_city_id" id="origination_city_id">
|
|
|
- <option v-for="city in cities" :value="city.id">@{{city.name}}</option>
|
|
|
- </select>
|
|
|
- <input class="form-control-sm form-control" placeholder="输入关键字定位" @input="origination_city_name">
|
|
|
+ <div v-if="waybill.logistic_id == 14 || waybill.logistic_id == 15 || waybill.logistic_id == 28 || waybill.logistic_id == 29">
|
|
|
+ <div class="form-group row">
|
|
|
+ <label for="cargo_name" class="col-2 col-form-label text-right text-primary">货物名称 *</label>
|
|
|
+ <div class="col-3">
|
|
|
+ <input type="text" class="form-control @error('cargo_name') is-invalid @enderror "
|
|
|
+ :class="errors['cargo_name'] ? 'is-invalid' :''"
|
|
|
+ name="cargo_name" autocomplete="off" v-model="waybill.cargo_name" id="cargo_name">
|
|
|
+ </div>
|
|
|
+ <label for="total_number" class="col-2 col-form-label text-right text-primary">总包裹数 *</label>
|
|
|
+ <div class="input-group col-4">
|
|
|
+ <input type="number" class="form-control @error('total_number') is-invalid @enderror "
|
|
|
+ :class="errors['total_number'] ? 'is-invalid' :''"
|
|
|
+ name="total_number" autocomplete="off" v-model="waybill.total_number" id="total_number">
|
|
|
+ <div class="input-group-append">
|
|
|
+ <span class="input-group-text">件</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ @error('cargo_name')<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span>@enderror
|
|
|
+ @error('total_number')<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span>@enderror
|
|
|
+ </div>
|
|
|
+ <div class="form-group row">
|
|
|
+ <label for="total_weight" class="col-2 col-form-label text-right text-primary">总重量(kg) *</label>
|
|
|
+ <div class="col-3">
|
|
|
+ <input type="number" class="form-control @error('total_weight') is-invalid @enderror "
|
|
|
+ :class="errors['total_weight'] ? 'is-invalid' :''"
|
|
|
+ name="total_weight" autocomplete="off" v-model="waybill.total_weight" id="total_weight">
|
|
|
+ </div>
|
|
|
+ <label for="deliveryType_id" class="col-2 col-form-label text-right text-primary">送货方式 *</label>
|
|
|
+ <div class="col-4">
|
|
|
+ <select class="form-control @error('deliveryType_id') is-invalid @enderror" name="deliveryType_id"
|
|
|
+ :class="errors['deliveryType_id'] ? 'is-invalid' :''"
|
|
|
+ style="width: 30%;" v-model="waybill.deliveryType_id" id="deliveryType_id">
|
|
|
+ <option v-for="deliveryType in deliveryTypes" :value="deliveryType.id">@{{ deliveryType.name }}</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ @error('total_weight')<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span>@enderror
|
|
|
+ @error('deliveryType_id')<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span>@enderror
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="form-group row">
|
|
|
- <label for="destination_city_id" class="col-2 col-form-label text-right text-primary">目的市 *</label>
|
|
|
- <div class="col-8 form-inline">
|
|
|
- <select class="form-control @error('destination_city_id') is-invalid @enderror" id="destination_city_id" style="width: 30%; "
|
|
|
- :name="waybill.order_id ? '' : 'destination_city_id'" :disabled="!!waybill.order_id"
|
|
|
- :class="errors['destination_city_id'] ? 'is-invalid' :''" v-model="waybill.destination_city_id">
|
|
|
- <option v-for="city in cities" :value="city.id">@{{city.name}}</option>
|
|
|
- </select>
|
|
|
- <input v-if="!waybill.order_id" type="text" class="form-control-sm form-control tooltipTarget" style="vertical-align: middle"
|
|
|
- placeholder="输入关键字定位" @input="destination_city_id" v-model="waybill.destination_city" id="destination_city" title="若无法显示区/县级市,可点击后方按钮手动添加" >
|
|
|
- <button v-if="!waybill.order_id" type="button" class="btn btn-outline-info btn-sm" @click="selectedProvince()" style="transform: scale(0.9)">添加城市</button>
|
|
|
+ <div v-if="waybill.type=='专线'">
|
|
|
+ <div class="form-group row">
|
|
|
+ <label for="origination_city_id" class="col-2 col-form-label text-right text-primary">始发市 *</label>
|
|
|
+ <div class="col-9 form-inline">
|
|
|
+ <select class="form-control @error('origination_city_id') is-invalid @enderror" name="origination_city_id"
|
|
|
+ :class="errors['origination_city_id'] ? 'is-invalid' :''" style="width: 30%; " v-model="waybill.origination_city_id" id="origination_city_id">
|
|
|
+ <option v-for="city in cities" :value="city.id">@{{city.name}}</option>
|
|
|
+ </select>
|
|
|
+ <input class="form-control-sm form-control rounded-pill" placeholder="输入关键字定位" @input="origination_city_name">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group row">
|
|
|
+ <label for="destination_city_id" class="col-2 col-form-label text-right text-primary">目的市 *</label>
|
|
|
+ <div class="col-9 form-inline">
|
|
|
+ <select class="form-control @error('destination_city_id') is-invalid @enderror" id="destination_city_id" style="width: 30%; "
|
|
|
+ :name="waybill.order_id ? '' : 'destination_city_id'" :disabled="!!waybill.order_id"
|
|
|
+ :class="errors['destination_city_id'] ? 'is-invalid' :''" v-model="waybill.destination_city_id">
|
|
|
+ <option v-for="city in cities" :value="city.id">@{{city.name}}</option>
|
|
|
+ </select>
|
|
|
+ <input v-if="!waybill.order_id" type="text" class="form-control-sm form-control tooltipTarget rounded-pill" style="vertical-align: middle"
|
|
|
+ placeholder="输入关键字定位" @input="destination_city_id" v-model="waybill.destination_city" id="destination_city" title="若无法显示区/县级市,可点击后方按钮手动添加" >
|
|
|
+ <button v-if="!waybill.order_id" type="button" class="btn btn-outline-info btn-sm" @click="selectedProvince()" style="transform: scale(0.9)">添加城市</button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form-group row">
|
|
|
- <label for="warehouse_weight" class="col-2 col-form-label text-right " v-if="waybill.type=='专线'">仓库计抛</label>
|
|
|
- <div class="col-2" v-if="waybill.type=='专线'">
|
|
|
- <input type="text" class="form-control @error('warehouse_weight') is-invalid @enderror"
|
|
|
- name="warehouse_weight" autocomplete="off" v-model="waybill.warehouse_weight" id="warehouse_weight" >
|
|
|
- @error('warehouse_weight')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
+ <div class="form-group row">
|
|
|
+ <label for="warehouse_weight" class="col-2 col-form-label text-right " v-if="waybill.type=='专线'">仓库计抛</label>
|
|
|
+ <div class="col-2" v-if="waybill.type=='专线'">
|
|
|
+ <input type="text" class="form-control @error('warehouse_weight') is-invalid @enderror"
|
|
|
+ name="warehouse_weight" autocomplete="off" v-model="waybill.warehouse_weight" id="warehouse_weight" >
|
|
|
+ @error('warehouse_weight')
|
|
|
+ <span class="invalid-feedback" role="alert">
|
|
|
<strong>{{ $message }}</strong>
|
|
|
</span>
|
|
|
- @enderror
|
|
|
- </div>
|
|
|
- <label for="warehouse_weight_unit_id" class=" col-form-label text-right " v-if="waybill.type=='专线'">单位:</label>
|
|
|
- <div class="col-1.5" v-if="waybill.type=='专线'">
|
|
|
- <select class="form-control @error('warehouse_weight_unit_id') is-invalid @enderror"
|
|
|
- name="warehouse_weight_unit_id" v-model="waybill.warehouse_weight_unit_id" id="warehouse_weight_unit_id">
|
|
|
- <option :value="unit.id" v-for="unit in units" >@{{ unit.name }}</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- <span v-if="waybill.type=='专线'"> </span>
|
|
|
- <label for="warehouse_weight_other" class="col-form-label text-right " :class="waybill.type=='专线' ? '' : 'col-2'"> 仓库重</label>
|
|
|
- <div class="col-2">
|
|
|
- <input type="text" class="form-control @error('warehouse_weight_other') is-invalid @enderror"
|
|
|
- name="warehouse_weight_other" autocomplete="off" v-model="waybill.warehouse_weight_other" id="warehouse_weight_other">
|
|
|
- @error('warehouse_weight_other')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
+ @enderror
|
|
|
+ </div>
|
|
|
+ <label for="warehouse_weight_unit_id" class=" col-form-label text-right " v-if="waybill.type=='专线'">单位:</label>
|
|
|
+ <div class="col-1.5" v-if="waybill.type=='专线'">
|
|
|
+ <select class="form-control @error('warehouse_weight_unit_id') is-invalid @enderror"
|
|
|
+ name="warehouse_weight_unit_id" v-model="waybill.warehouse_weight_unit_id" id="warehouse_weight_unit_id">
|
|
|
+ <option :value="unit.id" v-for="unit in units" >@{{ unit.name }}</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <span v-if="waybill.type=='专线'"> </span>
|
|
|
+ <label for="warehouse_weight_other" class="col-form-label text-right " :class="waybill.type=='专线' ? '' : 'col-2'"> 仓库重</label>
|
|
|
+ <div class="col-2">
|
|
|
+ <input type="text" class="form-control @error('warehouse_weight_other') is-invalid @enderror"
|
|
|
+ name="warehouse_weight_other" autocomplete="off" v-model="waybill.warehouse_weight_other" id="warehouse_weight_other">
|
|
|
+ @error('warehouse_weight_other')
|
|
|
+ <span class="invalid-feedback" role="alert">
|
|
|
<strong>{{ $message }}</strong>
|
|
|
</span>
|
|
|
- @enderror
|
|
|
+ @enderror
|
|
|
+ </div>
|
|
|
+ <label for="warehouse_weight_unit_id_other" class=" col-form-label text-right ">单位:</label>
|
|
|
+ <div class="col-1.5">
|
|
|
+ <select class="form-control @error('warehouse_weight_unit_id_other') is-invalid @enderror"
|
|
|
+ name="warehouse_weight_unit_id_other" v-model="waybill.warehouse_weight_unit_id_other" id="warehouse_weight_unit_id_other">
|
|
|
+ <option :value="unit.id" v-for="unit in units" >@{{ unit.name }}</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <label for="warehouse_weight_unit_id_other" class=" col-form-label text-right ">单位:</label>
|
|
|
- <div class="col-1.5">
|
|
|
- <select class="form-control @error('warehouse_weight_unit_id_other') is-invalid @enderror"
|
|
|
- name="warehouse_weight_unit_id_other" v-model="waybill.warehouse_weight_unit_id_other" id="warehouse_weight_unit_id_other">
|
|
|
- <option :value="unit.id" v-for="unit in units" >@{{ unit.name }}</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div v-if="waybill.type=='专线'">
|
|
|
- <div class="form-group row">
|
|
|
- <label for="carrier_weight" class="col-2 col-form-label text-right ">承运商计抛</label>
|
|
|
- <div class="col-2">
|
|
|
- <input type="text" id="carrier_weight" :class="errors['carrier_weight'] ? 'is-invalid' :''" class="form-control @error('carrier_weight') is-invalid @enderror"
|
|
|
- name="carrier_weight" autocomplete="off" v-model="waybill.carrier_weight" >
|
|
|
- @error('carrier_weight')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
+ <div v-if="waybill.type=='专线'">
|
|
|
+ <div class="form-group row">
|
|
|
+ <label for="carrier_weight" class="col-2 col-form-label text-right ">承运商计抛</label>
|
|
|
+ <div class="col-2">
|
|
|
+ <input type="text" id="carrier_weight" :class="errors['carrier_weight'] ? 'is-invalid' :''" class="form-control @error('carrier_weight') is-invalid @enderror"
|
|
|
+ name="carrier_weight" autocomplete="off" v-model="waybill.carrier_weight" >
|
|
|
+ @error('carrier_weight')
|
|
|
+ <span class="invalid-feedback" role="alert">
|
|
|
<strong>{{ $message }}</strong>
|
|
|
</span>
|
|
|
- @enderror
|
|
|
- </div>
|
|
|
- <label for="carrier_weight_unit_id" class="col-form-label text-right ">单位:</label>
|
|
|
- <div class="col-1.5">
|
|
|
- <select id="carrier_weight_unit_id" :class="errors['carrier_weight_unit_id'] ? 'is-invalid' :''" class="form-control @error('carrier_weight_unit_id') is-invalid @enderror"
|
|
|
- name="carrier_weight_unit_id" v-model="waybill.carrier_weight_unit_id" >
|
|
|
- <option :value="unit.id" v-for="unit in units" >@{{ unit.name }}</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
+ @enderror
|
|
|
+ </div>
|
|
|
+ <label for="carrier_weight_unit_id" class="col-form-label text-right ">单位:</label>
|
|
|
+ <div class="col-1.5">
|
|
|
+ <select id="carrier_weight_unit_id" :class="errors['carrier_weight_unit_id'] ? 'is-invalid' :''" class="form-control @error('carrier_weight_unit_id') is-invalid @enderror"
|
|
|
+ name="carrier_weight_unit_id" v-model="waybill.carrier_weight_unit_id" >
|
|
|
+ <option :value="unit.id" v-for="unit in units" >@{{ unit.name }}</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
|
|
|
-
|
|
|
- <label for="carrier_weight_other" class="col-form-label text-right ">承运商计重</label>
|
|
|
- <div class="col-2">
|
|
|
- <input type="text" id="carrier_weight_other" :class="errors['carrier_weight_other'] ? 'is-invalid' :''"
|
|
|
- class="form-control @error('carrier_weight_other') is-invalid @enderror"
|
|
|
- name="carrier_weight_other" autocomplete="off" v-model="waybill.carrier_weight_other" >
|
|
|
- @error('carrier_weight_other')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
+
|
|
|
+ <label for="carrier_weight_other" class="col-form-label text-right ">承运商计重</label>
|
|
|
+ <div class="col-2">
|
|
|
+ <input type="text" id="carrier_weight_other" :class="errors['carrier_weight_other'] ? 'is-invalid' :''"
|
|
|
+ class="form-control @error('carrier_weight_other') is-invalid @enderror"
|
|
|
+ name="carrier_weight_other" autocomplete="off" v-model="waybill.carrier_weight_other" >
|
|
|
+ @error('carrier_weight_other')
|
|
|
+ <span class="invalid-feedback" role="alert">
|
|
|
<strong>{{ $message }}</strong>
|
|
|
</span>
|
|
|
+ @enderror
|
|
|
+ </div>
|
|
|
+ <label for="carrier_weight_unit_id_other" class=" col-form-label text-right ">单位:</label>
|
|
|
+ <div class="col-1.5">
|
|
|
+ <select id="carrier_weight_unit_id_other" :class="errors['carrier_weight_unit_id_other'] ? 'is-invalid' :''"
|
|
|
+ class="form-control @error('carrier_weight_unit_id_other') is-invalid @enderror"
|
|
|
+ name="carrier_weight_unit_id_other" v-model="waybill.carrier_weight_unit_id_other" >
|
|
|
+ <option :value="unit.id" v-for="unit in units" >@{{ unit.name }}</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group row">
|
|
|
+ <label for="amount" class="col-2 col-form-label text-right text-primary">计数</label>
|
|
|
+ <div class="col-5">
|
|
|
+ <input type="number" class="form-control @error('amount') is-invalid @enderror"
|
|
|
+ name="amount" autocomplete="off" v-model="waybill.amount" id="amount">
|
|
|
+ @error('amount')<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span>@enderror
|
|
|
+ </div>
|
|
|
+ <label for="amount_unit_id" class=" col-form-label text-right ">单位:</label>
|
|
|
+ <div class="col-1.5 form-inline">
|
|
|
+ <label for="amount_unit_id" class="ml-1 @error('amount_unit_id') text-danger @enderror" >件</label>
|
|
|
+ <input id="amount_unit_id" type="radio" value="4" class="form-control form-control-sm ml-1"
|
|
|
+ name="amount_unit_id" v-model="waybill.amount_unit_id">
|
|
|
+ <label for="amount_unit_id1" class="ml-1 @error('amount_unit_id') text-danger @enderror" >托</label>
|
|
|
+ <input id="amount_unit_id1" type="radio" value="5" class="form-control form-control-sm ml-1"
|
|
|
+ :class="errors['amount_unit_id'] ? 'is-invalid' :''" name="amount_unit_id" v-model="waybill.amount_unit_id">
|
|
|
+ </div>
|
|
|
+ @error('amount_unit_id')
|
|
|
+ <div class="col-2 form-inline">
|
|
|
+ <label class="form-control-static text-danger small font-weight-bold">{{$message}}</label>
|
|
|
+ </div>
|
|
|
@enderror
|
|
|
</div>
|
|
|
- <label for="carrier_weight_unit_id_other" class=" col-form-label text-right ">单位:</label>
|
|
|
- <div class="col-1.5">
|
|
|
- <select id="carrier_weight_unit_id_other" :class="errors['carrier_weight_unit_id_other'] ? 'is-invalid' :''"
|
|
|
- class="form-control @error('carrier_weight_unit_id_other') is-invalid @enderror"
|
|
|
- name="carrier_weight_unit_id_other" v-model="waybill.carrier_weight_unit_id_other" >
|
|
|
- <option :value="unit.id" v-for="unit in units" >@{{ unit.name }}</option>
|
|
|
- </select>
|
|
|
+ <div v-if="waybill.type=='直发车'">
|
|
|
+ <div class="form-group row">
|
|
|
+ <label for="carType_id" class="col-2 col-form-label text-right">车型</label>
|
|
|
+ <div class="col-3">
|
|
|
+ <select class="form-control" name="carType_id" v-model="waybill.carType_id" id="carType_id">
|
|
|
+ <option v-for="carType in carTypes" :value="carType.id">@{{ carType.name }}</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <label for="car_owner_info" class="col-2 col-form-label text-right">车辆信息</label>
|
|
|
+ <div class="col-3">
|
|
|
+ <input type="text" class="form-control"
|
|
|
+ name="car_owner_info" autocomplete="off" v-model="waybill.car_owner_info" id="car_owner_info" >
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ @can('运输管理-运单-运费')
|
|
|
+ <div class="form-group row">
|
|
|
+ <label for="fee" class="col-2 col-form-label text-right text-primary">运费(元) </label>
|
|
|
+ <div class="col-8">
|
|
|
+ <input type="text" class="form-control @error('fee') is-invalid @enderror"
|
|
|
+ name="fee" autocomplete="off" v-model="waybill.fee" id="fee" >
|
|
|
+ @error('fee')<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span>@enderror
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ @endcan
|
|
|
</div>
|
|
|
-
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form-group row">
|
|
|
- <label for="amount" class="col-2 col-form-label text-right text-primary">计数</label>
|
|
|
- <div class="col-5">
|
|
|
- <input type="number" class="form-control @error('amount') is-invalid @enderror"
|
|
|
- name="amount" autocomplete="off" v-model="waybill.amount" id="amount">
|
|
|
- @error('amount')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
- <strong>{{ $message }}</strong>
|
|
|
- </span>
|
|
|
- @enderror
|
|
|
- </div>
|
|
|
- <label for="amount_unit_id" class=" col-form-label text-right ">单位:</label>
|
|
|
- <div class="col-1.5 form-inline">
|
|
|
- <label for="amount_unit_id" class="ml-1 @error('amount_unit_id') text-danger @enderror" >件</label>
|
|
|
- <input id="amount_unit_id" type="radio" value="4" class="form-control form-control-sm ml-1"
|
|
|
- name="amount_unit_id" v-model="waybill.amount_unit_id">
|
|
|
- <label for="amount_unit_id1" class="ml-1 @error('amount_unit_id') text-danger @enderror" >托</label>
|
|
|
- <input id="amount_unit_id1" type="radio" value="5" class="form-control form-control-sm ml-1"
|
|
|
- :class="errors['amount_unit_id'] ? 'is-invalid' :''" name="amount_unit_id" v-model="waybill.amount_unit_id">
|
|
|
- </div>
|
|
|
- @error('amount_unit_id')
|
|
|
- <div class="col-2 form-inline">
|
|
|
- <label class="form-control-static text-danger small font-weight-bold">{{$message}}</label>
|
|
|
- </div>
|
|
|
- @enderror
|
|
|
-
|
|
|
- </div>
|
|
|
- <div class="form-group row">
|
|
|
- <label for="mileage" class="col-2 col-form-label text-right text-dark">里程数</label>
|
|
|
- <div class="col-3">
|
|
|
- <input type="number" step="0.01" class="form-control @error('mileage') is-invalid @enderror"
|
|
|
- name="mileage" autocomplete="off" v-model="waybill.mileage" id="mileage" >
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div v-if="waybill.type=='直发车'">
|
|
|
- <div class="form-group row">
|
|
|
- <label for="carType_id" class="col-2 col-form-label text-right">车型</label>
|
|
|
- <div class="col-3">
|
|
|
- <select class="form-control" name="carType_id" style="width: 30%;" v-model="waybill.carType_id" id="carType_id">
|
|
|
- <option v-for="carType in carTypes" :value="carType.id">@{{ carType.name }}</option>
|
|
|
- </select>
|
|
|
+ <div v-if="waybill.type=='专线'">
|
|
|
+ <div class="form-group row">
|
|
|
+ <label for="pick_up_fee" class="col-2 col-form-label text-right">提货费</label>
|
|
|
+ <div class="input-group col-3">
|
|
|
+ <input type="number" step="0.01" min="0" class="form-control @error('pick_up_fee') is-invalid @enderror"
|
|
|
+ name="pick_up_fee" autocomplete="off" v-model="waybill.pick_up_fee" id="pick_up_fee">
|
|
|
+ <div class="input-group-append">
|
|
|
+ <span class="input-group-text">元</span>
|
|
|
+ </div>
|
|
|
+ @error('pick_up_fee')<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span>@enderror
|
|
|
+ </div>
|
|
|
+ <label for="other_fee" class="col-2 col-form-label text-right text-muted">其他支出(元)</label>
|
|
|
+ <div class="input-group col-4">
|
|
|
+ <input type="number" step="0.01" min="0" class="form-control @error('other_fee') is-invalid @enderror"
|
|
|
+ name="other_fee" autocomplete="off" v-model="waybill.other_fee" id="other_fee">
|
|
|
+ <div class="input-group-append">
|
|
|
+ <span class="input-group-text">元</span>
|
|
|
+ </div>
|
|
|
+ @error('other_fee')<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span>@enderror
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <label for="car_owner_info" class="col-2 col-form-label text-right">车辆信息</label>
|
|
|
- <div class="col-3">
|
|
|
- <input type="text" class="form-control"
|
|
|
- name="car_owner_info" autocomplete="off" v-model="waybill.car_owner_info" id="car_owner_info" >
|
|
|
+ <div class="form-group row">
|
|
|
+ <label for="deliver_at" class="col-2 col-form-label text-right text-muted">发货时间</label>
|
|
|
+ <div class="col-8 form-inline">
|
|
|
+ <input id="deliver_at_date" @input="spliceDeliverAt" name="deliver_at_date" type="date" class="form-control col-4"
|
|
|
+ value="@if(old('deliver_at_date')){{ old('deliver_at_date') }}@else{{$waybill->deliver_at_date}}@endif">
|
|
|
+ <input id="deliver_at_time" @input="spliceDeliverAt" name="deliver_at_time" type="time" class="form-control col-4"
|
|
|
+ value="@if(old('deliver_at_time')){{ old('deliver_at_time') }}@else{{$waybill->deliver_at_time}}@endif">
|
|
|
+ <input hidden id="deliver_at" name="deliver_at" type="text" class="form-control col-4">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- @can('运输管理-运单-运费')
|
|
|
- <div class="form-group row">
|
|
|
- <label for="fee" class="col-2 col-form-label text-right text-primary">运费(元) </label>
|
|
|
- <div class="col-8">
|
|
|
- <input type="text" class="form-control @error('fee') is-invalid @enderror"
|
|
|
- name="fee" autocomplete="off" v-model="waybill.fee" id="fee" >
|
|
|
- @error('fee')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
- <strong>{{ $message }}</strong>
|
|
|
- </span>
|
|
|
- @enderror
|
|
|
+ <div class="form-group row">
|
|
|
+ <label for="dispatch_remark" class="col-2 col-form-label text-right text-muted">调度备注</label>
|
|
|
+ <div class="col-8">
|
|
|
+ <textarea class="form-control @error('dispatch_remark') is-invalid @enderror"
|
|
|
+ name="dispatch_remark" autocomplete="off" v-model="waybill.dispatch_remark" id="dispatch_remark"></textarea>
|
|
|
+ @error('dispatch_remark')<span class="invalid-feedback" role="alert"><strong>{{ $message }}</strong></span>@enderror
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- @endcan
|
|
|
- </div>
|
|
|
- <div v-if="waybill.type=='专线'">
|
|
|
- <div class="form-group row">
|
|
|
- <label for="pick_up_fee" class="col-2 col-form-label text-right">提货费(元)</label>
|
|
|
- <div class="col-8">
|
|
|
- <input type="text" class="form-control @error('pick_up_fee') is-invalid @enderror"
|
|
|
- name="pick_up_fee" autocomplete="off" v-model="waybill.pick_up_fee" id="pick_up_fee">
|
|
|
- @error('pick_up_fee')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
- <strong>{{ $message }}</strong>
|
|
|
- </span>
|
|
|
- @enderror
|
|
|
+ <div class="form-group row">
|
|
|
+ <div class="col-8 offset-2">
|
|
|
+ <input type="button" @click="submitForm" class="btn btn-success form-control" value="提交">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="form-group row">
|
|
|
- <label for="other_fee" class="col-2 col-form-label text-right text-muted">其他支出(元)</label>
|
|
|
- <div class="col-8">
|
|
|
- <input type="text" class="form-control @error('other_fee') is-invalid @enderror"
|
|
|
- name="other_fee" autocomplete="off" v-model="waybill.other_fee" id="other_fee">
|
|
|
- @error('other_fee')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
- <strong>{{ $message }}</strong>
|
|
|
- </span>
|
|
|
- @enderror
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form-group row">
|
|
|
- <label for="deliver_at" class="col-2 col-form-label text-right text-muted">发货时间</label>
|
|
|
- <div class="col-8 form-inline">
|
|
|
- <input id="deliver_at_date" @input="spliceDeliverAt" name="deliver_at_date" type="date" class="form-control col-4"
|
|
|
- value="@if(old('deliver_at_date')){{ old('deliver_at_date') }}@else{{$waybill->deliver_at_date}}@endif">
|
|
|
- <input id="deliver_at_time" @input="spliceDeliverAt" name="deliver_at_time" type="time" class="form-control col-4"
|
|
|
- value="@if(old('deliver_at_time')){{ old('deliver_at_time') }}@else{{$waybill->deliver_at_time}}@endif">
|
|
|
- <input hidden id="deliver_at" name="deliver_at" type="text" class="form-control col-4">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form-group row">
|
|
|
- <label for="dispatch_remark" class="col-2 col-form-label text-right text-muted">调度备注</label>
|
|
|
- <div class="col-8">
|
|
|
- <textarea class="form-control @error('dispatch_remark') is-invalid @enderror"
|
|
|
- name="dispatch_remark" autocomplete="off" v-model="waybill.dispatch_remark" id="dispatch_remark"></textarea>
|
|
|
- @error('dispatch_remark')
|
|
|
- <span class="invalid-feedback" role="alert">
|
|
|
- <strong>{{ $message }}</strong>
|
|
|
+ <div class="col-6">
|
|
|
+ <div class="form-group row">
|
|
|
+ <label for="waybill_number" class="col-2 col-form-label text-right text-secondary">运单号</label>
|
|
|
+ <div class="col-8">
|
|
|
+ <input id="waybill_number" type="text" class="form-control" disabled="disabled" :value="waybill.waybill_number" >
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group row">
|
|
|
+ <label class="col-2 col-form-label text-right text-secondary">货主</label>
|
|
|
+ <div class="col-8">
|
|
|
+ <input type="text" class="form-control" disabled="disabled" :value="waybill.owner_name" >
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group row">
|
|
|
+ <label class="col-2 col-form-label text-right text-secondary">WMS单号</label>
|
|
|
+ <div class="col-8">
|
|
|
+ <input type="text" class="form-control" disabled="disabled" :value="waybill.wms_bill_number" >
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div id="origination">
|
|
|
+ <div class="col-8" style="margin-left: 15%" id="btn" hidden>
|
|
|
+ <button type="button" class="btn btn-outline-primary btn-sm" @click="waybill.origination='上海市松江区泗砖仓'" style="transform: scale(0.9)">松江泗砖仓</button>
|
|
|
+ <button type="button" class="btn btn-outline-primary btn-sm" @click="waybill.origination='上海市松江区九干仓'" style="transform: scale(0.9)">松江九干仓</button>
|
|
|
+ <button type="button" class="btn btn-outline-primary btn-sm" @click="waybill.origination='上海市嘉定区武乡仓'" style="transform: scale(0.9)">嘉定武乡仓</button>
|
|
|
+ </div>
|
|
|
+ <div class="form-group row">
|
|
|
+ <label class="col-2 col-form-label text-right text-secondary" for="origination_seek">始发地</label>
|
|
|
+ <div class="col-8">
|
|
|
+ <input type="text" class="form-control @error('origination') is-invalid @enderror"
|
|
|
+ id="origination_seek" name="origination" disabled="disabled" v-model="waybill.origination">
|
|
|
+ </div>
|
|
|
+ @error('origination')
|
|
|
+ <span class="invalid-feedback" role="alert">
|
|
|
+ <strong>{{ $message }}</strong>
|
|
|
</span>
|
|
|
- @enderror
|
|
|
+ @enderror
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group row">
|
|
|
+ <label class="col-2 col-form-label text-right text-secondary" for="destination_seek">目的地</label>
|
|
|
+ <div class="col-8">
|
|
|
+ <input id="destination_seek" type="text" class="form-control" disabled="disabled" :value="waybill.destination" >
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group row">
|
|
|
+ <label class="col-2 col-form-label text-right text-secondary">收件人</label>
|
|
|
+ <div class="col-8">
|
|
|
+ <input type="text" class="form-control" disabled="disabled" :value="waybill.recipient" >
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group row">
|
|
|
+ <label class="col-2 col-form-label text-right text-secondary">收件人电话</label>
|
|
|
+ <div class="col-8">
|
|
|
+ <input type="text" class="form-control" disabled="disabled" :value="waybill.recipient_mobile" >
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group row" id="ordering_remark">
|
|
|
+ <label class="col-2 col-form-label text-right text-secondary">下单备注</label>
|
|
|
+ <div class="col-8">
|
|
|
+ <textarea class="form-control" disabled="disabled" >@{{waybill.ordering_remark}}</textarea>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<input type="hidden" name="status" value="待终审">
|
|
|
<input type="hidden" name="waybillPriceModel" id="waybillPriceModel">
|
|
|
<input type="hidden" name="order_id" :value="waybill.order_id">
|
|
|
- <div class="form-group row">
|
|
|
- <div class="col-8 offset-2">
|
|
|
- <input type="button" @click="submitForm" class="btn btn-outline-dark form-control" value="提交">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
</form>
|
|
|
</div>
|
|
|
</div>
|