快速修改价格

This commit is contained in:
chenjianan
2019-06-19 09:36:07 +08:00
parent 270cf138fc
commit 163a63ecba
3 changed files with 73 additions and 16 deletions

View File

@@ -72,6 +72,17 @@ export function savePrice(price, num1, num2, num3, num4, num5) {
}
})
}
// 实时保存备注
export function saveRemark(price, num1, num2, num3, num4, num5) {
return request({
url: '',
method: 'post',
data: {
type: '4',
name: `update 采购管理_询价单明细_视图 set 备注 = ${price} where isnull(物料流水号,0) = isnull('${num1}',0) and 询价单流水号 = ${num2} and isnull(零件名称,'') = '${num3}' and isnull(零件图号,'') = '${num4}' and (isnull(规格,'') = '${num5}' or isnull(物料规格,'') = '${num5}')`
}
})
}
// 实时保存合同头
export function saveContractHeader(...params) {
return request({