|
|
@ -253,6 +253,11 @@
|
|
|
|
prop="count"
|
|
|
|
prop="count"
|
|
|
|
width="100"
|
|
|
|
width="100"
|
|
|
|
></el-table-column>
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
label="扫码数量"
|
|
|
|
|
|
|
|
prop="reCount"
|
|
|
|
|
|
|
|
width="100"
|
|
|
|
|
|
|
|
></el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
label="价格"
|
|
|
|
label="价格"
|
|
|
|
prop="price"
|
|
|
|
prop="price"
|
|
|
@ -283,11 +288,7 @@
|
|
|
|
prop="certCode"
|
|
|
|
prop="certCode"
|
|
|
|
show-overflow-tooltip
|
|
|
|
show-overflow-tooltip
|
|
|
|
></el-table-column>
|
|
|
|
></el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
label="扫码数量"
|
|
|
|
|
|
|
|
prop="reCount"
|
|
|
|
|
|
|
|
width="100"
|
|
|
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
<pagination
|
|
|
|
<pagination
|
|
|
|
v-show="productTotal>0"
|
|
|
|
v-show="productTotal>0"
|
|
|
@ -311,6 +312,7 @@
|
|
|
|
<el-table-column label="规格型号" width="150" prop="spec"></el-table-column>
|
|
|
|
<el-table-column label="规格型号" width="150" prop="spec"></el-table-column>
|
|
|
|
<el-table-column label="批次号" width="100" prop="batchNo"></el-table-column>
|
|
|
|
<el-table-column label="批次号" width="100" prop="batchNo"></el-table-column>
|
|
|
|
<el-table-column label="数量" prop="count" width="100"></el-table-column>
|
|
|
|
<el-table-column label="数量" prop="count" width="100"></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="扫码数量" prop="reCount" width="100"></el-table-column>
|
|
|
|
<el-table-column label="价格" prop="price" width="100"></el-table-column>
|
|
|
|
<el-table-column label="价格" prop="price" width="100"></el-table-column>
|
|
|
|
<el-table-column label="金额" prop="amount" width="100"></el-table-column>
|
|
|
|
<el-table-column label="金额" prop="amount" width="100"></el-table-column>
|
|
|
|
<el-table-column label="生产日期" prop="productDate" width="100"></el-table-column>
|
|
|
|
<el-table-column label="生产日期" prop="productDate" width="100"></el-table-column>
|
|
|
@ -318,7 +320,7 @@
|
|
|
|
<el-table-column width="100" label="计量单位" prop="measname"></el-table-column>
|
|
|
|
<el-table-column width="100" label="计量单位" prop="measname"></el-table-column>
|
|
|
|
<el-table-column label="生产企业" prop="manufacturer" width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
<el-table-column label="生产企业" prop="manufacturer" width="160" show-overflow-tooltip></el-table-column>
|
|
|
|
<el-table-column label="注册/备案号" width="160" prop="certCode" show-overflow-tooltip></el-table-column>
|
|
|
|
<el-table-column label="注册/备案号" width="160" prop="certCode" show-overflow-tooltip></el-table-column>
|
|
|
|
<el-table-column label="扫码数量" prop="reCount" width="100"></el-table-column>
|
|
|
|
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
<pagination
|
|
|
|
<pagination
|
|
|
|
v-show="codeTotal>0"
|
|
|
|
v-show="codeTotal>0"
|
|
|
@ -449,7 +451,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
imgList: [],
|
|
|
|
imgList: [],
|
|
|
|
imgViewerVisible: false,
|
|
|
|
imgViewerVisible: false,
|
|
|
|
|
|
|
|
cowEn:null,
|
|
|
|
//单据相关参数
|
|
|
|
//单据相关参数
|
|
|
|
orderLoading: false,
|
|
|
|
orderLoading: false,
|
|
|
|
orderList: [],
|
|
|
|
orderList: [],
|
|
|
@ -686,6 +688,7 @@ export default {
|
|
|
|
// this.resultDetailList = [];
|
|
|
|
// this.resultDetailList = [];
|
|
|
|
},
|
|
|
|
},
|
|
|
|
handleInvoiceChange(val) {
|
|
|
|
handleInvoiceChange(val) {
|
|
|
|
|
|
|
|
this.cowEn=val;
|
|
|
|
this.getOrderList(val)
|
|
|
|
this.getOrderList(val)
|
|
|
|
this.getProductDetailList(val)
|
|
|
|
this.getProductDetailList(val)
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -694,11 +697,11 @@ export default {
|
|
|
|
getProductDetailList(row) {
|
|
|
|
getProductDetailList(row) {
|
|
|
|
this.productDetailLoading = true
|
|
|
|
this.productDetailLoading = true
|
|
|
|
this.productDetailList = []
|
|
|
|
this.productDetailList = []
|
|
|
|
if (row == null || isBlank(row.invoiceEncode)) {
|
|
|
|
if (this.cowEn == null || isBlank(this.cowEn.invoiceEncode)) {
|
|
|
|
this.$message.error('请选择对应发票!')
|
|
|
|
this.$message.error('请选择对应发票!')
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.productQuery.invoiceEncode = row.invoiceEncode
|
|
|
|
this.productQuery.invoiceEncode = this.cowEn.invoiceEncode
|
|
|
|
productDetail(this.productQuery).then((res) => {
|
|
|
|
productDetail(this.productQuery).then((res) => {
|
|
|
|
this.productDetailLoading = false
|
|
|
|
this.productDetailLoading = false
|
|
|
|
if (res.code === 20000) {
|
|
|
|
if (res.code === 20000) {
|
|
|
|