|
@@ -254,20 +254,37 @@
|
|
|
:data="warehousebillsList"
|
|
|
@selection-change="handleSelectionChange"
|
|
|
>
|
|
|
- <el-table-column type="selection" width="55" align="center" />
|
|
|
- <el-table-column type="index" label="行号" align="center" />
|
|
|
+ <el-table-column type="selection" width="55" fixed align="center" />
|
|
|
+ <el-table-column type="index" label="行号" fixed align="center" />
|
|
|
+ <el-table-column
|
|
|
+ width="100"
|
|
|
+ label="出库状态"
|
|
|
+ fixed
|
|
|
+ align="center"
|
|
|
+ prop="fItemsStatus"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.fItemsStatus === 1">计划</span>
|
|
|
+ <span v-if="scope.row.fItemsStatus === 2">卸货中</span>
|
|
|
+ <span v-if="scope.row.fItemsStatus === 3">已装货</span>
|
|
|
+ <span v-if="scope.row.fItemsStatus === 4">已出库</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
<el-table-column
|
|
|
:show-overflow-tooltip="true"
|
|
|
label="货权方"
|
|
|
+ fixed
|
|
|
align="center"
|
|
|
prop="fCorpid"
|
|
|
/>
|
|
|
- <el-table-column label="提单号" align="center" prop="fMblno" show-overflow-tooltip/>
|
|
|
- <el-table-column label="品名" :show-overflow-tooltip="true" align="ceter" prop="fProductName" />
|
|
|
- <el-table-column label="品牌" align="center" prop="fMarks" />
|
|
|
+ <el-table-column label="提单号" align="center" prop="fMblno" fixed show-overflow-tooltip/>
|
|
|
+ <el-table-column label="品名" :show-overflow-tooltip="true" fixed align="ceter" prop="fProductName" />
|
|
|
+ <el-table-column label="品牌" align="center" fixed prop="fMarks" />
|
|
|
<el-table-column
|
|
|
label="出库日期"
|
|
|
align="center"
|
|
|
+ fixed
|
|
|
prop="createTime"
|
|
|
style="width: 60%"
|
|
|
width="100"
|
|
@@ -276,7 +293,7 @@
|
|
|
<span>{{ parseTime(scope.row.fBsdate, "{y}-{m}-{d}") }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="仓库" align="center" prop="fWarehouseid" />
|
|
|
+ <el-table-column label="仓库" fixed align="center" prop="fWarehouseid" />
|
|
|
<el-table-column label="计划件数" align="center" prop="fPlanqty" />
|
|
|
<el-table-column label="出库件数" align="center" prop="fQty" />
|
|
|
<el-table-column label="出库毛重(kg)" align="center" prop="fGrossweight" width="100"/>
|
|
@@ -288,19 +305,6 @@
|
|
|
<el-table-column label="业务类别" align="center" prop="fBusinessType" :formatter="fBusinessTypeFormat"/>
|
|
|
<el-table-column
|
|
|
width="100"
|
|
|
- label="出库状态"
|
|
|
- align="center"
|
|
|
- prop="fItemsStatus"
|
|
|
- >
|
|
|
- <template slot-scope="scope">
|
|
|
- <span v-if="scope.row.fItemsStatus === 1">计划</span>
|
|
|
- <span v-if="scope.row.fItemsStatus === 2">卸货中</span>
|
|
|
- <span v-if="scope.row.fItemsStatus === 3">已装货</span>
|
|
|
- <span v-if="scope.row.fItemsStatus === 4">已出库</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- width="100"
|
|
|
label="费用状态"
|
|
|
align="center"
|
|
|
prop="fBillstatus"
|
|
@@ -455,6 +459,7 @@
|
|
|
<el-form-item label="业务时间" prop="fBstime">
|
|
|
<el-time-picker
|
|
|
style="width: 80%"
|
|
|
+ :disabled="browseStatus || formBrowseStatus"
|
|
|
v-model="form.fBstime"
|
|
|
:picker-options="{
|
|
|
selectableRange: '00:00:01 - 23:59:59'
|
|
@@ -464,8 +469,8 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="车辆类型" prop="fCartype">
|
|
|
- <el-select style="width: 80%" v-model="form.fCartype">
|
|
|
+ <el-form-item label="车辆类型" prop="fCartype" >
|
|
|
+ <el-select style="width: 80%" v-model="form.fCartype":disabled="contrOl">
|
|
|
<el-option
|
|
|
v-for="(dict, index) in fCartypeOptions"
|
|
|
:key="index.dictValue"
|
|
@@ -908,7 +913,7 @@
|
|
|
</div>
|
|
|
<div style="display: flex">
|
|
|
<el-button type="info" :disabled="printinglist.length <= 0 || browseStatus" prop="打印" @click="printJobSheet">作业单</el-button>
|
|
|
- <el-button :disabled="printinglist.length <= 0 || browseStatus" @click="discharge">装货完成</el-button>
|
|
|
+ <el-button :disabled="printinglist.length <= 0 || browseStatus" @click="discharge">叫车进场</el-button>
|
|
|
<el-button
|
|
|
:disabled="dataListSelection.length <= 0 || browseStatus"
|
|
|
@click.prevent="creditClick"
|
|
@@ -942,14 +947,38 @@
|
|
|
@selection-change="selectinventory"
|
|
|
show-summary
|
|
|
>
|
|
|
- <el-table-column type="selection" width="55" align="center" />
|
|
|
- <el-table-column label="序号" type="index" width="80">
|
|
|
+ <el-table-column type="selection" width="55" fixed align="center" />
|
|
|
+ <el-table-column label="序号" type="index" fixed width="80">
|
|
|
</el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="fBillstatus"
|
|
|
+ header-align="center"
|
|
|
+ width="150px"
|
|
|
+ fixed
|
|
|
+ align="center"
|
|
|
+ label="状态"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="form.fBusinessType === '5'">
|
|
|
+ <span v-if="scope.row.fBillstatus === 40">已装箱</span>
|
|
|
+ <span v-if="scope.row.fBillstatus === 20">待装箱</span>
|
|
|
+ <span v-if="scope.row.fBillstatus === 30">装箱中</span>
|
|
|
+ <span v-if="scope.row.fBillstatus === 10">计划</span>
|
|
|
+ </span>
|
|
|
|
|
|
+ <span v-if="form.fBusinessType !== '5'">
|
|
|
+ <span v-if="scope.row.fBillstatus === 40">已出库</span>
|
|
|
+ <span v-if="scope.row.fBillstatus === 20">待出库</span>
|
|
|
+ <span v-if="scope.row.fBillstatus === 30">出库中</span>
|
|
|
+ <span v-if="scope.row.fBillstatus === 10">计划</span>
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
prop="fBsdate"
|
|
|
header-align="center"
|
|
|
align="center"
|
|
|
+ fixed
|
|
|
width="150px"
|
|
|
label="出库日期"
|
|
|
>
|
|
@@ -985,7 +1014,7 @@
|
|
|
header-align="center"
|
|
|
align="center"
|
|
|
width="140px"
|
|
|
- label="品名"
|
|
|
+ label="*品名"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
@@ -1314,29 +1343,6 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="fBillstatus"
|
|
|
- header-align="center"
|
|
|
- width="150px"
|
|
|
- align="center"
|
|
|
- label="状态"
|
|
|
- >
|
|
|
- <template slot-scope="scope">
|
|
|
- <span v-if="form.fBusinessType === '5'">
|
|
|
- <span v-if="scope.row.fBillstatus === 40">已装箱</span>
|
|
|
- <span v-if="scope.row.fBillstatus === 20">待装箱</span>
|
|
|
- <span v-if="scope.row.fBillstatus === 30">装箱中</span>
|
|
|
- <span v-if="scope.row.fBillstatus === 10">计划</span>
|
|
|
- </span>
|
|
|
-
|
|
|
- <span v-if="form.fBusinessType !== '5'">
|
|
|
- <span v-if="scope.row.fBillstatus === 40">已出库</span>
|
|
|
- <span v-if="scope.row.fBillstatus === 20">待出库</span>
|
|
|
- <span v-if="scope.row.fBillstatus === 30">出库中</span>
|
|
|
- <span v-if="scope.row.fBillstatus === 10">计划</span>
|
|
|
- </span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
header-align="center"
|
|
|
align="center"
|
|
|
label="操作"
|
|
@@ -2318,6 +2324,8 @@
|
|
|
<span v-if="scope.row.fFeeUnitid === 3">净重</span>
|
|
|
<span v-if="scope.row.fFeeUnitid === 4">尺码</span>
|
|
|
<span v-if="scope.row.fFeeUnitid === 5">固定</span>
|
|
|
+ <span v-if="scope.row.fFeeUnitid === 5">其他</span>
|
|
|
+ <span v-if="scope.row.fFeeUnitid === 7">箱量</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
@@ -2645,10 +2653,10 @@
|
|
|
<tr>
|
|
|
<td
|
|
|
width="900"
|
|
|
- colspan="4"
|
|
|
+ colspan="2"
|
|
|
class="zzss"
|
|
|
- style="font-size: 28px; font-weight: bold"
|
|
|
- >
|
|
|
+ style="padding-bottom: 0px; font-weight: bold;"
|
|
|
+ >车辆类型:{{ fCartype }}
|
|
|
</td>
|
|
|
<td
|
|
|
width="500"
|
|
@@ -2658,6 +2666,16 @@
|
|
|
>
|
|
|
出库日期:{{ fBsdate }}
|
|
|
</td>
|
|
|
+ <td v-if="!fBstime" colspan="2" style="padding-bottom: 0; font-weight: bold;">出库时间</td>
|
|
|
+ <td
|
|
|
+ v-else
|
|
|
+ width="500"
|
|
|
+ colspan="2"
|
|
|
+ style="padding-bottom: 0px; font-weight: bold;"
|
|
|
+ class="zzss"
|
|
|
+ >
|
|
|
+ 出库时间:{{ fBstime.slice(11,19) }}
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
<!-- <tr v-for="(item, index) in printinglist" :key="index">-->
|
|
|
<!-- <td width="200">车号</td>-->
|
|
@@ -2802,6 +2820,8 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ fCartype:'',
|
|
|
+ fBstime:'',
|
|
|
browseStatu:false,
|
|
|
key_s:'',
|
|
|
// 劳务公司
|
|
@@ -3024,7 +3044,7 @@ export default {
|
|
|
fWarehouseid: null,
|
|
|
fBusinessType: null,
|
|
|
fCartype: 0,
|
|
|
- fBstime:new Date()
|
|
|
+ fBstime:''
|
|
|
},
|
|
|
// 表单校验
|
|
|
rules: {
|
|
@@ -3370,6 +3390,7 @@ export default {
|
|
|
if (response.data.enclosures) {
|
|
|
this.relevantAttachments = response.data.enclosures;
|
|
|
}
|
|
|
+ this.$set(this.form,'fCartype',response.data.warehousebills.fCartype + '')
|
|
|
this.$set(this.form, "fStltypeid", this.form.fStltypeid + "");
|
|
|
this.$set(this.form, "fEta", Date.parse(this.form.fEta));
|
|
|
this.$set(this.form, "fBsdate", Date.parse(this.form.fBsdate));
|
|
@@ -3861,6 +3882,11 @@ export default {
|
|
|
},
|
|
|
// 作业单打印
|
|
|
printJobSheet() {
|
|
|
+ for(let item in this.fCartypeOptions){
|
|
|
+ if(this.form.fCartype == this.fCartypeOptions[item].dictValue){
|
|
|
+ this.fCartype = this.fCartypeOptions[item].dictLabel
|
|
|
+ }
|
|
|
+ }
|
|
|
if (this.printinglist.length <= 0) {
|
|
|
this.$message.error("请维护出库明细!");
|
|
|
return false;
|
|
@@ -3932,6 +3958,7 @@ export default {
|
|
|
}
|
|
|
setTimeout(() => {
|
|
|
this.openPrintJobSheet = true
|
|
|
+ this.fBstime = this.form.fBstime
|
|
|
}, 200);
|
|
|
}
|
|
|
},
|
|
@@ -4067,6 +4094,7 @@ export default {
|
|
|
});
|
|
|
this.loading = true;
|
|
|
listWarehousebills(this.queryParams).then((response) => {
|
|
|
+ console.log(response)
|
|
|
this.warehousebillsList = response.rows;
|
|
|
this.total = response.total;
|
|
|
this.loading = false;
|
|
@@ -4269,8 +4297,10 @@ export default {
|
|
|
}
|
|
|
getWarehousebills(fId).then((response) => {
|
|
|
if (response.data.warehousebills) {
|
|
|
+ console.log(response)
|
|
|
this.form = response.data.warehousebills;
|
|
|
this.before = this.form.createBy
|
|
|
+ this.$set(this.form,'fCartype',response.data.warehousebills.fCartype + '')
|
|
|
this.$set(this.form, "fEta", Date.parse(this.form.fEta));
|
|
|
this.$set(this.form, "fStltypeid", this.form.fStltypeid + "");
|
|
|
this.$set(this.form, "fBsdate", Date.parse(this.form.fBsdate));
|
|
@@ -4298,8 +4328,6 @@ export default {
|
|
|
if (response.data.corps) {
|
|
|
this.fMblnoOptions = response.data.corps;
|
|
|
this.KHblnoOptions = response.data.corps;
|
|
|
- this.fleetOptions = response.data.corps;
|
|
|
- this.fCompanyOptIons = response.rows;
|
|
|
}
|
|
|
if (response.data.feesList) {
|
|
|
this.fWbuOptions = response.data.feesList;
|
|
@@ -4594,16 +4622,134 @@ export default {
|
|
|
this.dataWithdrawList = []
|
|
|
this.dataListSelection = []
|
|
|
this.msgSuccess("出库成功");
|
|
|
+ console.log(this.form.fBillstatus)
|
|
|
this.$refs.tableList.clearSelection();
|
|
|
this.formBrowseStatus = true;
|
|
|
this.contrOl = true
|
|
|
+ this.form.fBillstatus = 40
|
|
|
for (let li in listSelection) {
|
|
|
for (let i in this.dataList) {
|
|
|
- if (listSelection[li].fId === this.dataList[i].fId) {
|
|
|
+ console.log(this.dataList[i].fId)
|
|
|
+ console.log(listSelection[li].fId)
|
|
|
+ if (listSelection[li].fId == this.dataList[i].fId) {
|
|
|
this.$set(this.dataList[i], "fBillstatus", 40);
|
|
|
+ console.log(this.dataList[i].fBillstatus)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ console.log(this.form.fBillstatus)
|
|
|
+ getWarehousebills(this.form.fId).then((response) => {
|
|
|
+ if (response.data.warehousebills) {
|
|
|
+ console.log(response)
|
|
|
+ this.form = response.data.warehousebills;
|
|
|
+ this.before = this.form.createBy
|
|
|
+ this.$set(this.form,'fCartype',response.data.warehousebills.fCartype + '')
|
|
|
+ this.$set(this.form, "fEta", Date.parse(this.form.fEta));
|
|
|
+ this.$set(this.form, "fStltypeid", this.form.fStltypeid + "");
|
|
|
+ this.$set(this.form, "fBsdate", Date.parse(this.form.fBsdate));
|
|
|
+ this.$set(this.form, "createTime", Date.parse(this.form.createTime));
|
|
|
+ this.$set(this.form, "fTrademodeid", this.form.fTrademodeid + "");
|
|
|
+ if (this.form.fBillstatus > 2) {
|
|
|
+ this.approvalStatus = false;
|
|
|
+ } else {
|
|
|
+ this.approvalStatus = true;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (response.data.warehouseBillsItem) {
|
|
|
+ this.dataList = response.data.warehouseBillsItem;
|
|
|
+ for (let list in this.dataList) {
|
|
|
+ this.$set(this.dataList[list], 'fBusinessType', this.dataList[list].fBusinessType + '')
|
|
|
+ if (this.dataList[list].fBillstatus > 10) {
|
|
|
+ this.formBrowseStatus = true;
|
|
|
+ this.$set(this.dataList[list], "fBusinessType", this.dataList[list].fBusinessType + '')
|
|
|
+ }
|
|
|
+ if(this.dataList[list].fBillstatus === 40){
|
|
|
+ this.contrOl = true
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (response.data.corps) {
|
|
|
+ this.fMblnoOptions = response.data.corps;
|
|
|
+ this.KHblnoOptions = response.data.corps;
|
|
|
+ }
|
|
|
+ if (response.data.feesList) {
|
|
|
+ this.fWbuOptions = response.data.feesList;
|
|
|
+ }
|
|
|
+ if (response.data.warehouse) {
|
|
|
+ this.warehouseOptions = response.data.warehouse;
|
|
|
+ }
|
|
|
+ if (response.data.warehouseBillsItem) {
|
|
|
+ this.dataList = response.data.warehouseBillsItem;
|
|
|
+ for (let list in this.dataList) {
|
|
|
+ this.$set(this.dataList[list], "fBsdate", Date.parse(this.dataList[list].fBsdate));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (response.data.enclosures) {
|
|
|
+ this.relevantAttachments = response.data.enclosures;
|
|
|
+ }
|
|
|
+ this.goodsOptions = response.data.goodsList;
|
|
|
+ this.kqhouseOptions = response.data.warehouseAreas;
|
|
|
+
|
|
|
+ this.warehouseDrList = response.data.warehousebillsfeesDr;
|
|
|
+ for (let dr in this.warehouseDrList) {
|
|
|
+ this.$set(this.warehouseDrList[dr], "fFeeunitid", this.warehouseDrList[dr].fFeeunitid + '');
|
|
|
+ this.$set(this.warehouseDrList[dr], "fQty", this.warehouseDrList[dr].fQty.toFixed(2));
|
|
|
+ this.$set(this.warehouseDrList[dr], "fAmount", this.warehouseDrList[dr].fAmount.toFixed(2));
|
|
|
+ }
|
|
|
+ this.warehouseCrList = response.data.warehousebillsfeesCr;
|
|
|
+ for (let cr in this.warehouseCrList) {
|
|
|
+ this.$set(this.warehouseCrList[cr], "fFeeunitid", this.warehouseCrList[cr].fFeeunitid + "");
|
|
|
+ // this.$set(this.warehouseCrList[cr], "fBusinessType", response.data.warehousebillsfeesCr);
|
|
|
+ }
|
|
|
+ this.userOptions = response.data.sysUser;
|
|
|
+ this.open = true;
|
|
|
+ this.title = "修改仓入库";
|
|
|
+ this.warehousesssMethod()
|
|
|
+ console.log(this.form.fBillstatus)
|
|
|
+ });
|
|
|
+
|
|
|
+ this.$refs['form'].validate((valid) => {
|
|
|
+ for (let li in this.dataList) {
|
|
|
+ for(let list in this.fStorageTypeOptions){
|
|
|
+ if (this.dataList[li].fBusinessType === this.fStorageTypeOptions[list].dictLabel) {
|
|
|
+ this.$set(this.dataList[li], 'fBusinessType', this.fStorageTypeOptions[list].dictValue)
|
|
|
+ break
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (valid) {
|
|
|
+ this.form.fNetweight = this.fNetweight
|
|
|
+ this.form.fGrossweight = this.fGrossweight
|
|
|
+ this.form.fQty = this.fQty
|
|
|
+ setTimeout(() => {
|
|
|
+ let formData = new window.FormData()
|
|
|
+ formData.append("warehouseBills", JSON.stringify(this.form));
|
|
|
+ formData.append("warehousebillsitems", JSON.stringify(this.dataList));
|
|
|
+ formData.append("tEnclosure", JSON.stringify(this.relevantAttachments));
|
|
|
+ formData.append("warehousebillsfeesCr", JSON.stringify(this.warehouseCrList));
|
|
|
+ formData.append("warehousebillsfeesDr", JSON.stringify(this.warehouseDrList));
|
|
|
+ addWarehousebills(formData).then((response) => {
|
|
|
+ console.log(response.data.warehouseBills)
|
|
|
+ this.form = response.data.warehouseBills
|
|
|
+ this.$set(this.form,'fCartype',response.data.warehouseBills.fCartype + '')
|
|
|
+ this.$set(this.form, 'fEta', Date.parse(this.form.fEta))
|
|
|
+ this.$set(this.form, 'fTrademodeid', this.form.fTrademodeid + '')
|
|
|
+ this.$set(this.form, 'fStltypeid', this.form.fStltypeid + '')
|
|
|
+ this.$set(this.form, 'fFeetunit', this.form.fFeetunit + '')
|
|
|
+ this.$set(this.form, 'fBsdate', Date.parse(this.form.fBsdate))
|
|
|
+ this.$set(this.form, 'createTime', Date.parse(this.form.createTime))
|
|
|
+ this.$set(this.form, 'fChargedate', Date.parse(this.form.fChargedate))
|
|
|
+ this.$set(this.form, 'fBusinessType', Date.parse(this.form.fChargedate))
|
|
|
+ this.dataList = response.data.warehousebillsitems
|
|
|
+ for (let list in this.dataList) {
|
|
|
+ this.$set(this.dataList[list], "fBsdate", Date.parse(this.dataList[list].fBsdate));
|
|
|
+ this.$set(this.dataList[list], "fBusinessType", this.dataList[list].fBusinessType + '');
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }, 200);
|
|
|
+ console.log(this.form.fBillstatus)
|
|
|
+ }
|
|
|
+ })
|
|
|
});
|
|
|
}
|
|
|
});
|
|
@@ -4808,7 +4954,7 @@ export default {
|
|
|
for (let li in this.dataList) {
|
|
|
for(let list in this.fStorageTypeOptions){
|
|
|
if (this.dataList[li].fBusinessType === this.fStorageTypeOptions[list].dictLabel) {
|
|
|
- this.$set(this.dataList[li], 'fBusinessType', this.fStorageTypeOptions[list].dictValue)
|
|
|
+ // this.$set(this.dataList[li], 'fBusinessType', this.fStorageTypeOptions[list].dictValue)
|
|
|
break
|
|
|
}
|
|
|
}
|
|
@@ -4842,7 +4988,10 @@ export default {
|
|
|
formData.append("warehousebillsfeesDr", JSON.stringify(this.warehouseDrList));
|
|
|
addWarehousebills(formData).then((response) => {
|
|
|
this.msgSuccess('保存成功')
|
|
|
+ console.log(response.data.warehouseBills)
|
|
|
this.form = response.data.warehouseBills
|
|
|
+ console.log(this.form.fBusinessType)
|
|
|
+ this.$set(this.form,'fCartype',response.data.warehouseBills.fCartype + '')
|
|
|
this.$set(this.form, 'fEta', Date.parse(this.form.fEta))
|
|
|
this.$set(this.form, 'fTrademodeid', this.form.fTrademodeid + '')
|
|
|
this.$set(this.form, 'fStltypeid', this.form.fStltypeid + '')
|
|
@@ -4850,7 +4999,8 @@ export default {
|
|
|
this.$set(this.form, 'fBsdate', Date.parse(this.form.fBsdate))
|
|
|
this.$set(this.form, 'createTime', Date.parse(this.form.createTime))
|
|
|
this.$set(this.form, 'fChargedate', Date.parse(this.form.fChargedate))
|
|
|
- this.$set(this.form, 'fBusinessType', Date.parse(this.form.fChargedate))
|
|
|
+ this.$set(this.form, 'fBusinessType', this.form.fBusinessType + '')
|
|
|
+ console.log(this.form.fBusinessType)
|
|
|
this.dataList = response.data.warehousebillsitems
|
|
|
for (let list in this.dataList) {
|
|
|
this.$set(this.dataList[list], "fBsdate", Date.parse(this.dataList[list].fBsdate));
|
|
@@ -4905,18 +5055,21 @@ export default {
|
|
|
return false
|
|
|
}
|
|
|
}
|
|
|
- for (let list in this.warehouseDrList) {
|
|
|
- if (!this.warehouseDrList[list].fCorpid) {
|
|
|
- this.$message.error('请选择客户名称')
|
|
|
- return false
|
|
|
- }
|
|
|
- }
|
|
|
- for (let list in this.warehouseCrList) {
|
|
|
- if (!this.warehouseCrList[list].fCorpid) {
|
|
|
- this.$message.error('请选择客户名称')
|
|
|
- return false
|
|
|
- }
|
|
|
- }
|
|
|
+
|
|
|
+ // for (let index in this.warehouseDrList) {
|
|
|
+ // if (!this.warehouseDrList[index].fCorpid) {
|
|
|
+ // console.log(index)
|
|
|
+ // console.log(this.warehouseDrList[index].fCorpid)
|
|
|
+ // this.$message.error('请选择客户名称')
|
|
|
+ // return false
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // for (let list in this.warehouseCrList) {
|
|
|
+ // if (!this.warehouseCrList[list].fCorpid) {
|
|
|
+ // this.$message.error('请选择客户名称')
|
|
|
+ // return false
|
|
|
+ // }
|
|
|
+ // }
|
|
|
if (valid) {
|
|
|
setTimeout(() => {
|
|
|
this.form.fBillstatus = status
|
|
@@ -5190,4 +5343,9 @@ export default {
|
|
|
.el-icon-s-home,.el-icon-s-order,.el-icon-circle-plus,.el-icon-remove{
|
|
|
padding-right: 5px;
|
|
|
}
|
|
|
+.el-table {
|
|
|
+ .el-table__body-wrapper {
|
|
|
+ z-index: 2;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|