|
|
@ -121,6 +121,7 @@ |
|
|
|
<div class="plck"> |
|
|
|
<div class="plck"> |
|
|
|
<h3>包件信息</h3> |
|
|
|
<h3>包件信息</h3> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
|
|
|
|
<el-button icon="el-icon-refresh" @click="packsearchChange" circle></el-button> |
|
|
|
<el-button type="primary" @click="allhandleQRCode">批量查看二维码</el-button> |
|
|
|
<el-button type="primary" @click="allhandleQRCode">批量查看二维码</el-button> |
|
|
|
<el-button type="primary" @click="handleMaterialList()">补充物料信息</el-button> |
|
|
|
<el-button type="primary" @click="handleMaterialList()">补充物料信息</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -275,7 +276,7 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="物料单位" prop="orderCode"> |
|
|
|
<el-form-item label="物料单位" prop="orderCode"> |
|
|
|
<!-- <el-input v-model="formMaterial.unit" placeholder="请输入物料单位"/>--> |
|
|
|
<!-- <el-input v-model="formMaterial.unit" placeholder="请输入物料单位"/>--> |
|
|
|
<el-select v-model="formMaterial.materialUnit" clearable placeholder="请选择单位"> |
|
|
|
<el-select v-model="formMaterial.materialUnit" clearable placeholder="请选择单位" disabled> |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
|
v-for="item in logpmUnit" |
|
|
|
v-for="item in logpmUnit" |
|
|
|
:key="item.dictKey" |
|
|
|
:key="item.dictKey" |
|
|
@ -286,7 +287,7 @@ |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="SKU" prop="mallName"> |
|
|
|
<el-form-item label="SKU" prop="mallName"> |
|
|
|
<el-input v-model="formMaterial.sku" placeholder="请输入SKU" /> |
|
|
|
<el-input v-model="formMaterial.sku" placeholder="请输入SKU" disabled/> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="规格"> |
|
|
|
<el-form-item label="规格"> |
|
|
|
<el-input |
|
|
|
<el-input |
|
|
@ -636,7 +637,7 @@ export default { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.queryPage[row.prop] = index; |
|
|
|
this.queryPage[row.prop] = index; |
|
|
|
} |
|
|
|
} |
|
|
|
this.onLoadOwn(this.page); |
|
|
|
this.package() |
|
|
|
}, |
|
|
|
}, |
|
|
|
timesc(index, row) { |
|
|
|
timesc(index, row) { |
|
|
|
console.log(index, row); |
|
|
|
console.log(index, row); |
|
|
@ -647,12 +648,12 @@ export default { |
|
|
|
if (!index) { |
|
|
|
if (!index) { |
|
|
|
delete this.queryPage[row.prop]; |
|
|
|
delete this.queryPage[row.prop]; |
|
|
|
} |
|
|
|
} |
|
|
|
this.onLoadOwn(this.page); |
|
|
|
this.package() |
|
|
|
}, |
|
|
|
}, |
|
|
|
inputsc(index, row) { |
|
|
|
inputsc(index, row) { |
|
|
|
this.queryPage[row.prop] = index; |
|
|
|
this.queryPage[row.prop] = index; |
|
|
|
if (!index) delete this.queryPage[row.prop]; |
|
|
|
if (!index) delete this.queryPage[row.prop]; |
|
|
|
this.onLoadOwn(this.page); |
|
|
|
this.package() |
|
|
|
}, |
|
|
|
}, |
|
|
|
printTemplate() { |
|
|
|
printTemplate() { |
|
|
|
const orderNodeList = document.querySelectorAll('.print_QRCode>div>div'); |
|
|
|
const orderNodeList = document.querySelectorAll('.print_QRCode>div>div'); |
|
|
@ -691,7 +692,7 @@ export default { |
|
|
|
console.log('>>>', asm); |
|
|
|
console.log('>>>', asm); |
|
|
|
updateParcelList(asm).then(() => { |
|
|
|
updateParcelList(asm).then(() => { |
|
|
|
this.materialBox = false; |
|
|
|
this.materialBox = false; |
|
|
|
this.onLoadOwn(this.page); |
|
|
|
this.package(); |
|
|
|
this.$message({ |
|
|
|
this.$message({ |
|
|
|
type: 'success', |
|
|
|
type: 'success', |
|
|
|
message: '操作成功!', |
|
|
|
message: '操作成功!', |
|
|
@ -972,6 +973,9 @@ export default { |
|
|
|
handleClearTableQuery(zerocolumnList); |
|
|
|
handleClearTableQuery(zerocolumnList); |
|
|
|
this.onLoadOwn(); |
|
|
|
this.onLoadOwn(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
packsearchChange(){ |
|
|
|
|
|
|
|
this.package() |
|
|
|
|
|
|
|
}, |
|
|
|
searchReset() { |
|
|
|
searchReset() { |
|
|
|
this.query = {}; |
|
|
|
this.query = {}; |
|
|
|
this.page.currentPage = 1; |
|
|
|
this.page.currentPage = 1; |
|
|
@ -1232,11 +1236,11 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
currentChange(currentPage) { |
|
|
|
currentChange(currentPage) { |
|
|
|
this.page.currentPage = currentPage; |
|
|
|
this.page.currentPage = currentPage; |
|
|
|
this.onLoadOwn(this.page); |
|
|
|
this.package() |
|
|
|
}, |
|
|
|
}, |
|
|
|
sizeChange(pageSize) { |
|
|
|
sizeChange(pageSize) { |
|
|
|
this.page.pageSize = pageSize; |
|
|
|
this.page.pageSize = pageSize; |
|
|
|
this.onLoadOwn(this.page); |
|
|
|
this.package() |
|
|
|
}, |
|
|
|
}, |
|
|
|
onLoad(page, params = {}) { |
|
|
|
onLoad(page, params = {}) { |
|
|
|
try { |
|
|
|
try { |
|
|
@ -1297,6 +1301,7 @@ export default { |
|
|
|
current: this.page.currentPage, |
|
|
|
current: this.page.currentPage, |
|
|
|
size: this.page.pageSize, |
|
|
|
size: this.page.pageSize, |
|
|
|
stockArticleId: this.$route.query.id, |
|
|
|
stockArticleId: this.$route.query.id, |
|
|
|
|
|
|
|
... this.queryPage, |
|
|
|
}; |
|
|
|
}; |
|
|
|
let _res = await getPackageList(_data); |
|
|
|
let _res = await getPackageList(_data); |
|
|
|
console.log(_res, '包件信息'); |
|
|
|
console.log(_res, '包件信息'); |
|
|
|