fixed bug

This commit is contained in:
chenjianan
2019-06-14 18:08:59 +08:00
parent edd3571ef8
commit 208d06a023
3 changed files with 15 additions and 10 deletions

View File

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