'123'
This commit is contained in:
parent
c4d7963465
commit
06048f7d93
|
@ -1,11 +0,0 @@
|
||||||
#for tests only !
|
|
||||||
#Wed Jun 26 10:28:59 CST 2024
|
|
||||||
jco.destination.pool_capacity=10
|
|
||||||
jco.client.lang=ZH
|
|
||||||
jco.client.ashost=172.19.0.125
|
|
||||||
jco.client.saprouter=
|
|
||||||
jco.client.user=RFC
|
|
||||||
jco.client.sysnr=00
|
|
||||||
jco.destination.peak_limit=10
|
|
||||||
jco.client.passwd=654321
|
|
||||||
jco.client.client=800
|
|
|
@ -168,17 +168,19 @@ public class QuotController extends BaseController
|
||||||
* 获取报价详细信息-整单通过
|
* 获取报价详细信息-整单通过
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('quot:quot:allPass')")
|
@PreAuthorize("@ss.hasPermi('quot:quot:allPass')")
|
||||||
@GetMapping(value = "/allPass/{quotId}")
|
@GetMapping(value = "/allPass/{quotIds}")
|
||||||
@Log(title = "报价单-手动更新状态为通过", businessType = BusinessType.UPDATE)
|
@Log(title = "报价单-手动更新状态为通过", businessType = BusinessType.UPDATE)
|
||||||
public AjaxResult getAllPassInfo(@PathVariable("quotId") String quotId)
|
public AjaxResult getAllPassInfo(@PathVariable("quotIds") String[] quotIds)
|
||||||
{
|
{
|
||||||
Quot quot = new Quot();
|
for(String quotId:quotIds){
|
||||||
quot.setQuotId(quotId);
|
Quot quot = new Quot();
|
||||||
quot.setQuotApprovalStatus("2");// 提交状态设置为 通过
|
quot.setQuotId(quotId);
|
||||||
quot.setQuotQuotationDate(DateUtils.getNowDate());//报价单-报价日期设置为 当前日期
|
quot.setQuotApprovalStatus("2");// 提交状态设置为 通过
|
||||||
quot.setQuotCheckUserName(getUsername());
|
quot.setQuotQuotationDate(DateUtils.getNowDate());//报价单-报价日期设置为 当前日期
|
||||||
quotService.updateQuotAllPassInfo(quot);
|
quot.setQuotCheckUserName(getUsername());
|
||||||
return success(quot);
|
quotService.updateQuotAllPassInfo(quot);
|
||||||
|
}
|
||||||
|
return success();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -129,7 +129,7 @@
|
||||||
plain
|
plain
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
size="mini"
|
size="mini"
|
||||||
:disabled="single"
|
:disabled="multiple"
|
||||||
@click="handleAllPass"
|
@click="handleAllPass"
|
||||||
v-hasPermi="['quot:quot:allPass']"
|
v-hasPermi="['quot:quot:allPass']"
|
||||||
>整单通过</el-button>
|
>整单通过</el-button>
|
||||||
|
@ -1369,10 +1369,10 @@ export default {
|
||||||
// 整单通过
|
// 整单通过
|
||||||
handleAllPass(row) {
|
handleAllPass(row) {
|
||||||
this.reset();
|
this.reset();
|
||||||
const quotId = row.quotId || this.ids
|
const quotIds = row.quotId || this.ids
|
||||||
this.$modal.confirm('是否确认修订所选报价单且更新状态为通过?').then(function() {
|
this.$modal.confirm('是否确认修订所选报价单且更新状态为通过?').then(function() {
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
getAllPass(quotId).then(response => {
|
getAllPass(quotIds).then(response => {
|
||||||
this.$modal.msgSuccess("更改成功");
|
this.$modal.msgSuccess("更改成功");
|
||||||
this.getList();
|
this.getList();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue