jinhui.wang

参数修改

......@@ -423,7 +423,7 @@ export default {
// 改变页面条数
handleSizeChange(val) {
this.page.size = val;
this.search(1);
this.search(0);
},
// 切换页码
handleCurrentChange(val) {
......
......@@ -14,7 +14,7 @@
headData.id == null ||
headData.id == '0' ||
((headData.userUuid == null || headData.userUuid == '') &&
(headData.createUserId == null || createUserId == ''))
(headData.createUserId == null || headData.createUserId == ''))
"
>
<div class="formRowTitle">
......@@ -587,7 +587,19 @@ export default {
},
headData: {
type: Object,
default: null,
default() {
return {
id: null,
userUuid: null,
createUserId: "",
consignmentCode: "",
userInputShipperAccount: "",
userInputOriginCountry: "",
userInputOriginCountryCode: "",
destinationCountry: "China",
destinationCountryCode: "Country_CN",
};
},
},
disabled: {
type: Boolean,
......
......@@ -7,12 +7,14 @@
<i class="el-icon-circle-check"></i>
<span>Waybill details</span
><span
v-if="
v-show="
id != '' &&
id != null &&
id != '0' &&
(headData.userUuid == null || headData.userUuid == '') &&
(headData.createUserId == null || createUserId == '')
headData.userUuid != null &&
headData.userUuid != '' &&
headData.createUserId != null &&
headData.createUserId != ''
"
>:{{ headData.consignmentCode }}</span
>
......@@ -26,7 +28,7 @@
@searchWaybillData="searchWaybillData"
/>
<UploadFile
v-if="id != '' && id != null"
v-show="id != '' && id != null"
ref="uploadBox"
class="headDataBox"
:headData="headData"
......@@ -36,14 +38,14 @@
/>
<div class="option">
<el-button
v-if="id != '' && id != null"
v-show="id != '' && id != null"
class="entrySaveButton entrySaveButton-background"
@click="submit"
>
SUBMIT
</el-button>
<el-button
v-if="
v-show="
(id == '' || id == null) &&
headData.consignmentCode != null &&
headData.consignmentCode != '' &&
......@@ -85,6 +87,7 @@ export default {
headData: {
id: null,
userUuid: null,
createUserId: "",
consignmentCode: "",
userInputShipperAccount: "",
userInputOriginCountry: "",
......