|
@@ -1,7 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<div class="detail-container">
|
|
<div class="detail-container">
|
|
<div v-show="!isShowCheckOrder">
|
|
<div v-show="!isShowCheckOrder">
|
|
- <el-page-header @back="goBack" content="详情"></el-page-header>
|
|
|
|
|
|
+ <el-page-header content="详情" @back="goBack" />
|
|
|
|
|
|
<div id="printData">
|
|
<div id="printData">
|
|
<div class="main-title">
|
|
<div class="main-title">
|
|
@@ -65,6 +65,10 @@
|
|
<div class="value">{{ detailData.refBuyUnitName }}</div>
|
|
<div class="value">{{ detailData.refBuyUnitName }}</div>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="8" class="item">
|
|
<el-col :span="8" class="item">
|
|
|
|
+ <div class="label">购买单位</div>
|
|
|
|
+ <div class="value">{{ detailData.refBuyUnitName }}</div>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8" class="item">
|
|
<div class="label">区域</div>
|
|
<div class="label">区域</div>
|
|
<div class="value">{{ detailData.refRegionWork }}</div>
|
|
<div class="value">{{ detailData.refRegionWork }}</div>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -110,6 +114,14 @@
|
|
<div class="label">业务员</div>
|
|
<div class="label">业务员</div>
|
|
<div class="value">{{ detailData.serviceName }}</div>
|
|
<div class="value">{{ detailData.serviceName }}</div>
|
|
</el-col>
|
|
</el-col>
|
|
|
|
+ <el-col :span="8" class="item">
|
|
|
|
+ <div class="label">登录有效期</div>
|
|
|
|
+ <div class="value">{{ detailData.refBillsExpireDate }}</div>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="8" class="item">
|
|
|
|
+ <div class="label">项目编号</div>
|
|
|
|
+ <div class="value">{{ detailData.refProjectNo }}</div>
|
|
|
|
+ </el-col>
|
|
<!-- <el-col :span="24" class="item">
|
|
<!-- <el-col :span="24" class="item">
|
|
<div class="label">格力回复</div>
|
|
<div class="label">格力回复</div>
|
|
<div class="value">{{detailData.note1}}</div>
|
|
<div class="value">{{detailData.note1}}</div>
|
|
@@ -123,14 +135,26 @@
|
|
<div class="value">{{ detailData.refProjectType }}</div>
|
|
<div class="value">{{ detailData.refProjectType }}</div>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="item">
|
|
<el-col :span="24" class="item">
|
|
|
|
+ <div class="label">工程机转零售批复意见</div>
|
|
|
|
+ <div class="value">{{ detailData.refToRetailIdea }}</div>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="24" class="item">
|
|
|
|
+ <div class="label">合同变更批复意见</div>
|
|
|
|
+ <div class="value">{{ detailData.refContractIdea }}</div>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="24" class="item">
|
|
|
|
+ <div class="label">资料延期批复意见</div>
|
|
|
|
+ <div class="value">{{ detailData.refDataDelayIdea }}</div>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="24" class="item">
|
|
<div class="label">其他附件审批意见</div>
|
|
<div class="label">其他附件审批意见</div>
|
|
<div class="value">{{ detailData.refOtherAnnexIdea }}</div>
|
|
<div class="value">{{ detailData.refOtherAnnexIdea }}</div>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="24" class="item" v-if="!isDealer">
|
|
|
|
|
|
+ <el-col v-if="!isDealer" :span="24" class="item">
|
|
<div class="label">格力内部备注</div>
|
|
<div class="label">格力内部备注</div>
|
|
<div class="value">
|
|
<div class="value">
|
|
- <el-input v-model="detailData.geLiInerNote" placeholder="请输入格力内部备注"></el-input>
|
|
|
|
- <el-divider direction="vertical"></el-divider>
|
|
|
|
|
|
+ <el-input v-model="detailData.geLiInerNote" placeholder="请输入格力内部备注" />
|
|
|
|
+ <el-divider direction="vertical" />
|
|
<el-button type="text" @click="saveRemark">保存备注</el-button>
|
|
<el-button type="text" @click="saveRemark">保存备注</el-button>
|
|
</div>
|
|
</div>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -174,7 +198,7 @@
|
|
<div class="label">审批说明</div>
|
|
<div class="label">审批说明</div>
|
|
<div class="value">{{ detailData.examineNote }}</div>
|
|
<div class="value">{{ detailData.examineNote }}</div>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="24" class="item" v-if="!isDealer">
|
|
|
|
|
|
+ <el-col v-if="!isDealer" :span="24" class="item">
|
|
<div class="label">引用记录</div>
|
|
<div class="label">引用记录</div>
|
|
<div class="value">
|
|
<div class="value">
|
|
{{ detailData.items[0] && detailData.items[0].useRefCount }}
|
|
{{ detailData.items[0] && detailData.items[0].useRefCount }}
|
|
@@ -199,42 +223,24 @@
|
|
show-summary
|
|
show-summary
|
|
:summary-method="$getSummaries"
|
|
:summary-method="$getSummaries"
|
|
>
|
|
>
|
|
- <el-table-column align="center" label="序号" type="index" width="50"></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="left"
|
|
|
|
- label="销售类型"
|
|
|
|
- prop="saleTypeName"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" label="序号" type="index" width="50" />
|
|
|
|
+ <el-table-column align="left" label="销售类型" prop="saleTypeName" min-width="100" show-overflow-tooltip />
|
|
<el-table-column
|
|
<el-table-column
|
|
align="left"
|
|
align="left"
|
|
label="物料编码"
|
|
label="物料编码"
|
|
prop="materialNumber"
|
|
prop="materialNumber"
|
|
min-width="120"
|
|
min-width="120"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- ></el-table-column>
|
|
|
|
|
|
+ />
|
|
<el-table-column
|
|
<el-table-column
|
|
align="left"
|
|
align="left"
|
|
label="产品编码"
|
|
label="产品编码"
|
|
prop="materialOldNumber"
|
|
prop="materialOldNumber"
|
|
min-width="120"
|
|
min-width="120"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="left"
|
|
|
|
- label="产品名称"
|
|
|
|
- prop="materialName"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="left"
|
|
|
|
- label="规格型号"
|
|
|
|
- prop="specification"
|
|
|
|
- min-width="350"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ />
|
|
|
|
+ <el-table-column align="left" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="left" label="规格型号" prop="specification" min-width="350" show-overflow-tooltip />
|
|
<el-table-column
|
|
<el-table-column
|
|
align="left"
|
|
align="left"
|
|
label="实装规格型号"
|
|
label="实装规格型号"
|
|
@@ -248,13 +254,7 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- align="right"
|
|
|
|
- label="数量"
|
|
|
|
- prop="qty"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="right" label="数量" prop="qty" min-width="100" show-overflow-tooltip />
|
|
<el-table-column align="right" label="单价" prop="price" min-width="100" show-overflow-tooltip>
|
|
<el-table-column align="right" label="单价" prop="price" min-width="100" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
{{ scope.row.price | numToFixed }}
|
|
{{ scope.row.price | numToFixed }}
|
|
@@ -266,20 +266,14 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column
|
|
|
|
- align="right"
|
|
|
|
- label="工程登录数量"
|
|
|
|
- prop="enginNum"
|
|
|
|
- min-width="120"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="right" label="工程登录数量" prop="enginNum" min-width="120" show-overflow-tooltip />
|
|
<el-table-column
|
|
<el-table-column
|
|
align="left"
|
|
align="left"
|
|
label="现金钱包"
|
|
label="现金钱包"
|
|
prop="customerWalletName"
|
|
prop="customerWalletName"
|
|
min-width="100"
|
|
min-width="100"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- ></el-table-column>
|
|
|
|
|
|
+ />
|
|
|
|
|
|
<el-table-column
|
|
<el-table-column
|
|
align="right"
|
|
align="right"
|
|
@@ -287,7 +281,7 @@
|
|
prop="customerWalletName2"
|
|
prop="customerWalletName2"
|
|
min-width="100"
|
|
min-width="100"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- ></el-table-column>
|
|
|
|
|
|
+ />
|
|
<el-table-column
|
|
<el-table-column
|
|
align="right"
|
|
align="right"
|
|
label="实付返利金额"
|
|
label="实付返利金额"
|
|
@@ -310,6 +304,15 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
+ align="right"
|
|
|
|
+ label="退订数量"
|
|
|
|
+ prop="tdQty"
|
|
|
|
+ min-width="100"
|
|
|
|
+ show-overflow-tooltip
|
|
|
|
+ />
|
|
|
|
+ <el-table-column align="right" label="销售数量" prop="salesQty" min-width="100" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="right" label="销售金额" prop="salesAmount" min-width="100" show-overflow-tooltip />
|
|
|
|
+ <el-table-column
|
|
align="left"
|
|
align="left"
|
|
label="是否直调"
|
|
label="是否直调"
|
|
prop="isDirectTransfer"
|
|
prop="isDirectTransfer"
|
|
@@ -326,23 +329,11 @@
|
|
prop="directTransferQty"
|
|
prop="directTransferQty"
|
|
min-width="100"
|
|
min-width="100"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="right"
|
|
|
|
- label="已发货数量"
|
|
|
|
- prop="hasSendQty"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ />
|
|
|
|
+ <el-table-column align="right" label="已发货数量" prop="hasSendQty" min-width="100" show-overflow-tooltip />
|
|
|
|
|
|
<!-- <el-table-column align="right" label="原订单数量" prop="oldQty" min-width="100" show-overflow-tooltip></el-table-column> -->
|
|
<!-- <el-table-column align="right" label="原订单数量" prop="oldQty" min-width="100" show-overflow-tooltip></el-table-column> -->
|
|
- <el-table-column
|
|
|
|
- align="left"
|
|
|
|
- label="备注"
|
|
|
|
- prop="remark"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="left" label="备注" prop="remark" min-width="160" show-overflow-tooltip />
|
|
<el-table-column
|
|
<el-table-column
|
|
align="left"
|
|
align="left"
|
|
label="实装物料编号"
|
|
label="实装物料编号"
|
|
@@ -369,23 +360,11 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- align="left"
|
|
|
|
- label="税率"
|
|
|
|
- prop="tax"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="left"
|
|
|
|
- label="单位"
|
|
|
|
- prop="unit"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="left" label="税率" prop="tax" min-width="100" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="left" label="单位" prop="unit" min-width="100" show-overflow-tooltip />
|
|
</el-table>
|
|
</el-table>
|
|
</div>
|
|
</div>
|
|
- <div class="table" style="margin-top: 20px" v-if="detailData.examineStatus == 'OK'">
|
|
|
|
|
|
+ <div v-if="detailData.examineStatus == 'OK'" class="table" style="margin-top: 20px">
|
|
<el-table
|
|
<el-table
|
|
:data="detailData.refundNoteList"
|
|
:data="detailData.refundNoteList"
|
|
element-loading-text="Loading"
|
|
element-loading-text="Loading"
|
|
@@ -397,10 +376,10 @@
|
|
show-summary
|
|
show-summary
|
|
:summary-method="$getSummaries"
|
|
:summary-method="$getSummaries"
|
|
>
|
|
>
|
|
- <el-table-column align="center" label="序号" type="index" width="50"></el-table-column>
|
|
|
|
- <el-table-column align="left" label="创建人" prop="createBy" show-overflow-tooltip></el-table-column>
|
|
|
|
- <el-table-column align="left" label="创建时间" prop="createTime" show-overflow-tooltip></el-table-column>
|
|
|
|
- <el-table-column align="left" label="退订说明" prop="refundNote" show-overflow-tooltip></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" label="序号" type="index" width="50" />
|
|
|
|
+ <el-table-column align="left" label="创建人" prop="createBy" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="left" label="创建时间" prop="createTime" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="left" label="退订说明" prop="refundNote" show-overflow-tooltip />
|
|
</el-table>
|
|
</el-table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -409,22 +388,23 @@
|
|
<div class="footer">
|
|
<div class="footer">
|
|
<el-button type="success" @click="toCheckOrder">联查单据</el-button>
|
|
<el-button type="success" @click="toCheckOrder">联查单据</el-button>
|
|
<el-button
|
|
<el-button
|
|
|
|
+ v-if="!isDealer && (detailData.examineStatus === 'SAVE' || detailData.examineStatus === 'WAIT')"
|
|
type="danger"
|
|
type="danger"
|
|
@click="closeData"
|
|
@click="closeData"
|
|
- v-if="!isDealer && (detailData.examineStatus === 'SAVE' || detailData.examineStatus === 'WAIT')"
|
|
|
|
- >关闭订单</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ >关闭订单</el-button>
|
|
<!-- <el-button type="primary" @click="openDirectDialog" v-if="!isDealer">提前开票</el-button> -->
|
|
<!-- <el-button type="primary" @click="openDirectDialog" v-if="!isDealer">提前开票</el-button> -->
|
|
- <el-button type="primary" @click="overData" :disabled="detailData.directTransferStatus" v-if="!isDealer"
|
|
|
|
- >直调完结</el-button
|
|
|
|
- >
|
|
|
|
<el-button
|
|
<el-button
|
|
|
|
+ v-if="!isDealer"
|
|
type="primary"
|
|
type="primary"
|
|
- @click="openDeliverDialog"
|
|
|
|
:disabled="detailData.directTransferStatus"
|
|
:disabled="detailData.directTransferStatus"
|
|
|
|
+ @click="overData"
|
|
|
|
+ >直调完结</el-button>
|
|
|
|
+ <el-button
|
|
v-if="!isDealer"
|
|
v-if="!isDealer"
|
|
- >直调发货</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ type="primary"
|
|
|
|
+ :disabled="detailData.directTransferStatus"
|
|
|
|
+ @click="openDeliverDialog"
|
|
|
|
+ >直调发货</el-button>
|
|
<el-button @click="goBack">返回列表</el-button>
|
|
<el-button @click="goBack">返回列表</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -455,13 +435,13 @@
|
|
<el-col :xs="8" :sm="8" :lg="8">
|
|
<el-col :xs="8" :sm="8" :lg="8">
|
|
<el-form-item label="选择仓位" prop="position">
|
|
<el-form-item label="选择仓位" prop="position">
|
|
<el-select v-model="deliverForm.position" placeholder="请选择仓位" style="width: 100%" filterable>
|
|
<el-select v-model="deliverForm.position" placeholder="请选择仓位" style="width: 100%" filterable>
|
|
- <el-option v-for="item in positionList" :key="item.id" :label="item.name" :value="item.id"></el-option>
|
|
|
|
|
|
+ <el-option v-for="item in positionList" :key="item.id" :label="item.name" :value="item.id" />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="8" :sm="8" :lg="8">
|
|
<el-col :xs="8" :sm="8" :lg="8">
|
|
<el-form-item label="发货申请备注" prop="remark">
|
|
<el-form-item label="发货申请备注" prop="remark">
|
|
- <el-input v-model="deliverForm.remark" placeholder="请输入发货申请备注" clearable></el-input>
|
|
|
|
|
|
+ <el-input v-model="deliverForm.remark" placeholder="请输入发货申请备注" clearable />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -477,56 +457,20 @@
|
|
stripe
|
|
stripe
|
|
max-height="400"
|
|
max-height="400"
|
|
>
|
|
>
|
|
- <el-table-column align="center" label="序号" type="index" width="50"></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="销售类型"
|
|
|
|
- prop="saleTypeName"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" label="序号" type="index" width="50" />
|
|
|
|
+ <el-table-column align="center" label="销售类型" prop="saleTypeName" min-width="100" show-overflow-tooltip />
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
label="物料编码"
|
|
label="物料编码"
|
|
prop="materialNumber"
|
|
prop="materialNumber"
|
|
min-width="160"
|
|
min-width="160"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="产品名称"
|
|
|
|
- prop="materialName"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="规格型号"
|
|
|
|
- prop="specification"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="单位"
|
|
|
|
- prop="unit"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="right"
|
|
|
|
- label="订单数量"
|
|
|
|
- prop="qty"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="right"
|
|
|
|
- label="发货数量"
|
|
|
|
- prop="hasSendQty"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ />
|
|
|
|
+ <el-table-column align="center" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="center" label="规格型号" prop="specification" min-width="160" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="center" label="单位" prop="unit" min-width="100" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="right" label="订单数量" prop="qty" min-width="100" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="right" label="发货数量" prop="hasSendQty" min-width="100" show-overflow-tooltip />
|
|
<el-table-column
|
|
<el-table-column
|
|
align="right"
|
|
align="right"
|
|
label="直调数量"
|
|
label="直调数量"
|
|
@@ -541,42 +485,24 @@
|
|
size="small"
|
|
size="small"
|
|
type="number"
|
|
type="number"
|
|
@mousewheel.native.prevent
|
|
@mousewheel.native.prevent
|
|
- ></el-input>
|
|
|
|
|
|
+ />
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- align="right"
|
|
|
|
- label="单价"
|
|
|
|
- prop="price"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="right"
|
|
|
|
- label="金额"
|
|
|
|
- prop="totalAmount"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="right" label="单价" prop="price" min-width="100" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="right" label="金额" prop="totalAmount" min-width="100" show-overflow-tooltip />
|
|
<el-table-column
|
|
<el-table-column
|
|
align="right"
|
|
align="right"
|
|
label="实际返利金额"
|
|
label="实际返利金额"
|
|
prop="payRebateAmount"
|
|
prop="payRebateAmount"
|
|
min-width="110"
|
|
min-width="110"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="备注"
|
|
|
|
- prop="remark"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ />
|
|
|
|
+ <el-table-column align="center" label="备注" prop="remark" min-width="160" show-overflow-tooltip />
|
|
</el-table>
|
|
</el-table>
|
|
</div>
|
|
</div>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button @click="closeDeliverDialog">取 消</el-button>
|
|
<el-button @click="closeDeliverDialog">取 消</el-button>
|
|
- <el-button type="primary" @click="submitDeliverForm" :loading="formLoading">确 定</el-button>
|
|
|
|
|
|
+ <el-button type="primary" :loading="formLoading" @click="submitDeliverForm">确 定</el-button>
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
@@ -599,12 +525,7 @@
|
|
filterable
|
|
filterable
|
|
@change="changeWarehouse1"
|
|
@change="changeWarehouse1"
|
|
>
|
|
>
|
|
- <el-option
|
|
|
|
- v-for="item in warehouseList1"
|
|
|
|
- :key="item.id"
|
|
|
|
- :label="item.name"
|
|
|
|
- :value="item.id"
|
|
|
|
- ></el-option>
|
|
|
|
|
|
+ <el-option v-for="item in warehouseList1" :key="item.id" :label="item.name" :value="item.id" />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -617,7 +538,7 @@
|
|
filterable
|
|
filterable
|
|
@change="changePosition1"
|
|
@change="changePosition1"
|
|
>
|
|
>
|
|
- <el-option v-for="item in positionList1" :key="item.id" :label="item.name" :value="item.id"></el-option>
|
|
|
|
|
|
+ <el-option v-for="item in positionList1" :key="item.id" :label="item.name" :value="item.id" />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -630,12 +551,7 @@
|
|
filterable
|
|
filterable
|
|
@change="changeWarehouse2"
|
|
@change="changeWarehouse2"
|
|
>
|
|
>
|
|
- <el-option
|
|
|
|
- v-for="item in warehouseList2"
|
|
|
|
- :key="item.id"
|
|
|
|
- :label="item.name"
|
|
|
|
- :value="item.id"
|
|
|
|
- ></el-option>
|
|
|
|
|
|
+ <el-option v-for="item in warehouseList2" :key="item.id" :label="item.name" :value="item.id" />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -648,7 +564,7 @@
|
|
filterable
|
|
filterable
|
|
@change="changePosition2"
|
|
@change="changePosition2"
|
|
>
|
|
>
|
|
- <el-option v-for="item in positionList2" :key="item.id" :label="item.name" :value="item.id"></el-option>
|
|
|
|
|
|
+ <el-option v-for="item in positionList2" :key="item.id" :label="item.name" :value="item.id" />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -665,120 +581,48 @@
|
|
stripe
|
|
stripe
|
|
max-height="400"
|
|
max-height="400"
|
|
>
|
|
>
|
|
- <el-table-column align="center" label="序号" type="index" width="50"></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="销售类型"
|
|
|
|
- prop="saleTypeName"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" label="序号" type="index" width="50" />
|
|
|
|
+ <el-table-column align="center" label="销售类型" prop="saleTypeName" min-width="100" show-overflow-tooltip />
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
label="物料代码"
|
|
label="物料代码"
|
|
prop="materialNumber"
|
|
prop="materialNumber"
|
|
min-width="160"
|
|
min-width="160"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- ></el-table-column>
|
|
|
|
|
|
+ />
|
|
<el-table-column
|
|
<el-table-column
|
|
align="center"
|
|
align="center"
|
|
label="产品编码"
|
|
label="产品编码"
|
|
prop="materialOldNumber"
|
|
prop="materialOldNumber"
|
|
min-width="160"
|
|
min-width="160"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="产品名称"
|
|
|
|
- prop="materialName"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="规格型号"
|
|
|
|
- prop="specification"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="单位"
|
|
|
|
- prop="unit"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="数量"
|
|
|
|
- prop="qty"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="调出仓库"
|
|
|
|
- prop="warehouse1"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="调出仓位"
|
|
|
|
- prop="position1"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="调入仓库"
|
|
|
|
- prop="warehouse2"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="调入仓位"
|
|
|
|
- prop="position2"
|
|
|
|
- min-width="100"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="调出库存状态"
|
|
|
|
- prop="status1"
|
|
|
|
- min-width="110"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="调入库存状态"
|
|
|
|
- prop="status2"
|
|
|
|
- min-width="110"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ />
|
|
|
|
+ <el-table-column align="center" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="center" label="规格型号" prop="specification" min-width="160" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="center" label="单位" prop="unit" min-width="100" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="center" label="数量" prop="qty" min-width="100" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="center" label="调出仓库" prop="warehouse1" min-width="100" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="center" label="调出仓位" prop="position1" min-width="100" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="center" label="调入仓库" prop="warehouse2" min-width="100" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="center" label="调入仓位" prop="position2" min-width="100" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="center" label="调出库存状态" prop="status1" min-width="110" show-overflow-tooltip />
|
|
|
|
+ <el-table-column align="center" label="调入库存状态" prop="status2" min-width="110" show-overflow-tooltip />
|
|
<el-table-column align="center" label="调出货主" min-width="100" show-overflow-tooltip>
|
|
<el-table-column align="center" label="调出货主" min-width="100" show-overflow-tooltip>
|
|
<template slot-scope="">弘格</template>
|
|
<template slot-scope="">弘格</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="center" label="调入货主" min-width="100" show-overflow-tooltip>
|
|
<el-table-column align="center" label="调入货主" min-width="100" show-overflow-tooltip>
|
|
<template slot-="scope">弘格</template>
|
|
<template slot-="scope">弘格</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column
|
|
|
|
- align="center"
|
|
|
|
- label="备注"
|
|
|
|
- prop="remark"
|
|
|
|
- min-width="160"
|
|
|
|
- show-overflow-tooltip
|
|
|
|
- ></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" label="备注" prop="remark" min-width="160" show-overflow-tooltip />
|
|
</el-table>
|
|
</el-table>
|
|
</div>
|
|
</div>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button @click="closeDirectDialog">取 消</el-button>
|
|
<el-button @click="closeDirectDialog">取 消</el-button>
|
|
- <el-button type="primary" @click="submitDirectForm" :loading="formLoading">确 定</el-button>
|
|
|
|
|
|
+ <el-button type="primary" :loading="formLoading" @click="submitDirectForm">确 定</el-button>
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
- <CheckOrder :checkOrderId="checkOrderId" v-if="isShowCheckOrder" @backDetail="backDetail" />
|
|
|
|
|
|
+ <CheckOrder v-if="isShowCheckOrder" :check-order-id="checkOrderId" @backDetail="backDetail" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -801,7 +645,6 @@ export default {
|
|
components: {
|
|
components: {
|
|
CheckOrder
|
|
CheckOrder
|
|
},
|
|
},
|
|
- props: ['listItem'],
|
|
|
|
filters: {
|
|
filters: {
|
|
statusFilter(val) {
|
|
statusFilter(val) {
|
|
const statusList = [
|
|
const statusList = [
|
|
@@ -811,10 +654,11 @@ export default {
|
|
// { label: '审核驳回', value: 'FAIL' },,
|
|
// { label: '审核驳回', value: 'FAIL' },,
|
|
{ label: '已关闭', value: 'CLOSE' }
|
|
{ label: '已关闭', value: 'CLOSE' }
|
|
]
|
|
]
|
|
- let obj = statusList.find(o => o.value == val)
|
|
|
|
|
|
+ const obj = statusList.find(o => o.value == val)
|
|
return obj ? obj.label : ''
|
|
return obj ? obj.label : ''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ props: ['listItem'],
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
detailData: {},
|
|
detailData: {},
|
|
@@ -957,7 +801,7 @@ export default {
|
|
// 更改仓库
|
|
// 更改仓库
|
|
changeWarehouse() {
|
|
changeWarehouse() {
|
|
this.deliverForm.position = ''
|
|
this.deliverForm.position = ''
|
|
- let obj = this.warehouseList.find(o => o.id == this.deliverForm.warehouse)
|
|
|
|
|
|
+ const obj = this.warehouseList.find(o => o.id == this.deliverForm.warehouse)
|
|
this.positionList = obj.kingDeeStocks
|
|
this.positionList = obj.kingDeeStocks
|
|
},
|
|
},
|
|
|
|
|
|
@@ -992,7 +836,7 @@ export default {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- let params = {
|
|
|
|
|
|
+ const params = {
|
|
enginOrderId: this.detailData.enginOrderId,
|
|
enginOrderId: this.detailData.enginOrderId,
|
|
enginOrderType: 'HOME', // TRADE=商用 HOME=家用
|
|
enginOrderType: 'HOME', // TRADE=商用 HOME=家用
|
|
deliverDate: '',
|
|
deliverDate: '',
|
|
@@ -1018,7 +862,7 @@ export default {
|
|
// 更改调出仓库
|
|
// 更改调出仓库
|
|
changeWarehouse1() {
|
|
changeWarehouse1() {
|
|
this.directForm.position1 = ''
|
|
this.directForm.position1 = ''
|
|
- let obj = this.warehouseList1.find(o => o.id == this.directForm.warehouse1)
|
|
|
|
|
|
+ const obj = this.warehouseList1.find(o => o.id == this.directForm.warehouse1)
|
|
this.positionList1 = obj.kingDeeStocks
|
|
this.positionList1 = obj.kingDeeStocks
|
|
this.directGoodsList.forEach(item => {
|
|
this.directGoodsList.forEach(item => {
|
|
item.warehouse1 = obj.name
|
|
item.warehouse1 = obj.name
|
|
@@ -1028,7 +872,7 @@ export default {
|
|
// 更改调入仓库
|
|
// 更改调入仓库
|
|
changeWarehouse2() {
|
|
changeWarehouse2() {
|
|
this.directForm.position2 = ''
|
|
this.directForm.position2 = ''
|
|
- let obj = this.warehouseList2.find(o => o.id == this.directForm.warehouse2)
|
|
|
|
|
|
+ const obj = this.warehouseList2.find(o => o.id == this.directForm.warehouse2)
|
|
this.positionList2 = obj.kingDeeStocks
|
|
this.positionList2 = obj.kingDeeStocks
|
|
this.directGoodsList.forEach(item => {
|
|
this.directGoodsList.forEach(item => {
|
|
item.warehouse2 = obj.name
|
|
item.warehouse2 = obj.name
|
|
@@ -1037,7 +881,7 @@ export default {
|
|
|
|
|
|
// 更改调出仓位
|
|
// 更改调出仓位
|
|
changePosition1() {
|
|
changePosition1() {
|
|
- let obj = this.positionList1.find(o => o.id == this.directForm.position1)
|
|
|
|
|
|
+ const obj = this.positionList1.find(o => o.id == this.directForm.position1)
|
|
this.directGoodsList.forEach(item => {
|
|
this.directGoodsList.forEach(item => {
|
|
item.position1 = obj.name
|
|
item.position1 = obj.name
|
|
item.status1 = obj.defStockStatusName
|
|
item.status1 = obj.defStockStatusName
|
|
@@ -1046,7 +890,7 @@ export default {
|
|
|
|
|
|
// 更改调入仓位
|
|
// 更改调入仓位
|
|
changePosition2() {
|
|
changePosition2() {
|
|
- let obj = this.positionList2.find(o => o.id == this.directForm.position2)
|
|
|
|
|
|
+ const obj = this.positionList2.find(o => o.id == this.directForm.position2)
|
|
this.directGoodsList.forEach(item => {
|
|
this.directGoodsList.forEach(item => {
|
|
item.position2 = obj.name
|
|
item.position2 = obj.name
|
|
item.status2 = obj.defStockStatusName
|
|
item.status2 = obj.defStockStatusName
|
|
@@ -1069,11 +913,11 @@ export default {
|
|
submitDirectForm() {
|
|
submitDirectForm() {
|
|
this.$refs.directForm.validate(valid => {
|
|
this.$refs.directForm.validate(valid => {
|
|
if (valid) {
|
|
if (valid) {
|
|
- let warehouseItem1 = this.warehouseList1.find(o => o.id == this.directForm.warehouse1)
|
|
|
|
- let positionItem1 = this.positionList1.find(o => o.id == this.directForm.position1)
|
|
|
|
- let warehouseItem2 = this.warehouseList2.find(o => o.id == this.directForm.warehouse2)
|
|
|
|
- let positionItem2 = this.positionList2.find(o => o.id == this.directForm.position2)
|
|
|
|
- let params = {
|
|
|
|
|
|
+ const warehouseItem1 = this.warehouseList1.find(o => o.id == this.directForm.warehouse1)
|
|
|
|
+ const positionItem1 = this.positionList1.find(o => o.id == this.directForm.position1)
|
|
|
|
+ const warehouseItem2 = this.warehouseList2.find(o => o.id == this.directForm.warehouse2)
|
|
|
|
+ const positionItem2 = this.positionList2.find(o => o.id == this.directForm.position2)
|
|
|
|
+ const params = {
|
|
orderNo: this.detailData.enginOrderId,
|
|
orderNo: this.detailData.enginOrderId,
|
|
orderType: 'HOME', // TRADE=商用 HOME=家用 RETAIL=零售单 RETAIL_POLICY 销售政策单
|
|
orderType: 'HOME', // TRADE=商用 HOME=家用 RETAIL=零售单 RETAIL_POLICY 销售政策单
|
|
correspondId: this.directForm.warehouse1,
|
|
correspondId: this.directForm.warehouse1,
|