|
|
|
@ -155,100 +155,100 @@
|
|
|
|
|
</el-card>
|
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
|
<!--<el-tabs type="border-card" style="margin: 15px">-->
|
|
|
|
|
<!-- <!–单据业务详情–>-->
|
|
|
|
|
<!-- <el-tab-pane>-->
|
|
|
|
|
<!-- <span slot="label">单据 {{ input.billNo }}-单据详情</span>-->
|
|
|
|
|
<!-- <el-table-->
|
|
|
|
|
<!-- v-loading="bizDetailLoading"-->
|
|
|
|
|
<!-- :data="codeDetailList"-->
|
|
|
|
|
<!-- style="width: 100%"-->
|
|
|
|
|
<!-- border-->
|
|
|
|
|
<!-- @current-change="BizDetailInv"-->
|
|
|
|
|
<!-- @selection-change="handleSelectionUdiChange"-->
|
|
|
|
|
<!-- row-key="id"-->
|
|
|
|
|
<!-- highlight-current-row-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- <el-table-column type="selection" width="55"></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="序号" type="index"></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- label="发票代码"-->
|
|
|
|
|
<!-- prop="invoiceCodes"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- label="物资名称"-->
|
|
|
|
|
<!-- prop="coName"-->
|
|
|
|
|
<!-- width="150"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- ></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="数量"-->
|
|
|
|
|
<!-- 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="amount"-->
|
|
|
|
|
<!-- width="100"-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- label="生产日期"-->
|
|
|
|
|
<!-- prop="productDate"-->
|
|
|
|
|
<!-- width="100"-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
<!-- <el-table-column-->
|
|
|
|
|
<!-- label="失效日期"-->
|
|
|
|
|
<!-- prop="expireDate"-->
|
|
|
|
|
<!-- width="100"-->
|
|
|
|
|
<!-- ></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="注册/备案号"-->
|
|
|
|
|
<!-- width="160"-->
|
|
|
|
|
<!-- prop="certCode"-->
|
|
|
|
|
<!-- show-overflow-tooltip-->
|
|
|
|
|
<!-- ></el-table-column>-->
|
|
|
|
|
|
|
|
|
|
<!-- </el-table>-->
|
|
|
|
|
<!-- <pagination-->
|
|
|
|
|
<!-- v-show="codeTotal > 0"-->
|
|
|
|
|
<!-- :total="codeTotal"-->
|
|
|
|
|
<!-- :page.sync="codeQuery.page"-->
|
|
|
|
|
<!-- :limit.sync="codeQuery.limit"-->
|
|
|
|
|
<!-- @pagination="getCodeDetailLists"-->
|
|
|
|
|
<!-- />-->
|
|
|
|
|
<!-- </el-tab-pane>-->
|
|
|
|
|
<!--</el-tabs>-->
|
|
|
|
|
<el-tabs type="border-card" style="margin: 15px">
|
|
|
|
|
<!--单据业务详情-->
|
|
|
|
|
<el-tab-pane>
|
|
|
|
|
<span slot="label">单据 {{ input.billNo }}-单据详情</span>
|
|
|
|
|
<el-table
|
|
|
|
|
v-loading="bizDetailLoading"
|
|
|
|
|
:data="codeDetailList"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
border
|
|
|
|
|
@current-change="BizDetailInv"
|
|
|
|
|
@selection-change="handleSelectionUdiChange"
|
|
|
|
|
row-key="id"
|
|
|
|
|
highlight-current-row
|
|
|
|
|
>
|
|
|
|
|
<el-table-column type="selection" width="55"></el-table-column>
|
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="发票代码"
|
|
|
|
|
prop="invoiceCodes"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="物资名称"
|
|
|
|
|
prop="coName"
|
|
|
|
|
width="150"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></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="数量"
|
|
|
|
|
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="amount"
|
|
|
|
|
width="100"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="生产日期"
|
|
|
|
|
prop="productDate"
|
|
|
|
|
width="100"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="失效日期"
|
|
|
|
|
prop="expireDate"
|
|
|
|
|
width="100"
|
|
|
|
|
></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="注册/备案号"
|
|
|
|
|
width="160"
|
|
|
|
|
prop="certCode"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
|
|
</el-table>
|
|
|
|
|
<pagination
|
|
|
|
|
v-show="codeTotal > 0"
|
|
|
|
|
:total="codeTotal"
|
|
|
|
|
:page.sync="codeQuery.page"
|
|
|
|
|
:limit.sync="codeQuery.limit"
|
|
|
|
|
@pagination="getCodeDetailLists"
|
|
|
|
|
/>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
</el-tabs>
|
|
|
|
|
|
|
|
|
|
<el-image-viewer
|
|
|
|
|
v-if="imgViewerVisible"
|
|
|
|
@ -308,7 +308,7 @@ export default {
|
|
|
|
|
return {
|
|
|
|
|
check: false,
|
|
|
|
|
idList: [],
|
|
|
|
|
// invoiceRow: [],
|
|
|
|
|
invoiceRow: [],
|
|
|
|
|
statusCode: null,
|
|
|
|
|
choiceFile: "选取文件",
|
|
|
|
|
fileList: [],
|
|
|
|
@ -485,10 +485,10 @@ export default {
|
|
|
|
|
components: {AcceptOrder, DialogInvoice, InvoiceRegister, ElImageViewer},
|
|
|
|
|
methods: {
|
|
|
|
|
onSubmit() {
|
|
|
|
|
// if (this.invoiceRow == null || this.invoiceRow.length == 0) {
|
|
|
|
|
// this.$message.error("请选择要登记的物资! ");
|
|
|
|
|
// return false;
|
|
|
|
|
// }
|
|
|
|
|
if (this.invoiceRow == null || this.invoiceRow.length == 0) {
|
|
|
|
|
this.$message.error("请选择要登记的物资! ");
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (this.$isBlank(this.inputQuery.invoiceEncode)) {
|
|
|
|
|
this.$message.error("发票编码不能为空!");
|
|
|
|
|
return;
|
|
|
|
|