|
|
|
@ -77,6 +77,8 @@ |
|
|
|
|
|
|
|
|
|
>批量导入 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button plain size="small" class="btnleft" type="primary" @click="orderRead">订单读入 |
|
|
|
|
</el-button> |
|
|
|
|
</el-row> |
|
|
|
|
<!-- @sort-change="handleSort" |
|
|
|
|
@filter-change="filterHandler" |
|
|
|
@ -458,6 +460,62 @@ |
|
|
|
|
<el-button plain size="small" @click="djzhModel = false;">取消</el-button> |
|
|
|
|
<el-button plain size="small" type="primary" @click="djzhSure">确定</el-button> |
|
|
|
|
</div> |
|
|
|
|
</el-dialog> |
|
|
|
|
<!-- 订单读入弹窗 --> |
|
|
|
|
<el-dialog |
|
|
|
|
class="orderreadIndialogStyle" |
|
|
|
|
title="订单读入" |
|
|
|
|
:visible.sync="orderreadIndialogShow" |
|
|
|
|
center |
|
|
|
|
width="700px" |
|
|
|
|
> |
|
|
|
|
<el-form |
|
|
|
|
:inline="true" |
|
|
|
|
:model="orderreadInForm" |
|
|
|
|
label-width="100px" |
|
|
|
|
align="left" |
|
|
|
|
> |
|
|
|
|
<el-row> |
|
|
|
|
<!-- <el-col :span="12"> |
|
|
|
|
<el-form-item label="公司代码:"> |
|
|
|
|
<el-input |
|
|
|
|
disabled |
|
|
|
|
v-model="orderreadInForm.bukrs" |
|
|
|
|
placeholder="请输入公司代码" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> --> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="发票日期:" class="reasinpicW"> |
|
|
|
|
<el-date-picker |
|
|
|
|
type="date" |
|
|
|
|
:editable="false" |
|
|
|
|
clearable |
|
|
|
|
v-model="orderreadInForm.fkdat" |
|
|
|
|
value-format="yyyy-MM-dd" |
|
|
|
|
:picker-options="pickerOptions" |
|
|
|
|
placeholder="请选择发票日期" |
|
|
|
|
></el-date-picker> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="单据号:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="orderreadInForm.vbeln" |
|
|
|
|
placeholder="请输入单据号" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
</el-form> |
|
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
|
<el-button plain size="small" @click="orderreadIndialogShow = false"> |
|
|
|
|
取消 |
|
|
|
|
</el-button> |
|
|
|
|
<el-button plain size="small" type="primary" @click="sureRead"> |
|
|
|
|
读入 |
|
|
|
|
</el-button> |
|
|
|
|
</span> |
|
|
|
|
</el-dialog> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
@ -469,7 +527,7 @@ import setting from "@common/mixins/setting"; |
|
|
|
|
import { |
|
|
|
|
batchInvoiceHttp, |
|
|
|
|
mergeCheckHttp, |
|
|
|
|
mergeHttp, |
|
|
|
|
mergeHttp,orderReadApi, |
|
|
|
|
queryAccessPointListHttp, queryFpfsBySldIdHttp, queryOrderListHttp, |
|
|
|
|
rollbackHttp, updateInvoiceQutoHttp, |
|
|
|
|
updateOrderStatusHttp, |
|
|
|
@ -768,6 +826,12 @@ export default { |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
orderreadIndialogShow: false, |
|
|
|
|
orderreadInForm:{ |
|
|
|
|
bukrs:'', |
|
|
|
|
fkdat:'', |
|
|
|
|
vbeln:'' |
|
|
|
|
}, |
|
|
|
|
chooseVal: [], |
|
|
|
|
hbddDisabled: false, |
|
|
|
|
pageInvoiceItemList: [], |
|
|
|
@ -1442,6 +1506,37 @@ export default { |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
orderRead() { |
|
|
|
|
this.orderreadInForm = { |
|
|
|
|
bukrs:this.$store.state.system.userInfo.dept.enterpriseNumbers, |
|
|
|
|
fkdat:'', |
|
|
|
|
vbeln:'' |
|
|
|
|
}, |
|
|
|
|
this.orderreadIndialogShow = true; //弹窗显隐 |
|
|
|
|
}, |
|
|
|
|
sureRead() { |
|
|
|
|
showLoading() |
|
|
|
|
orderReadApi(JSON.stringify(this.orderreadInForm)).then((response) => { |
|
|
|
|
if (response.code == "0000") { |
|
|
|
|
this.$message({ |
|
|
|
|
dangerouslyUseHTMLString: true,//开启HTML展示 |
|
|
|
|
message: JSON.stringify(response.data)?.replace(/,/g,' <br/><br/> '), |
|
|
|
|
duration:12000,//两秒自动关闭 |
|
|
|
|
showClose: true,//自定义关闭 |
|
|
|
|
type: "success", |
|
|
|
|
}); |
|
|
|
|
this.orderreadIndialogShow = false; |
|
|
|
|
this.orderList(); |
|
|
|
|
hideLoading() |
|
|
|
|
} else { |
|
|
|
|
this.$message({ |
|
|
|
|
message: response.msg, |
|
|
|
|
type: "error", |
|
|
|
|
}); |
|
|
|
|
hideLoading() |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
queryQdTaxAccountFn(xhfNsrsbh){ |
|
|
|
|
let data = { |
|
|
|
|
nsrsbh: xhfNsrsbh, |
|
|
|
|