|
@@ -38,7 +38,7 @@
|
|
allowClear></v-select>
|
|
allowClear></v-select>
|
|
<span v-else>{{ detail.transportStateDictValue||'--' }}</span>
|
|
<span v-else>{{ detail.transportStateDictValue||'--' }}</span>
|
|
</div>
|
|
</div>
|
|
- <div style="flex-basis:35%" :class="type==0?'requerd':''">
|
|
|
|
|
|
+ <div style="flex-basis:35%">
|
|
是否收货:
|
|
是否收货:
|
|
<div>
|
|
<div>
|
|
<a-checkbox v-model="form.receiveFlag" @change="receiveFlagChange" v-if="type==0">已收货</a-checkbox>
|
|
<a-checkbox v-model="form.receiveFlag" @change="receiveFlagChange" v-if="type==0">已收货</a-checkbox>
|
|
@@ -106,8 +106,8 @@ export default {
|
|
type: 0,
|
|
type: 0,
|
|
form: {
|
|
form: {
|
|
transportState: 'NORMAL',
|
|
transportState: 'NORMAL',
|
|
- receiveDate: moment(),
|
|
|
|
- receiveFlag: true,
|
|
|
|
|
|
+ receiveDate: '',
|
|
|
|
+ receiveFlag: false,
|
|
transportRemark: ''
|
|
transportRemark: ''
|
|
},
|
|
},
|
|
tableData: [],
|
|
tableData: [],
|
|
@@ -161,6 +161,9 @@ export default {
|
|
this.spinning = false
|
|
this.spinning = false
|
|
if (res.data) {
|
|
if (res.data) {
|
|
this.detail = res.data
|
|
this.detail = res.data
|
|
|
|
+ this.detail.receiveFlag = res.data.receiveFlag == 1
|
|
|
|
+ this.form.receiveFlag = false
|
|
|
|
+ this.form.receiveDate = ''
|
|
// 出库单明细
|
|
// 出库单明细
|
|
this.sendBillStockOutList = res.data.sendBillStockOutList || []
|
|
this.sendBillStockOutList = res.data.sendBillStockOutList || []
|
|
this.sendBillStockOutList.map((item, i) => {
|
|
this.sendBillStockOutList.map((item, i) => {
|