|
|
@ -8,7 +8,8 @@ |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" @click="importDetail">导入厂家返件明细</el-button> |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" @click="saveOrUpdate">保存</el-button> |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" @click="submit">提交</el-button> |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" @click="downLoadDetail">下载待出库旧件明细</el-button> |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" v-show="formobj.sid!=''" |
|
|
|
@click="downLoadDetail">下载待出库旧件明细</el-button> |
|
|
|
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button> |
|
|
|
</div> |
|
|
|
<!-- end 添加修改按钮 --> |
|
|
@ -59,14 +60,14 @@ |
|
|
|
</el-col> |
|
|
|
|
|
|
|
</el-row> --> |
|
|
|
|
|
|
|
<el-row> |
|
|
|
|
|
|
|
<el-col :span="24"> |
|
|
|
<div class="span-sty">备注</div> |
|
|
|
<el-form-item> |
|
|
|
<el-input v-model="formobj.remarks" placeholder="" class="addinputw addinputInfo" type="textarea" |
|
|
|
:rows="4" clearable /> |
|
|
|
|
|
|
|
<div class="span-sty"><span class="must">*</span> 附件</div> |
|
|
|
<el-form-item prop="imgList"> |
|
|
|
<upload-img ref="uploadImg" class="addinputw" v-model="imgList" :limit="50" bucket="map" |
|
|
|
:upload-data="{ type: '0001' }" @change="backData" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
|
|
|
@ -75,14 +76,16 @@ |
|
|
|
<el-row> |
|
|
|
|
|
|
|
<el-col :span="24"> |
|
|
|
<div class="span-sty"><span class="must">*</span> 附件</div> |
|
|
|
<el-form-item prop="imgList"> |
|
|
|
<upload-img ref="uploadImg" class="addinputw" v-model="imgList" :limit="50" bucket="map" |
|
|
|
:upload-data="{ type: '0001' }" @change="backData" /> |
|
|
|
<div class="span-sty">备注</div> |
|
|
|
<el-form-item> |
|
|
|
<el-input v-model="formobj.remarks" placeholder="" class="addinputw addinputInfo" type="textarea" |
|
|
|
:rows="4" clearable /> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
<div class="title titleOne"> |
|
|
|
<div>返厂旧件列表</div> |
|
|
|
<el-button type="primary" size="mini" @click="seleGoods3()">添加</el-button> |
|
|
@ -202,7 +205,7 @@ |
|
|
|
<div class="tit" /> |
|
|
|
<!-- 翻页 --> |
|
|
|
<pagination v-show="dataList.length > 0" :total="queryParams.total" :page.sync="queryParams.current" |
|
|
|
:limit.sync="queryParams.size" class="pagination" @pagination="importDetail" /> |
|
|
|
:limit.sync="queryParams.size" class="pagination" @pagination="seleGoods" /> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
@ -241,7 +244,7 @@ |
|
|
|
<div class="tit" /> |
|
|
|
<!-- 翻页 --> |
|
|
|
<pagination v-show="dataList.length > 0" :total="queryParams.total" :page.sync="queryParams.current" |
|
|
|
:limit.sync="queryParams.size" class="pagination" @pagination="importDetail" /> |
|
|
|
:limit.sync="queryParams.size" class="pagination" @pagination="seleGoods3" /> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
@ -566,17 +569,13 @@ |
|
|
|
}, |
|
|
|
seleGoods(row) { |
|
|
|
this.itemInfo = row |
|
|
|
this.queryParams = { |
|
|
|
current: 1, |
|
|
|
size: 10, |
|
|
|
total: 0, |
|
|
|
params: { |
|
|
|
"vinNo": row.vinNo, |
|
|
|
"goodsSkuCode": row.goodsSkuCode, |
|
|
|
"sourceBillNo": row.sourceBillNo, |
|
|
|
"orgPath": window.sessionStorage.getItem('defaultOrgPath'), |
|
|
|
} |
|
|
|
this.queryParams.params = { |
|
|
|
"vinNo": row.vinNo, |
|
|
|
"goodsSkuCode": row.goodsSkuCode, |
|
|
|
"sourceBillNo": row.sourceBillNo, |
|
|
|
"orgPath": window.sessionStorage.getItem('defaultOrgPath'), |
|
|
|
} |
|
|
|
|
|
|
|
req.getGoodsListPage(this.queryParams).then(resp => { |
|
|
|
if (resp.success) { |
|
|
|
const data = resp.data |
|
|
@ -630,17 +629,12 @@ |
|
|
|
handleClose2() { |
|
|
|
this.dialogVisible2 = false |
|
|
|
}, |
|
|
|
seleGoods3(row) { |
|
|
|
this.queryParams = { |
|
|
|
current: 1, |
|
|
|
size: 10, |
|
|
|
total: 0, |
|
|
|
params: { |
|
|
|
"vinNo": '', |
|
|
|
"goodsSkuCode": '', |
|
|
|
"sourceBillNo": '', |
|
|
|
"orgPath": window.sessionStorage.getItem('defaultOrgPath'), |
|
|
|
} |
|
|
|
seleGoods3() { |
|
|
|
this.queryParams.params = { |
|
|
|
"vinNo": '', |
|
|
|
"goodsSkuCode": '', |
|
|
|
"sourceBillNo": '', |
|
|
|
"orgPath": window.sessionStorage.getItem('defaultOrgPath'), |
|
|
|
} |
|
|
|
req.getGoodsListPage(this.queryParams).then(resp => { |
|
|
|
if (resp.success) { |
|
|
|