|
|
@ -1407,9 +1407,9 @@ export default { |
|
|
|
item["zhu"] = Number(element.jine) / 2 |
|
|
|
let zhonghaomaArr = `${zhonghaoma}`.split("") |
|
|
|
let xiangmuArr = `${element.value}`.split("") |
|
|
|
zhonghaomaArr = _.uniq(zhonghaomaArr) |
|
|
|
xiangmuArr = _.uniq(xiangmuArr) |
|
|
|
if (_.difference(zhonghaomaArr, xiangmuArr).length === 0) { |
|
|
|
xiangmuArr = xiangmuArr.sort() |
|
|
|
zhonghaomaArr = zhonghaomaArr.sort() |
|
|
|
if (xiangmuArr[0] === zhonghaomaArr[0] && xiangmuArr[1] === zhonghaomaArr[1] && xiangmuArr[2] === zhonghaomaArr[2]) { |
|
|
|
item["zhong"] = Number(element.jine) * Number(formData[element.type]) |
|
|
|
item["zhongzhu"] = 1 |
|
|
|
item["pei"] = Number(element.jine) * Number(formData[element.type]) |
|
|
|